[ovirt-users] 回复:Re: oVirt non-self-hosted HA

2018-04-03 Thread dhy336
Why not to use hosted-engine for engine HA?  I am wanting to solute engine HA, 
But i do not know how to select haproxy/keepalived  and hosted engine.
--
 原始邮件 -
发件人:Tom 
收件人:Yaniv Kaul 
抄送人:users 
主题:Re: [ovirt-users] oVirt non-self-hosted HA
日期:2018年04月04日 05点45分



Sent from my iPhone
On Apr 3, 2018, at 9:32 AM, Yaniv Kaul  wrote:



On Tue, Apr 3, 2018 at 3:12 PM, TomK  wrote:
Hey Guy's,



If I'm looking to setup the oVirt engine in an HA configuration off the 
physical servers hosting my VM's (non self hosted), what are my options here?



I want to setup two to four active oVirt engine instances elsewhere and handle 
the HA via something like haproxy / keepalived to keep the entire experience 
seamless to the user.

You will need to set up the oVirt engine service as well as the PG database 
(and ovirt-engine-dwhd service and any other service we run next to the engine) 
as highly available module.In pacemaker[1], for example. You'll need to ensure 
configuration is also sync'ed between nodes, etc.Y.
So already have one ovirt engine setup separately on a vm that manages two 
remote physical hosts.  So familiar with the single host approach which I would 
simply replicate.  At least that’s the idea anyway.  Could you please expand a 
bit on the highly available module and  syncing the config between hosts?
Cheers,Tom

[1] https://clusterlabs.org/quickstart-redhat.html

From what I've seen in oVirt, that seems to be possible without the two oVirt 
engines even knowing each other's existence but is it something anyone has ever 
done?  Any recommendations in this case?



Having settings replicated would be a bonus but I would be comfortable if they 
weren't and I handle that myself.



-- 

Cheers,

Tom K.

-



Living on earth is expensive, but it includes a free trip around the sun.



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users




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


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread Tom


Sent from my iPhone

> On Apr 3, 2018, at 9:32 AM, Yaniv Kaul  wrote:
> 
> 
> 
>> On Tue, Apr 3, 2018 at 3:12 PM, TomK  wrote:
>> Hey Guy's,
>> 
>> If I'm looking to setup the oVirt engine in an HA configuration off the 
>> physical servers hosting my VM's (non self hosted), what are my options here?
>> 
>> I want to setup two to four active oVirt engine instances elsewhere and 
>> handle the HA via something like haproxy / keepalived to keep the entire 
>> experience seamless to the user.
> 
> You will need to set up the oVirt engine service as well as the PG database 
> (and ovirt-engine-dwhd service and any other service we run next to the 
> engine) as highly available module.
> In pacemaker[1], for example. 
> You'll need to ensure configuration is also sync'ed between nodes, etc.
> Y.

So already have one ovirt engine setup separately on a vm that manages two 
remote physical hosts.  So familiar with the single host approach which I would 
simply replicate.  At least that’s the idea anyway.  Could you please expand a 
bit on the highly available module and  syncing the config between hosts?

Cheers,
Tom

> 
> [1] https://clusterlabs.org/quickstart-redhat.html
>> 
>> From what I've seen in oVirt, that seems to be possible without the two 
>> oVirt engines even knowing each other's existence but is it something anyone 
>> has ever done?  Any recommendations in this case?
>> 
>> Having settings replicated would be a bonus but I would be comfortable if 
>> they weren't and I handle that myself.
>> 
>> -- 
>> Cheers,
>> Tom K.
>> -
>> 
>> Living on earth is expensive, but it includes a free trip around the sun.
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine Debug Help

2018-04-03 Thread Simone Tiraboschi
On Tue, Apr 3, 2018 at 9:46 PM, RabidCicada  wrote:

> Indeed that is the problem.  I am sshing as root
>
> The only possible explanations I have for this working in the ovirt
> autmated testing setup are:
>
>- Either the ovirt automated tests must be using a host inventory file
>with become: true?
>- The inventory file ssh credentials happen to be to vdsm user? (And
>become is just not doing anything)
>- Some other janky thing that allows the access
>
> Yes, you are absolutely right:
we are running the CI suite with no_root_squash
https://github.com/oVirt/ovirt-system-tests/blob/master/common/deploy-scripts/setup_storage_nfs_el7.sh#L17
while we recommend anonuid=36,anongid=36,all_squash
https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/
and this explains why it can write as root in the CI env.

Thanks for the report!


>
> It also happens for the immediately following task `Initialize metadata
> volume` and many more following that task.
>
> I will correct and then open a pull request to fix with your input that
> you believe it's a problem.
>
> ~Kyle
>
>
> On Tue, Apr 3, 2018 at 3:08 PM, RabidCicada  wrote:
>
>> Alright.  By differential comparing to successfull postgres-command
>> sudo-becomes.  It looks like the salient difference is that `Copy
>> configuration archive to storage` is missing become:true.  Testing now.
>>
>> The similar postgres commands have become:true while this one does not.
>>
>> ~Kyle
>>
>> On Tue, Apr 3, 2018 at 1:19 PM, Simone Tiraboschi 
>> wrote:
>>
>>>
>>>
>>> On Tue, Apr 3, 2018 at 5:21 PM, RabidCicada 
>>> wrote:
>>>
 I've attached a full debug packet below.  I include the log file from
 ovirt-hosted-engine-setup.  I include relevant cmd line info.  I include
 info from the command line where epdb has a breakpoint in playbook.py from
 ansible itself.  I also include info from commands I ran after it failed.
 I also include attached the ferried over script in /root/.ansible/tmp that
 is run.


 *Output on cmd line:*
 [ INFO  ] TASK [Copy configuration archive to storage]
 [ ERROR ] fatal: [localhost]: FAILED! => {
  "changed": true,
  "cmd": [
  "dd",
  "bs=20480",
  "count=1",
  "oflag=direct",
  "if=/var/tmp/localvmbCDQIR/5e
 f881f5-c992-48d2-b969-a0b6156bdf7c",
  "of=/rhev/data-center/mnt/nod
 e.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/image
 s/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b9
 69-a0b6156bdf7c"
  ],
  "delta": "0:00:00.004336",
  "end": "2018-04-03 15:01:55.581823",
  "invocation": {
  "module_args": {
  "_raw_params": "dd bs=20480 count=1 oflag=direct
 if=\"/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"
 of=\"/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d
 3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c1
 79313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"",
  "_uses_shell": false,
  "chdir": null,
  "creates": null,
  "executable": null,
  "removes": null,
  "stdin": null,
  "warn": true
  }
  },
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-04-03 15:01:55.577487",
  "stderr": "dd: failed to open
 ‘/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3-4e
 38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c17931
 3a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’: Permission denied",
  "stderr_lines": [
  "dd: failed to open ‘/rhev/data-center/mnt/node.lo
 cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
 Permission denied"
  ],
  "stdout": "",
  "stdout_lines": []
  }
 [ ERROR ] Failed to execute stage 'Closing up': Failed executing
 ansible-playbook

>>>
>>> In the playbook we have on that task:
>>> become_user: vdsm
>>> become_method: sudo
>>>
>>> but I fear it got somehow ignored.
>>> I'll investigate it.
>>>
>>>

 *Output from ansible epdb tracepoint:*

 Using module file /usr/lib/python2.7/site-packag
 es/ansible/modules/commands/command.py
  ESTABLISH LOCAL CONNECTION FOR USER: root
  EXEC /bin/sh -c 'echo ~ && sleep 0'
  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo
 

Re: [ovirt-users] hosted-engine Debug Help

2018-04-03 Thread RabidCicada
Indeed that is the problem.  I am sshing as root

The only possible explanations I have for this working in the ovirt
autmated testing setup are:

   - Either the ovirt automated tests must be using a host inventory file
   with become: true?
   - The inventory file ssh credentials happen to be to vdsm user? (And
   become is just not doing anything)
   - Some other janky thing that allows the access


It also happens for the immediately following task `Initialize metadata
volume` and many more following that task.

I will correct and then open a pull request to fix with your input that you
believe it's a problem.

~Kyle


On Tue, Apr 3, 2018 at 3:08 PM, RabidCicada  wrote:

> Alright.  By differential comparing to successfull postgres-command
> sudo-becomes.  It looks like the salient difference is that `Copy
> configuration archive to storage` is missing become:true.  Testing now.
>
> The similar postgres commands have become:true while this one does not.
>
> ~Kyle
>
> On Tue, Apr 3, 2018 at 1:19 PM, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Tue, Apr 3, 2018 at 5:21 PM, RabidCicada 
>> wrote:
>>
>>> I've attached a full debug packet below.  I include the log file from
>>> ovirt-hosted-engine-setup.  I include relevant cmd line info.  I include
>>> info from the command line where epdb has a breakpoint in playbook.py from
>>> ansible itself.  I also include info from commands I ran after it failed.
>>> I also include attached the ferried over script in /root/.ansible/tmp that
>>> is run.
>>>
>>>
>>> *Output on cmd line:*
>>> [ INFO  ] TASK [Copy configuration archive to storage]
>>> [ ERROR ] fatal: [localhost]: FAILED! => {
>>>  "changed": true,
>>>  "cmd": [
>>>  "dd",
>>>  "bs=20480",
>>>  "count=1",
>>>  "oflag=direct",
>>>  "if=/var/tmp/localvmbCDQIR/5e
>>> f881f5-c992-48d2-b969-a0b6156bdf7c",
>>>  "of=/rhev/data-center/mnt/nod
>>> e.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/image
>>> s/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b9
>>> 69-a0b6156bdf7c"
>>>  ],
>>>  "delta": "0:00:00.004336",
>>>  "end": "2018-04-03 15:01:55.581823",
>>>  "invocation": {
>>>  "module_args": {
>>>  "_raw_params": "dd bs=20480 count=1 oflag=direct
>>> if=\"/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"
>>> of=\"/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d
>>> 3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c1
>>> 79313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"",
>>>  "_uses_shell": false,
>>>  "chdir": null,
>>>  "creates": null,
>>>  "executable": null,
>>>  "removes": null,
>>>  "stdin": null,
>>>  "warn": true
>>>  }
>>>  },
>>>  "msg": "non-zero return code",
>>>  "rc": 1,
>>>  "start": "2018-04-03 15:01:55.577487",
>>>  "stderr": "dd: failed to open ‘/rhev/data-center/mnt/node.lo
>>> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
>>> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
>>> Permission denied",
>>>  "stderr_lines": [
>>>  "dd: failed to open ‘/rhev/data-center/mnt/node.lo
>>> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
>>> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
>>> Permission denied"
>>>  ],
>>>  "stdout": "",
>>>  "stdout_lines": []
>>>  }
>>> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
>>> ansible-playbook
>>>
>>
>> In the playbook we have on that task:
>> become_user: vdsm
>> become_method: sudo
>>
>> but I fear it got somehow ignored.
>> I'll investigate it.
>>
>>
>>>
>>> *Output from ansible epdb tracepoint:*
>>>
>>> Using module file /usr/lib/python2.7/site-packag
>>> es/ansible/modules/commands/command.py
>>>  ESTABLISH LOCAL CONNECTION FOR USER: root
>>>  EXEC /bin/sh -c 'echo ~ && sleep 0'
>>>  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo
>>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" && echo
>>> ansible-tmp-1522767715.36-81496549401055="` echo
>>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" ) &&
>>> sleep 0'
>>>  PUT /tmp/tmpGMGdjh TO /root/.ansible/tmp/ansible-tmp
>>> -1522767715.36-81496549401055/command.py
>>>  EXEC /bin/sh -c 'chmod u+x 
>>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/
>>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/command.py
>>> && sleep 0'
>>>  EXEC /bin/sh -c '/usr/bin/python
>>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/command.py
>>> && sleep 0'
>>>

Re: [ovirt-users] hosted-engine Debug Help

2018-04-03 Thread RabidCicada
Alright.  By differential comparing to successfull postgres-command
sudo-becomes.  It looks like the salient difference is that `Copy
configuration archive to storage` is missing become:true.  Testing now.

The similar postgres commands have become:true while this one does not.

~Kyle

On Tue, Apr 3, 2018 at 1:19 PM, Simone Tiraboschi 
wrote:

>
>
> On Tue, Apr 3, 2018 at 5:21 PM, RabidCicada  wrote:
>
>> I've attached a full debug packet below.  I include the log file from
>> ovirt-hosted-engine-setup.  I include relevant cmd line info.  I include
>> info from the command line where epdb has a breakpoint in playbook.py from
>> ansible itself.  I also include info from commands I ran after it failed.
>> I also include attached the ferried over script in /root/.ansible/tmp that
>> is run.
>>
>>
>> *Output on cmd line:*
>> [ INFO  ] TASK [Copy configuration archive to storage]
>> [ ERROR ] fatal: [localhost]: FAILED! => {
>>  "changed": true,
>>  "cmd": [
>>  "dd",
>>  "bs=20480",
>>  "count=1",
>>  "oflag=direct",
>>  "if=/var/tmp/localvmbCDQIR/5e
>> f881f5-c992-48d2-b969-a0b6156bdf7c",
>>  "of=/rhev/data-center/mnt/nod
>> e.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/image
>> s/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-
>> b969-a0b6156bdf7c"
>>  ],
>>  "delta": "0:00:00.004336",
>>  "end": "2018-04-03 15:01:55.581823",
>>  "invocation": {
>>  "module_args": {
>>  "_raw_params": "dd bs=20480 count=1 oflag=direct
>> if=\"/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"
>> of=\"/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d
>> 3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c1
>> 79313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"",
>>  "_uses_shell": false,
>>  "chdir": null,
>>  "creates": null,
>>  "executable": null,
>>  "removes": null,
>>  "stdin": null,
>>  "warn": true
>>  }
>>  },
>>  "msg": "non-zero return code",
>>  "rc": 1,
>>  "start": "2018-04-03 15:01:55.577487",
>>  "stderr": "dd: failed to open ‘/rhev/data-center/mnt/node.lo
>> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
>> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
>> Permission denied",
>>  "stderr_lines": [
>>  "dd: failed to open ‘/rhev/data-center/mnt/node.lo
>> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
>> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
>> Permission denied"
>>  ],
>>  "stdout": "",
>>  "stdout_lines": []
>>  }
>> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
>> ansible-playbook
>>
>
> In the playbook we have on that task:
> become_user: vdsm
> become_method: sudo
>
> but I fear it got somehow ignored.
> I'll investigate it.
>
>
>>
>> *Output from ansible epdb tracepoint:*
>>
>> Using module file /usr/lib/python2.7/site-packag
>> es/ansible/modules/commands/command.py
>>  ESTABLISH LOCAL CONNECTION FOR USER: root
>>  EXEC /bin/sh -c 'echo ~ && sleep 0'
>>  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo
>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" && echo
>> ansible-tmp-1522767715.36-81496549401055="` echo
>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" ) &&
>> sleep 0'
>>  PUT /tmp/tmpGMGdjh TO /root/.ansible/tmp/ansible-tmp
>> -1522767715.36-81496549401055/command.py
>>  EXEC /bin/sh -c 'chmod u+x 
>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/
>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/command.py
>> && sleep 0'
>>  EXEC /bin/sh -c '/usr/bin/python
>> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055/command.py
>> && sleep 0'
>> to retry, use: --limit @/usr/share/ovirt-hosted-engin
>> e-setup/ansible/create_target_vm.retry
>>
>> The above command.py is the on I have attached as problematic_command.py
>>
>> *Investigation After Failure:*
>> [root@node ~]# ls -al '/rhev/data-center/mnt/node.lo
>> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
>> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c'
>> -rw-rw. 1 vdsm kvm 20480 Apr  3 15:01 /rhev/data-center/mnt/node.loc
>> al:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c55
>> 10e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c
>>
>> sudo -u vdsm dd bs=20480 count=1 oflag=direct
>> if="/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c"
>> of="/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3
>> 

Re: [ovirt-users] ovirt snapshot issue

2018-04-03 Thread Yaniv Kaul
On Sun, Apr 1, 2018 at 9:04 PM, Alex K  wrote:

> Checking further the logs I see this error given from libvirt of the host
> that has the guest VM running:
>
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.298+: 1862: warning :
> qemuDomainObjBeginJobInternal:3847 : Cannot start job (query, none) for
> domain Data-Server; current job is (async nested, snapshot) owned by (1863
> remoteDispatchDomainSnapshotCreateXML, 1863 
> remoteDispatchDomainSnapshotCreateXML)
> for (39s, 41s)
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.299+: 1862: error :
> qemuDomainObjBeginJobInternal:3859 : Timed out during operation: cannot
> acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)
> Apr  1 17:53:57 v0 journal: vdsm Executor WARN Worker blocked:  name=jsonrpc/3 running  u'vmID': u'6bdb3d02-cc33-4019-97cd-7447aecc1e02', u'snapDrives':
> [{u'baseVolumeID': u'adfabed5-451b-4f46-b22a-45f720b06110', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'cc0d0772-924c-46db-8ad6-a2b0897c313f', u'imageID':
> u'7eeadedc-f247-4a31-840d-4de622bf3541'}, {u'baseVolumeID':
> u'0d960c12-3bcf-4918-896d-bd8e68b5278b', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'590a6bdd-a9e2-444e-87bc-721c5f8586eb', u'imageID':
> u'da0e4111-6bbe-43cb-bf59-db5fbf5c3e38'}]}, 'jsonrpc': '2.0', 'method':
> u'VM.snapshot', 'id': u'be7912e6-ba3d-4357-8ba1-abe40825acf1'} at
> 0x3bf84d0> timeout=60, duration=60 at 0x3bf8050> task#=416 at 0x20d7f90>
>
>
> Immediately after above the engine reports the VM as unresponsive.
>

If it's reproducible, it'd be great if you could:
1. Run libvirt with debug logs
2. Get a dump of libvirt when this happens (with gstack for example).
3. File a bug on libvirt.

Thanks,
Y.


> The SPM host does not log any issues.
>
> In the same time, the 3 hosts are fairly idle with only one running guest
> VM. The gluster traffic is dedicated to a separate Gbit NIC of the servers
> (dedicated VLAN) while the management network is on a separate network. The
> gluster traffic does not exceed 40 Mbps during the snapshot operation.
> Can't understand why libvirt is logging timeout.
>
> Alex
>
> On Thu, Mar 29, 2018 at 9:42 PM, Alex K  wrote:
>
>> Any idea with this issue?
>> I am still trying to understand what may be causing this issue.
>>
>> Many thanx for any assistance.
>>
>> Alex
>>
>> On Wed, Mar 28, 2018 at 10:06 AM, Yedidyah Bar David 
>> wrote:
>>
>>> On Tue, Mar 27, 2018 at 3:38 PM, Sandro Bonazzola 
>>> wrote:
>>>


 2018-03-27 14:34 GMT+02:00 Alex K :

> Hi All,
>
> Any idea on the below?
>
> I am using oVirt Guest Tools 4.2-1.el7.centos for the VM.
> The Window 2016 server VM (which it the one with the relatively big
> disks: 500 GB) it is consistently rendered unresponsive when trying to get
> a snapshot.
> I amy provide any other additional logs if needed.
>

 Adding some people to the thread

>>>
>>> Adding more people for this part.
>>>
>>>



>
> Alex
>
> On Sun, Mar 25, 2018 at 7:30 PM, Alex K 
> wrote:
>
>> Hi folks,
>>
>> I am facing frequently the following issue:
>>
>> On some large VMs (Windows 2016 with two disk drives, 60GB and 500GB)
>> when attempting to create a snapshot of the VM, the VM becomes
>> unresponsive.
>>
>> The errors that I managed to collect were:
>>
>> vdsm error at host hosting the VM:
>> 2018-03-25 14:40:13,442+ WARN  (vdsm.Scheduler) [Executor] Worker
>> blocked: > {u'frozen': False, u'vmID': u'a5c761a2-41cd-40c2-b65f-f3819293e8a4',
>> u'snapDrives': [{u'baseVolumeID': 
>> u'2a33e585-ece8-4f4d-b45d-5ecc9239200e',
>> u'domainID': u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'e9a01ebd-83dd-40c3-8c83-5302b0d15e04', u'imageID':
>> u'c75b8e93-3067-4472-bf24-dafada224e4d'}, {u'baseVolumeID':
>> u'3fb2278c-1b0d-4677-a529-99084e4b08af', u'domainID':
>> u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'78e6b6b1-2406-4393-8d92-831a6d4f1337', u'imageID':
>> u'd4223744-bf5d-427b-bec2-f14b9bc2ef81'}]}, 'jsonrpc': '2.0',
>> 'method': u'VM.snapshot', 'id': u'89555c87-9701-4260-9952-789965261e65'}
>> at 0x7fca4004cc90> timeout=60, duration=60 at 0x39d8210> task#=155842 at
>> 0x2240e10> (executor:351)
>> 2018-03-25 14:40:15,261+ INFO  (jsonrpc/3)
>> [jsonrpc.JsonRpcServer] RPC call VM.getStats failed (error 1) in 0.01
>> seconds (__init__:539)
>> 2018-03-25 14:40:17,471+ WARN  (jsonrpc/5) [virt.vm]
>> (vmId='a5c761a2-41cd-40c2-b65f-f3819293e8a4') monitor became
>> unresponsive (command timeout, age=67.910001) (vm:5132)
>>
>> engine.log:
>> 2018-03-25 14:40:19,875Z WARN  [org.ovirt.engine.core.dal.dbb
>> 

Re: [ovirt-users] ovirt engine HA

2018-04-03 Thread Alex K
In case you need HA for the engine you need to deploy it to other hosts
also through the GUI.


On Tue, Apr 3, 2018 at 4:47 PM, FERNANDO FREDIANI  wrote:

> Is it enough to deploy the Self-Hosted engine in just one Host of the
> cluster or is it necessary to repeat the process in each of the nodes that
> must be able to run it ?
>
> Thanks
> Fernando
>
> 2018-04-03 2:01 GMT-03:00 Vincent Royer :
>
>> Same thing, the engine in this case is "self-hosted", as in, it runs in a
>> VM hosted on the cluster that it is managing.  I am a beginner here, but
>> from my understanding, each node is always checking on the health of the
>> engine VM.  If the engine is missing (ie, the host running it has gone
>> down), then another available, healthy host will spawn up the engine and
>> you will regain access.
>>
>> In my experience this has worked very reliably.  I have 2 hosts, both are
>> "able" to run the engine VM.  If I take one host down, I am not able to
>> load the engine GUI.  But if I wait a few minutes, then I regain access,
>> and see that the engine is now running on the remaining healthy host.
>>
>> *Vincent Royer*
>> *778-825-1057 <(778)%20825-1057>*
>>
>>
>> 
>> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
>>
>>
>>
>>
>> On Mon, Apr 2, 2018 at 6:07 PM,  wrote:
>>
>>> what different between self-hosted engine and  hosted engine? I find a
>>> project ovirt-hosted-engine-ha
>>>   https:
>>> //github.com/oVirt/ovirt-hosted-engine-ha
>>> - 原始邮件 -
>>> 发件人:Vincent Royer 
>>> 收件人:dhy...@sina.com
>>> 抄送人:users 
>>> 主题:Re: [ovirt-users] ovirt engine HA
>>> 日期:2018年04月03日 08点57分
>>>
>>> If your node running self-hosted engine crashes, the hosted engine will
>>> be started up on another node. It just takes a few minutes for this all to
>>> happen, but it works reliably in my experience.
>>>
>>>
>>>
>>> On Mon, Apr 2, 2018 at 5:42 PM,  wrote:
>>>
>>> How to solute ovirt engine HA, I have a three node cluster, one of is
>>> deploy engine and node , others are node, if node that deplay engine and
>>>  node crash, How to ensure my server is up?
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt snapshot issue

2018-04-03 Thread Alex K
Hi All,

Would appreciate for any ideas what to check further on the issue.

Alex

On Sun, Apr 1, 2018 at 9:04 PM, Alex K  wrote:

> Checking further the logs I see this error given from libvirt of the host
> that has the guest VM running:
>
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.298+: 1862: warning :
> qemuDomainObjBeginJobInternal:3847 : Cannot start job (query, none) for
> domain Data-Server; current job is (async nested, snapshot) owned by (1863
> remoteDispatchDomainSnapshotCreateXML, 1863 
> remoteDispatchDomainSnapshotCreateXML)
> for (39s, 41s)
> Apr  1 17:53:41 v0 libvirtd: 2018-04-01 17:53:41.299+: 1862: error :
> qemuDomainObjBeginJobInternal:3859 : Timed out during operation: cannot
> acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)
> Apr  1 17:53:57 v0 journal: vdsm Executor WARN Worker blocked:  name=jsonrpc/3 running  u'vmID': u'6bdb3d02-cc33-4019-97cd-7447aecc1e02', u'snapDrives':
> [{u'baseVolumeID': u'adfabed5-451b-4f46-b22a-45f720b06110', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'cc0d0772-924c-46db-8ad6-a2b0897c313f', u'imageID':
> u'7eeadedc-f247-4a31-840d-4de622bf3541'}, {u'baseVolumeID':
> u'0d960c12-3bcf-4918-896d-bd8e68b5278b', u'domainID':
> u'2c4b8d45-3d05-4619-9a36-1ecd199d3056', u'volumeID':
> u'590a6bdd-a9e2-444e-87bc-721c5f8586eb', u'imageID':
> u'da0e4111-6bbe-43cb-bf59-db5fbf5c3e38'}]}, 'jsonrpc': '2.0', 'method':
> u'VM.snapshot', 'id': u'be7912e6-ba3d-4357-8ba1-abe40825acf1'} at
> 0x3bf84d0> timeout=60, duration=60 at 0x3bf8050> task#=416 at 0x20d7f90>
>
>
> Immediately after above the engine reports the VM as unresponsive.
> The SPM host does not log any issues.
>
> In the same time, the 3 hosts are fairly idle with only one running guest
> VM. The gluster traffic is dedicated to a separate Gbit NIC of the servers
> (dedicated VLAN) while the management network is on a separate network. The
> gluster traffic does not exceed 40 Mbps during the snapshot operation.
> Can't understand why libvirt is logging timeout.
>
> Alex
>
> On Thu, Mar 29, 2018 at 9:42 PM, Alex K  wrote:
>
>> Any idea with this issue?
>> I am still trying to understand what may be causing this issue.
>>
>> Many thanx for any assistance.
>>
>> Alex
>>
>> On Wed, Mar 28, 2018 at 10:06 AM, Yedidyah Bar David 
>> wrote:
>>
>>> On Tue, Mar 27, 2018 at 3:38 PM, Sandro Bonazzola 
>>> wrote:
>>>


 2018-03-27 14:34 GMT+02:00 Alex K :

> Hi All,
>
> Any idea on the below?
>
> I am using oVirt Guest Tools 4.2-1.el7.centos for the VM.
> The Window 2016 server VM (which it the one with the relatively big
> disks: 500 GB) it is consistently rendered unresponsive when trying to get
> a snapshot.
> I amy provide any other additional logs if needed.
>

 Adding some people to the thread

>>>
>>> Adding more people for this part.
>>>
>>>



>
> Alex
>
> On Sun, Mar 25, 2018 at 7:30 PM, Alex K 
> wrote:
>
>> Hi folks,
>>
>> I am facing frequently the following issue:
>>
>> On some large VMs (Windows 2016 with two disk drives, 60GB and 500GB)
>> when attempting to create a snapshot of the VM, the VM becomes
>> unresponsive.
>>
>> The errors that I managed to collect were:
>>
>> vdsm error at host hosting the VM:
>> 2018-03-25 14:40:13,442+ WARN  (vdsm.Scheduler) [Executor] Worker
>> blocked: > {u'frozen': False, u'vmID': u'a5c761a2-41cd-40c2-b65f-f3819293e8a4',
>> u'snapDrives': [{u'baseVolumeID': 
>> u'2a33e585-ece8-4f4d-b45d-5ecc9239200e',
>> u'domainID': u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'e9a01ebd-83dd-40c3-8c83-5302b0d15e04', u'imageID':
>> u'c75b8e93-3067-4472-bf24-dafada224e4d'}, {u'baseVolumeID':
>> u'3fb2278c-1b0d-4677-a529-99084e4b08af', u'domainID':
>> u'888e3aae-f49f-42f7-a7fa-76700befabea', u'volumeID':
>> u'78e6b6b1-2406-4393-8d92-831a6d4f1337', u'imageID':
>> u'd4223744-bf5d-427b-bec2-f14b9bc2ef81'}]}, 'jsonrpc': '2.0',
>> 'method': u'VM.snapshot', 'id': u'89555c87-9701-4260-9952-789965261e65'}
>> at 0x7fca4004cc90> timeout=60, duration=60 at 0x39d8210> task#=155842 at
>> 0x2240e10> (executor:351)
>> 2018-03-25 14:40:15,261+ INFO  (jsonrpc/3)
>> [jsonrpc.JsonRpcServer] RPC call VM.getStats failed (error 1) in 0.01
>> seconds (__init__:539)
>> 2018-03-25 14:40:17,471+ WARN  (jsonrpc/5) [virt.vm]
>> (vmId='a5c761a2-41cd-40c2-b65f-f3819293e8a4') monitor became
>> unresponsive (command timeout, age=67.910001) (vm:5132)
>>
>> engine.log:
>> 2018-03-25 14:40:19,875Z WARN  [org.ovirt.engine.core.dal.dbb
>> roker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler2)
>> [1d737df7] EVENT_ID: VM_NOT_RESPONDING(126), 

Re: [ovirt-users] hosted-engine Debug Help

2018-04-03 Thread Simone Tiraboschi
On Tue, Apr 3, 2018 at 5:21 PM, RabidCicada  wrote:

> I've attached a full debug packet below.  I include the log file from
> ovirt-hosted-engine-setup.  I include relevant cmd line info.  I include
> info from the command line where epdb has a breakpoint in playbook.py from
> ansible itself.  I also include info from commands I ran after it failed.
> I also include attached the ferried over script in /root/.ansible/tmp that
> is run.
>
>
> *Output on cmd line:*
> [ INFO  ] TASK [Copy configuration archive to storage]
> [ ERROR ] fatal: [localhost]: FAILED! => {
>  "changed": true,
>  "cmd": [
>  "dd",
>  "bs=20480",
>  "count=1",
>  "oflag=direct",
>  "if=/var/tmp/localvmbCDQIR/5e
> f881f5-c992-48d2-b969-a0b6156bdf7c",
>  "of=/rhev/data-center/mnt/nod
> e.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/image
> s/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-
> 48d2-b969-a0b6156bdf7c"
>  ],
>  "delta": "0:00:00.004336",
>  "end": "2018-04-03 15:01:55.581823",
>  "invocation": {
>  "module_args": {
>  "_raw_params": "dd bs=20480 count=1 oflag=direct
> if=\"/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"
> of=\"/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d
> 3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-
> 24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\"",
>  "_uses_shell": false,
>  "chdir": null,
>  "creates": null,
>  "executable": null,
>  "removes": null,
>  "stdin": null,
>  "warn": true
>  }
>  },
>  "msg": "non-zero return code",
>  "rc": 1,
>  "start": "2018-04-03 15:01:55.577487",
>  "stderr": "dd: failed to open ‘/rhev/data-center/mnt/node.lo
> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
> Permission denied",
>  "stderr_lines": [
>  "dd: failed to open ‘/rhev/data-center/mnt/node.lo
> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c’:
> Permission denied"
>  ],
>  "stdout": "",
>  "stdout_lines": []
>  }
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>

In the playbook we have on that task:
become_user: vdsm
become_method: sudo

but I fear it got somehow ignored.
I'll investigate it.


>
> *Output from ansible epdb tracepoint:*
>
> Using module file /usr/lib/python2.7/site-packages/ansible/modules/
> commands/command.py
>  ESTABLISH LOCAL CONNECTION FOR USER: root
>  EXEC /bin/sh -c 'echo ~ && sleep 0'
>  EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo
> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" && echo
> ansible-tmp-1522767715.36-81496549401055="` echo
> /root/.ansible/tmp/ansible-tmp-1522767715.36-81496549401055 `" ) && sleep
> 0'
>  PUT /tmp/tmpGMGdjh TO /root/.ansible/tmp/ansible-
> tmp-1522767715.36-81496549401055/command.py
>  EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-
> tmp-1522767715.36-81496549401055/ /root/.ansible/tmp/ansible-
> tmp-1522767715.36-81496549401055/command.py && sleep 0'
>  EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-
> tmp-1522767715.36-81496549401055/command.py && sleep 0'
> to retry, use: --limit @/usr/share/ovirt-hosted-
> engine-setup/ansible/create_target_vm.retry
>
> The above command.py is the on I have attached as problematic_command.py
>
> *Investigation After Failure:*
> [root@node ~]# ls -al '/rhev/data-center/mnt/node.lo
> cal:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5
> 510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c'
> -rw-rw. 1 vdsm kvm 20480 Apr  3 15:01 /rhev/data-center/mnt/node.loc
> al:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c55
> 10e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c
>
> sudo -u vdsm dd bs=20480 count=1 oflag=direct
> if="/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c"
> of="/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3
> -4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-
> 24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c
> 1+0 records in
> 1+0 records out
>
>
> It seems to me that somehow it is not getting the right permissions even
> though the playbook has:
> - name: Copy configuration archive to storage
> command: dd bs=20480 count=1 oflag=direct if="{{ LOCAL_VM_DIR }}/{{
> he_conf_disk_details.disk.image_id }}" of="{{ he_conf_disk_path }}"
> become_user: vdsm
> become_method: sudo
> 

[ovirt-users] Disable OVS?

2018-04-03 Thread Jayme
I'm constantly seeing this error in all of my host syslogs:

 ovs-vsctl: ovs|1|db_ctl_base|ERR|unix:/var/run/openvswitch/db.sock:
database connection failed (No such file or directory)

My cluster is set to linux bridge and not using OVS.  How can I stop the
error message or disable ovs?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Why is host rebooted after updates, can it be disabled?

2018-04-03 Thread Pavol Brilla
It was introducted in 4.2 IIRC, in GUI it is checkbox which is by default
on, cause during upgrade of host, not only oVirt packages are updated, but
also systems ones

in ansible role it was propagated :
https://github.com/oVirt/ovirt-ansible-cluster-upgrade/pull/13



On Tue, Apr 3, 2018 at 3:39 PM, Jayme  wrote:

> I notice that almost every time I perform an oVirt host upgrade the host
> is automatically rebooted.  Why is this done and is there a way to disable
> the automated reboot process?
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno 

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


Re: [ovirt-users] ovirt engine HA

2018-04-03 Thread FERNANDO FREDIANI
Is it enough to deploy the Self-Hosted engine in just one Host of the
cluster or is it necessary to repeat the process in each of the nodes that
must be able to run it ?

Thanks
Fernando

2018-04-03 2:01 GMT-03:00 Vincent Royer :

> Same thing, the engine in this case is "self-hosted", as in, it runs in a
> VM hosted on the cluster that it is managing.  I am a beginner here, but
> from my understanding, each node is always checking on the health of the
> engine VM.  If the engine is missing (ie, the host running it has gone
> down), then another available, healthy host will spawn up the engine and
> you will regain access.
>
> In my experience this has worked very reliably.  I have 2 hosts, both are
> "able" to run the engine VM.  If I take one host down, I am not able to
> load the engine GUI.  But if I wait a few minutes, then I regain access,
> and see that the engine is now running on the remaining healthy host.
>
> *Vincent Royer*
> *778-825-1057 <(778)%20825-1057>*
>
>
> 
> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
>
>
>
>
> On Mon, Apr 2, 2018 at 6:07 PM,  wrote:
>
>> what different between self-hosted engine and  hosted engine? I find a
>> project ovirt-hosted-engine-ha
>>   https:
>> //github.com/oVirt/ovirt-hosted-engine-ha
>> - 原始邮件 -
>> 发件人:Vincent Royer 
>> 收件人:dhy...@sina.com
>> 抄送人:users 
>> 主题:Re: [ovirt-users] ovirt engine HA
>> 日期:2018年04月03日 08点57分
>>
>> If your node running self-hosted engine crashes, the hosted engine will
>> be started up on another node. It just takes a few minutes for this all to
>> happen, but it works reliably in my experience.
>>
>>
>>
>> On Mon, Apr 2, 2018 at 5:42 PM,  wrote:
>>
>> How to solute ovirt engine HA, I have a three node cluster, one of is
>> deploy engine and node , others are node, if node that deplay engine and
>>  node crash, How to ensure my server is up?
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ISO uploading from GUI/REST with user permissions

2018-04-03 Thread Lloyd Kamara
Dear Sir/Madam,

The ability to upload ISOs through the web interface and boot
VMs from them is a welcome addition in oVirt release 4.2.2.
I am grateful to the people behind the implementation of this.

Consider a scenario in which you wish to allow *end-users*
to upload ISOs to one or more Data Domains.  The users can
then use the uploaded ISOs to boot their VMs.

Is it possible to grant a user permission to upload ISOs through
the web interface?  I tried to to this under oVirt release 4.2.2
by doing the following:

- adding the 'SuperUser' role to a target user for a specific
Data Domain, which enables the user to log onto the Administration Portal.

- adding the 'DiskCreator' role to the same target user for the
same Data Domain, which, I would hope, would allow the user to
both create disks and upload ISOs within that Data Domain.

Disk creation in the Data Domain for the target user works as expected;
ISO upload does not.  A dialog appears with the message: 'Operation
Canceled  Error while executing action: User is not authorized to
perform this action.'

Here is the message that appears in /var/log/ovirt-engine/engine.log
when an attempt at uploading an ISO is made by the target user:


INFO
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand]
(default task-40) [5b3fef06-49c8-4c34-81a3-a20fa691709a] No permission
found for user 'a9fde4c3-97a3-4494-84f8-08041a16710c' or one of the
groups he is member of, when running action 'TransferImageStatus',
Required permissions are: Action type: 'USER' Action group:
'CREATE_DISK' Object type: 'System'  Object ID:
'aaa0----123456789aaa'.


If one assigns the DiskCreator role System permission for the target
user then that user can upload ISOs without problem.  Unfortunately,
the user can upload ISOs - and create disks - in *all* data domains.

To re-iterate, is it possible to grant an end-user permission to
upload ISOs to specific data domains through the web interface without
granting an all-encompassing System permission?


Best wishes,
  Lloyd Kamara


References:
[The first two are included insofar as they concern ISO upload via web]
https://bugzilla.redhat.com/show_bug.cgi?id=1530730

https://bugzilla.redhat.com/show_bug.cgi?id=1536826

[This one is included because I wonder if the testing requests
includes the ability for users to upload ISOs via the web GUI, not
just attach existing ISOs in data domains to VMs]

https://bugzilla.redhat.com/show_bug.cgi?id=1058798
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Why is host rebooted after updates, can it be disabled?

2018-04-03 Thread Jayme
I notice that almost every time I perform an oVirt host upgrade the host is
automatically rebooted.  Why is this done and is there a way to disable the
automated reboot process?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread Yaniv Kaul
On Tue, Apr 3, 2018 at 3:12 PM, TomK  wrote:

> Hey Guy's,
>
> If I'm looking to setup the oVirt engine in an HA configuration off the
> physical servers hosting my VM's (non self hosted), what are my options
> here?
>
> I want to setup two to four active oVirt engine instances elsewhere and
> handle the HA via something like haproxy / keepalived to keep the entire
> experience seamless to the user.
>

You will need to set up the oVirt engine service as well as the PG database
(and ovirt-engine-dwhd service and any other service we run next to the
engine) as highly available module.
In pacemaker[1], for example.
You'll need to ensure configuration is also sync'ed between nodes, etc.
Y.

[1] https://clusterlabs.org/quickstart-redhat.html

>
> From what I've seen in oVirt, that seems to be possible without the two
> oVirt engines even knowing each other's existence but is it something
> anyone has ever done?  Any recommendations in this case?
>
> Having settings replicated would be a bonus but I would be comfortable if
> they weren't and I handle that myself.
>
> --
> Cheers,
> Tom K.
> 
> -
>
> Living on earth is expensive, but it includes a free trip around the sun.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues with ZFS volume creation

2018-04-03 Thread Fabrice Bacchella
Or try to create the vdev on the multipath devices, what does lsblk -s says ? 
It will show you the top level device to be used.

> Le 3 avr. 2018 à 10:53, Staniforth, Paul  a 
> écrit :
> 
> Hello Tal,
>  ZFS is probably detecting a partition table on the disks, 
> you could delete the partition tables on /dev/sda,/dev/sdb  ... etc, or you 
> could use the force option of ZFS create making sure they aren't mounted 
> somewhere.
> 
> Regards,
>Paul S.
> From: users-boun...@ovirt.org  on behalf of Tal 
> Bar-Or 
> Sent: 25 March 2018 15:54
> To: users
> Subject: [ovirt-users] Issues with ZFS volume creation
>  
> 
> Hello All,
> I know this question is might be out of Ovirt scope, but I don't have 
> anywhere else to ask for this issue (ZFS users mailing doesn't work), so I am 
> trying my luck here anyway
> so the issues go as follows :
> 
> Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 
> with 15 sas  10 k 1.2TB each attached to PERC H310 adapter, disks are 
> configured to non-raid, all went OK, but when I am trying to create new zfs 
> pool using the following command:
>  
> zpool create -m none -o ashift=12 zvol raidz2 sda sdb sdc sdd sde sdf sdg sdh 
> sdi sdj sdk sdl sdm
> I get the following error below:
> /dev/sda is in use and contains a unknown filesystem.
> /dev/sdb is in use and contains a unknown filesystem.
> /dev/sdc is in use and contains a unknown filesystem.
> /dev/sdd is in use and contains a unknown filesystem.
> /dev/sde is in use and contains a unknown filesystem.
> /dev/sdf is in use and contains a unknown filesystem.
> /dev/sdg is in use and contains a unknown filesystem.
> /dev/sdh is in use and contains a unknown filesystem.
> /dev/sdi is in use and contains a unknown filesystem.
> /dev/sdj is in use and contains a unknown filesystem.
> /dev/sdk is in use and contains a unknown filesystem.
> /dev/sdl is in use and contains a unknown filesystem.
> /dev/sdm is in use and contains a unknown filesystem.
> 
> When typing command lsblk I get the following output below, all seems ok, any 
> idea what could be wrong?
> Please advice
> Thanks
> 
> # lsblk
> NAMEMAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
> sda   8:00  1.1T  0 disk
> └─35000cca07245c0ec 253:20  1.1T  0 mpath
> sdb   8:16   0  1.1T  0 disk
> └─35000cca072463898 253:10   0  1.1T  0 mpath
> sdc   8:32   0  1.1T  0 disk
> └─35000cca0724540e8 253:80  1.1T  0 mpath
> sdd   8:48   0  1.1T  0 disk
> └─35000cca072451b68 253:70  1.1T  0 mpath
> sde   8:64   0  1.1T  0 disk
> └─35000cca07245f578 253:30  1.1T  0 mpath
> sdf   8:80   0  1.1T  0 disk
> └─35000cca07246c568 253:11   0  1.1T  0 mpath
> sdg   8:96   0  1.1T  0 disk
> └─35000cca0724620c8 253:12   0  1.1T  0 mpath
> sdh   8:112  0  1.1T  0 disk
> └─35000cca07245d2b8 253:13   0  1.1T  0 mpath
> sdi   8:128  0  1.1T  0 disk
> └─35000cca07245f0e8 253:40  1.1T  0 mpath
> sdj   8:144  0  1.1T  0 disk
> └─35000cca072418958 253:50  1.1T  0 mpath
> sdk   8:160  0  1.1T  0 disk
> └─35000cca072429700 253:10  1.1T  0 mpath
> sdl   8:176  0  1.1T  0 disk
> └─35000cca07245d848 253:90  1.1T  0 mpath
> sdm   8:192  0  1.1T  0 disk
> └─35000cca0724625a8 253:00  1.1T  0 mpath
> sdn   8:208  0  1.1T  0 disk
> └─35000cca07245f5ac 253:60  1.1T  0 mpath
> 
> 
> -- 
> Tal Bar-or
> To view the terms under which this email is distributed, please go to:- 
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread Johan Bernhardsson

Hi,

It's not entirely clear what you want to do.

Ovirt is an interface that will control hardware nodes that runs virtual 
servers. It's similar to vmwares vsphere.


The engine need to be replicated so that if one goes down the other have 
the exact same information.


/Johan


On April 3, 2018 14:16:14 TomK  wrote:

Hey Guy's,

If I'm looking to setup the oVirt engine in an HA configuration off the
physical servers hosting my VM's (non self hosted), what are my options
here?

I want to setup two to four active oVirt engine instances elsewhere and
handle the HA via something like haproxy / keepalived to keep the entire
experience seamless to the user.


From what I've seen in oVirt, that seems to be possible without the two

oVirt engines even knowing each other's existence but is it something
anyone has ever done?  Any recommendations in this case?

Having settings replicated would be a bonus but I would be comfortable
if they weren't and I handle that myself.

--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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



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


Re: [ovirt-users] Issues with ZFS volume creation

2018-04-03 Thread Staniforth, Paul
Hello Tal,

 ZFS is probably detecting a partition table on the disks, you 
could delete the partition tables on /dev/sda,/dev/sdb  ... etc, or you could 
use the force option of ZFS create making sure they aren't mounted somewhere.


Regards,

   Paul S.


From: users-boun...@ovirt.org  on behalf of Tal Bar-Or 

Sent: 25 March 2018 15:54
To: users
Subject: [ovirt-users] Issues with ZFS volume creation


Hello All,
I know this question is might be out of Ovirt scope, but I don't have anywhere 
else to ask for this issue (ZFS users mailing doesn't work), so I am trying my 
luck here anyway
so the issues go as follows :

Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 with 
15 sas  10 k 1.2TB each attached to PERC H310 adapter, disks are configured to 
non-raid, all went OK, but when I am trying to create new zfs pool using the 
following command:

zpool create -m none -o ashift=12 zvol raidz2 sda sdb sdc sdd sde sdf sdg sdh 
sdi sdj sdk sdl sdm
I get the following error below:
/dev/sda is in use and contains a unknown filesystem.
/dev/sdb is in use and contains a unknown filesystem.
/dev/sdc is in use and contains a unknown filesystem.
/dev/sdd is in use and contains a unknown filesystem.
/dev/sde is in use and contains a unknown filesystem.
/dev/sdf is in use and contains a unknown filesystem.
/dev/sdg is in use and contains a unknown filesystem.
/dev/sdh is in use and contains a unknown filesystem.
/dev/sdi is in use and contains a unknown filesystem.
/dev/sdj is in use and contains a unknown filesystem.
/dev/sdk is in use and contains a unknown filesystem.
/dev/sdl is in use and contains a unknown filesystem.
/dev/sdm is in use and contains a unknown filesystem.

When typing command lsblk I get the following output below, all seems ok, any 
idea what could be wrong?
Please advice
Thanks

# lsblk
NAMEMAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda   8:00  1.1T  0 disk
??35000cca07245c0ec 253:20  1.1T  0 mpath
sdb   8:16   0  1.1T  0 disk
??35000cca072463898 253:10   0  1.1T  0 mpath
sdc   8:32   0  1.1T  0 disk
??35000cca0724540e8 253:80  1.1T  0 mpath
sdd   8:48   0  1.1T  0 disk
??35000cca072451b68 253:70  1.1T  0 mpath
sde   8:64   0  1.1T  0 disk
??35000cca07245f578 253:30  1.1T  0 mpath
sdf   8:80   0  1.1T  0 disk
??35000cca07246c568 253:11   0  1.1T  0 mpath
sdg   8:96   0  1.1T  0 disk
??35000cca0724620c8 253:12   0  1.1T  0 mpath
sdh   8:112  0  1.1T  0 disk
??35000cca07245d2b8 253:13   0  1.1T  0 mpath
sdi   8:128  0  1.1T  0 disk
??35000cca07245f0e8 253:40  1.1T  0 mpath
sdj   8:144  0  1.1T  0 disk
??35000cca072418958 253:50  1.1T  0 mpath
sdk   8:160  0  1.1T  0 disk
??35000cca072429700 253:10  1.1T  0 mpath
sdl   8:176  0  1.1T  0 disk
??35000cca07245d848 253:90  1.1T  0 mpath
sdm   8:192  0  1.1T  0 disk
??35000cca0724625a8 253:00  1.1T  0 mpath
sdn   8:208  0  1.1T  0 disk
??35000cca07245f5ac 253:60  1.1T  0 mpath


--
Tal Bar-or
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread TomK

Hey Guy's,

If I'm looking to setup the oVirt engine in an HA configuration off the 
physical servers hosting my VM's (non self hosted), what are my options 
here?


I want to setup two to four active oVirt engine instances elsewhere and 
handle the HA via something like haproxy / keepalived to keep the entire 
experience seamless to the user.


From what I've seen in oVirt, that seems to be possible without the two 
oVirt engines even knowing each other's existence but is it something 
anyone has ever done?  Any recommendations in this case?


Having settings replicated would be a bonus but I would be comfortable 
if they weren't and I handle that myself.


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


Re: [ovirt-users] Issues with ZFS volume creation

2018-04-03 Thread Tal Bar-Or
Hello All,
Thanks for the answers, tried both don't work
thanks

On Tue, Apr 3, 2018 at 11:53 AM, Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hello Tal,
>
>  ZFS is probably detecting a partition table on the disks,
> you could delete the partition tables on /dev/sda,/dev/sdb  ... etc, or you
> could use the force option of ZFS create making sure they aren't mounted
> somewhere.
>
>
> Regards,
>
>Paul S.
> --
> *From:* users-boun...@ovirt.org  on behalf of
> Tal Bar-Or 
> *Sent:* 25 March 2018 15:54
> *To:* users
> *Subject:* [ovirt-users] Issues with ZFS volume creation
>
>
> Hello All,
> I know this question is might be out of Ovirt scope, but I don't have
> anywhere else to ask for this issue (ZFS users mailing doesn't work), so I
> am trying my luck here anyway
> so the issues go as follows :
>
> Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720
> with 15 sas  10 k 1.2TB each attached to PERC H310 adapter, disks are
> configured to non-raid, all went OK, but when I am trying to create new zfs
> pool using the following command:
>
>
>> zpool create -m none -o ashift=12 zvol raidz2 sda sdb sdc sdd sde sdf sdg
>> sdh sdi sdj sdk sdl sdm
>>
> I get the following error below:
>
>> /dev/sda is in use and contains a unknown filesystem.
>> /dev/sdb is in use and contains a unknown filesystem.
>> /dev/sdc is in use and contains a unknown filesystem.
>> /dev/sdd is in use and contains a unknown filesystem.
>> /dev/sde is in use and contains a unknown filesystem.
>> /dev/sdf is in use and contains a unknown filesystem.
>> /dev/sdg is in use and contains a unknown filesystem.
>> /dev/sdh is in use and contains a unknown filesystem.
>> /dev/sdi is in use and contains a unknown filesystem.
>> /dev/sdj is in use and contains a unknown filesystem.
>> /dev/sdk is in use and contains a unknown filesystem.
>> /dev/sdl is in use and contains a unknown filesystem.
>> /dev/sdm is in use and contains a unknown filesystem.
>>
>
> When typing command lsblk I get the following output below, all seems ok,
> any idea what could be wrong?
> Please advice
> Thanks
>
> # lsblk
>> NAMEMAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
>> sda   8:00  1.1T  0 disk
>> └─35000cca07245c0ec 253:20  1.1T  0 mpath
>> sdb   8:16   0  1.1T  0 disk
>> └─35000cca072463898 253:10   0  1.1T  0 mpath
>> sdc   8:32   0  1.1T  0 disk
>> └─35000cca0724540e8 253:80  1.1T  0 mpath
>> sdd   8:48   0  1.1T  0 disk
>> └─35000cca072451b68 253:70  1.1T  0 mpath
>> sde   8:64   0  1.1T  0 disk
>> └─35000cca07245f578 253:30  1.1T  0 mpath
>> sdf   8:80   0  1.1T  0 disk
>> └─35000cca07246c568 253:11   0  1.1T  0 mpath
>> sdg   8:96   0  1.1T  0 disk
>> └─35000cca0724620c8 253:12   0  1.1T  0 mpath
>> sdh   8:112  0  1.1T  0 disk
>> └─35000cca07245d2b8 253:13   0  1.1T  0 mpath
>> sdi   8:128  0  1.1T  0 disk
>> └─35000cca07245f0e8 253:40  1.1T  0 mpath
>> sdj   8:144  0  1.1T  0 disk
>> └─35000cca072418958 253:50  1.1T  0 mpath
>> sdk   8:160  0  1.1T  0 disk
>> └─35000cca072429700 253:10  1.1T  0 mpath
>> sdl   8:176  0  1.1T  0 disk
>> └─35000cca07245d848 253:90  1.1T  0 mpath
>> sdm   8:192  0  1.1T  0 disk
>> └─35000cca0724625a8 253:00  1.1T  0 mpath
>> sdn   8:208  0  1.1T  0 disk
>> └─35000cca07245f5ac 253:60  1.1T  0 mpath
>
>
>
> --
> Tal Bar-or
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>
>


-- 
Tal Bar-or
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ??help??Build a local development environment

2018-04-03 Thread TT-mao
Hi, guys:
I am currently trying to build an ovirt development environment (including 
engine and vdsm) locally using official documentation, but it will never build 
successfully.
First, I successfully built the rpm package through 
(https://www.ovirt.org/develop/developer-guide/vdsm/developers/)
But the vdsm rpm package that I built can't be applied to the engine 
environment. Add hosts on the ovirt gui interface. The engine backend will 
reinstall vdsm.


How do you create a local development environment?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Persistent dummy interface

2018-04-03 Thread RabidCicada
I do this on CentOS with /etc/modules-lomodules-loadad.d.
You can stick a file in there that is basically just a bash script that
loads your driver and then does the ip link command all the same time.

On Tue, Apr 3, 2018, 4:20 AM  wrote:

> Hi,
> What is the right way to get a persistent dummy interface ?
> I need an internal network for lab purpoposes, so I created  a dummy link
> "ip link add dummy_1 type dummy" and I was able to assign my logical
> network to it.
> But how to make it persistent ? Of course, after a reboot, the dummy
> device has gone and the server becomes non operational because of this
> non-compliant network. I have to recereate it by hand in order to get
> things work.
> Regards
>
> --
> FreeMail powered by mail.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] nfs 4.2 support

2018-04-03 Thread Alan Griffiths
Hi,

I noticed that when mounting nfs domains in ovirt 4.1 using
auto-negotiate it settles on v4.1.

Is this due to lack of live storage migration as referenced in this bug

https://bugzilla.redhat.com/show_bug.cgi?id=1464787

Are there other known issues with 4.2 support?

Thanks,

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


[ovirt-users] Persistent dummy interface

2018-04-03 Thread spfma . tech
Hi,
 What is the right way to get a persistent dummy interface ? I need an internal 
network for lab purpoposes, so I created a dummy link "ip link add dummy_1 type 
dummy" and I was able to assign my logical network to it. But how to make it 
persistent ? Of course, after a reboot, the dummy device has gone and the 
server becomes non operational because of this non-compliant network. I have to 
recereate it by hand in order to get things work. Regards  

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving Templatexs

2018-04-03 Thread Benny Zlotnik
Hi Bryan,

You can go into the template -> storage tab -> select the disk and remove
it there

On Fri, Mar 30, 2018 at 4:50 PM, Bryan Sockel 
wrote:

> Hi,
>
>
> We are in the process of re-doing one of our storage domains.  As part of
> the process I needed to relocate my templates over to a temporary domain.
> To do this, I copy the disk from one domain to another.  In the past I have
> been able to go into disk’s and remove the template disk from the storage
> domain I no longer want it on.  Now when I go in to storage -> Disks ->
>  -> Storage and select the storage domain I wish to
> remove it from, the box is grayed out.
>
>
>
> Currently running Ovirt version 4.2.2.5-1.el7.centos
>
>
>
>
> Thank You,
>
>
> *Bryan Sockel*
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted-engine Debug Help

2018-04-03 Thread Simone Tiraboschi
On Mon, Apr 2, 2018 at 4:52 PM, RabidCicada  wrote:

> Heyo everyone.  I'm trying to debug hosted-engine --deploy.  It is
> failing in `Copy configuration archive to storage` in
> `create_target_vm.yml` from `hosted-engine --deploy`.  My general and
> most important query here is how to get good debug output from ansible
> through hosted-engine.  I'm running hosted-engine through an ssh session.
>
> I can't figure out how to get good debug output from ansible within that
> workflow.  I see it's running through otopi, I tried setting typical
> `debugger: on_failed` hooks etc and tried many incantations on the command 
> line
> and config files to get ansible to help me out.  The debugger: directive
> and other debugger related ansible config file stuff wouldn't result in any
> debugger popping up.  I also can't seem to pass normal - flags to
> hosted-engine either and get it to ansible.  Ultimately I tried to use a
> `pause` directive and it complained that it was in a non-interactive
> shell.  I figured it might be the result of my ssh session so I enabled tty
> allocation with -t -t.  It did not resolve the issue.
>
> I eventually wrote-my-own/stole a callback_plugin that checks an
> environmental variable and enables `display.verbosity = int(v)` since I
> can't seem to pass typical - stuff to ansible through `hosted-engine
> --deploy`.  It give me the best info that I have so far.   But it wont give
> me enough to debug issues around Gathering Facts or what looks like a
> sudo/permission problem in `Copy configuration archive to storage` in
> `create_target_vm.yml`.  I took and used the exact command that they use
> manually and it works when I run it manually (But I can't get debug output
> to show me the exact sudo command being executed), hence my interest in
> passing - or equivalent to ansible through `hosted-engine`.  I
> intentionally disabled the VM_directory cleanup so that I could execute the
> same stuff.
>
> Soafter all that...what is a good way to get deep debug info from
> hosted-engine ansible stuff?
>

You should already find all the relevant log entries in a file
called 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-create_target_vm-{timestamp}-{hash}.log

Can you please share it?


>
> Or does anyone have intuition for the possible sudo problem?
> ~Kyle
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fw: Data Operations On Any Host

2018-04-03 Thread Fred Rolland
Jeremy,

There is currently no option to restrict the data operations to specific
hosts.

You can disable this feature in the DB, disable "DataOperationsByHSM" in
the vdc_options table.

Note that since it is enabled by default since 4.1, all testing flows were
done with this option.

Regards,
Fred

On Sun, Apr 1, 2018 at 11:02 AM, Cryptic  wrote:

> Hi to all,
>
> In relation to the changes made to distribute data operations between all
> the hosts in a data center rather than burden the SPM. I am very new to
> oVirt and am having troubles finding information on this and need
> assistance to prevent this happening on my development oVirt 4.2 system.
> The issue I have is that I have a cluster which hosts all the storage
> volumes using gluster and they have 10G NICs. I also have a separate
> cluster which is virtualisation only and each host only has 3 x 1G
> aggregated NICs. When I perform disk moves between storage domains it often
> uses one of the virtualisation hosts which drastically increases the time
> taken to move the disk. Can I restrict these types of operations to a set
> of hosts or turn it off altogether so that it just uses the SPM like it
> used to in the past. Distributing it is a great feature but unfortunately
> is no good in my current setup.
>
> Regards,
> Jeremy
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virtual machine actual size is not right

2018-04-03 Thread Pavol Brilla
Hi

just small note why size of disk differs between ovirt and system:

30G in ovirt = 30*1024*1024*1024 bytes = 32212254720 bytes = 32.2GB which
you see in parted output


I dont know that much about storage to help with it and I can only cite
from oVirt webpages[1]:
Thin Provision allocates 1 GB at the time the virtual disk is created and
sets a maximum limit on the size to which the disk can grow. The virtual
size of the disk is the maximum limit; the actual size of the disk is the
space that has been allocated so far. Thinly provisioned disks are faster
to create than preallocated disks and allow for storage over-commitment.
Thinly provisioned virtual disks are recommended for desktops.

[1]
https://www.ovirt.org/documentation/admin-guide/chap-Virtual_Machine_Disks/




On Tue, Mar 27, 2018 at 9:02 AM, Terry hey  wrote:

> Hello, thank you for helping me.
>
> On the storage domain size:
> Alias: host1
> Disk: 1
> Template: Blank
> Virtual Size: 30 GB
> Actual Size: 13 GB
> Creation Date: Jan 29,2018 11:22:54 AM
>
> On the server size:
> # df -h
> Filesystem   Size  Used Avail Use% Mounted on
> /dev/mapper/vg01-root 10G  7.2G  2.9G  72% /
> devtmpfs 1.9G 0  1.9G   0% /dev
> tmpfs1.9G  4.0K  1.9G   1% /dev/shm
> tmpfs1.9G   17M  1.9G   1% /run
> tmpfs1.9G 0  1.9G   0% /sys/fs/cgroup
> /dev/sda1   1014M  188M  827M  19% /boot
> /dev/mapper/vg01-var  15G  996M   15G   7% /var
> XXX.XXX.XXX.XXX:/nfs_share  249G   96G  141G  41% /mnt/nfs_share
> tmpfs379M 0  379M   0% /run/user/0
>
> # parted -l /dev/[sv]d[a-z] | grep ^Disk
> Disk /dev/sda: 32.2GB
> Disk Flags:
> Disk /dev/mapper/vg01-var: 16.1GB
> Disk Flags:
> Disk /dev/mapper/vg01-swap: 2147MB
> Disk Flags:
> Disk /dev/mapper/vg01-root: 10.7GB
> Disk Flags:
> #
>
> It still not the same. Also, do you know the upper limitation for thin
> provision?
> For example, if i allocated 30 GB to the hosts, what is the upper
> limitation that the host can use?
>
> Regards,
> Terry
>
> 2018-03-23 18:45 GMT+08:00 Pavol Brilla :
>
>> Hi
>>
>> For such big difference between size outside of VM and inside, it looks
>> more that disk is not fully partioned.
>> df is providing you information only about mounted filesystems.
>> Could you try to run inside VM should match all local disks, and you
>> should see size of disk :
>> # parted -l /dev/[sv]d[a-z] | grep ^Disk
>>
>> ( Output of 1 of my VMs ):
>> # parted -l /dev/[sv]d[a-z] | grep ^Disk
>> Disk /dev/sda: 26.8GB
>> Disk Flags:
>> Disk /dev/mapper/rootvg-lv_tmp: 2147MB
>> Disk Flags:
>> Disk /dev/mapper/rootvg-lv_home: 210MB
>> Disk Flags:
>> Disk /dev/mapper/rootvg-lv_swap: 2147MB
>> Disk Flags:
>> Disk /dev/mapper/rootvg-lv_root: 21.8GB
>>
>> So I see that VM has 26.8GB big disk.
>>
>> On Thu, Mar 22, 2018 at 5:56 PM, Terry hey  wrote:
>>
>>> Hello~
>>> i type this command on the running vm, not the hypervisor ( ovirt node).
>>>
>>
>>
>>
>> --
>>
>> PAVOL BRILLA
>>
>> RHV QUALITY ENGINEER, CLOUD
>>
>> Red Hat Czech Republic, Brno 
>> 
>> TRIED. TESTED. TRUSTED. 
>>
>
>


-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno 

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


Re: [ovirt-users] Install oVirt node without Internet repository

2018-04-03 Thread Pavol Brilla
Ovirt-node should provide all you need as host on 1 ISO:

https://www.ovirt.org/node/

On Mon, Apr 2, 2018 at 12:31 PM, G, Maghesh Kumar (Nokia - IN/Bangalore) <
magheshkuma...@nokia.com> wrote:

> Hi
>
>
>
> Description of problem:
>
> Cannot add host - install fails & Install oVirt node without Internet 
> repository
>
>
>
> Version: Ovirt-4.2
>
> Host is installed with RHEL 7.4
>
>
>
> Actual results:
>
> Host KVM02 installation failed. Command returned failure code 1 during SSH 
> session 'root@192.175.2.231'
>
>
>
> I found that right now on my oVirt Nodes in my test environment *does not
> NOT connect to the internet.*..
>
> Basically, i need the offline repository to access from oVirt nodes
> without Internet access.
>
>
>
> Please guide us how to proceed
>
>
>
> Regards,
>
> Maghesh
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

PAVOL BRILLA

RHV QUALITY ENGINEER, CLOUD

Red Hat Czech Republic, Brno 

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


[ovirt-users] Install oVirt node without Internet repository

2018-04-03 Thread G, Maghesh Kumar (Nokia - IN/Bangalore)
Hi


Description of problem:

Cannot add host - install fails & Install oVirt node without Internet repository



Version: Ovirt-4.2

Host is installed with RHEL 7.4



Actual results:

Host KVM02 installation failed. Command returned failure code 1 during SSH 
session 'root@192.175.2.231'

I found that right now on my oVirt Nodes in my test environment does not NOT 
connect to the internet...
Basically, i need the offline repository to access from oVirt nodes without 
Internet access.

Please guide us how to proceed

Regards,
Maghesh

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


[ovirt-users] Engine reports

2018-04-03 Thread Anantha Raghava

Hi,

I see that oVirt DWH is installed with Version 4.2.x. Now, how do I take 
the reports? I version 3.5, we had Jasper reports module using which we 
could take utilization reports. Can we do something similar here?


--

Thanks & Regards,


Anantha Raghava


Do not print this e-mail unless required. Save Paper & trees.

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


[ovirt-users] 回复:Re: Re: Re: ovirt engine HA

2018-04-03 Thread dhy336
thanks, 

- 原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:Users 
主题:Re: Re: Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 13点59分

Sounds like you should start here 
https://ovirt.org/documentation/self-hosted/Self-Hosted_Engine_Guide/


On Mon, Apr 2, 2018, 10:42 PM ,  wrote:
Thank you, How to deploy self-hosted engine? may you give me some data for 
self-hosted engine.
- 原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 13点02分

Same thing, the engine in this case is "self-hosted", as in, it runs in a VM 
hosted on the cluster that it is managing.  I am a beginner here, but from my 
understanding, each node is always checking on the health of the engine VM.  If 
the engine is missing (ie, the host running it has gone down), then another 
available, healthy host will spawn up the engine and you will regain access. 
In my experience this has worked very reliably.  I have 2 hosts, both are 
"able" to run the engine VM.  If I take one host down, I am not able to load 
the engine GUI.  But if I wait a few minutes, then I regain access, and see 
that the engine is now running on the remaining healthy host. Vincent 
Royer778-825-1057

SUSTAINABLE MOBILE ENERGY SOLUTIONS




On Mon, Apr 2, 2018 at 6:07 PM,   wrote:
what different between self-hosted engine and  hosted engine? I find a project 
ovirt-hosted-engine-ha  https://github.com/oVirt/ovirt-hosted-engine-ha  - 
原始邮件 -
发件人:Vincent Royer 
收件人:dhy...@sina.com
抄送人:users 
主题:Re: [ovirt-users] ovirt engine HA
日期:2018年04月03日 08点57分

If your node running self-hosted engine crashes, the hosted engine will be 
started up on another node. It just takes a few minutes for this all to happen, 
but it works reliably in my experience. 



On Mon, Apr 2, 2018 at 5:42 PM,   wrote:
How to solute ovirt engine HA, I have a three node cluster, one of is deploy 
engine and node , others are node, if node that deplay engine and  node crash, 
How to ensure my server is up?
___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users










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