[ovirt-users] ovirt 4.2.2-rc3 switching from legacy to OVS..

2018-03-08 Thread Thomas Davis

I'm getting further along with 4.2.2rc3 than the 4.2.1 when it comes to hosted 
engine and vlans..  it actually does install
under 4.2.2rc3.

But it's a complete failure when I switch the cluster from Linux Bridge/Legacy 
to OVS.  The first time I try, vdsm does
not properly configure the node, it's all messed up.

I'm getting this in vdsmd logs:

2018-03-08 23:12:46,610-0800 INFO  (jsonrpc/7) [api.network] START setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf': True, 
u'nic': u'eno1', u'vlan': u'50', u'ipaddr': u'192.168.85.49', u'switch': u'ovs', u'mtu': 1500, u'netmask': u'255.255.252.0', 
u'dhcpv6': False, u'STP': u'no', u'bridged': u'true', u'gateway': u'192.168.85.254', u'defaultRoute': True}}, bondings={}, 
options={u'connectivityCheck': u'true', u'connectivityTimeout': 120}) from=:::192.168.85.24,56806, 
flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:46)


2018-03-08 23:12:52,449-0800 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call 
Host.ping2 succeeded in 0.00 seconds (__init__:573)

2018-03-08 23:12:52,511-0800 INFO  (jsonrpc/7) [api.network] FINISH setupNetworks error=[Errno 19] ovirtmgmt is not present in the 
system from=:::192.168.85.24,56806, flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:50)

2018-03-08 23:12:52,512-0800 ERROR (jsonrpc/7) [jsonrpc.JsonRpcServer] Internal 
server error (__init__:611)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in 
_handle_request
res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in 
_dynamicMethod
result = fn(*methodArgs)
  File "", line 2, in setupNetworks
  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
ret = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1527, in 
setupNetworks
supervdsm.getProxy().setupNetworks(networks, bondings, options)
  File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in 
__call__
return callMethod()
  File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in 

**kwargs)
  File "", line 2, in setupNetworks
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in 
_callmethod
raise convert_to_error(kind, result)
IOError: [Errno 19] ovirtmgmt is not present in the system
2018-03-08 23:12:52,512-0800 INFO  (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call Host.setupNetworks failed (error -32603) in 5.90 
seconds (__init__:573)

2018-03-08 23:12:54,769-0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
Host.ping2 succeeded in 0.00 seconds (__init__:573)
2018-03-08 23:12:54,772-0800 INFO  (jsonrpc/5) [api.host] START 
getCapabilities() from=::1,45562 (api:46)
2018-03-08 23:12:54,906-0800 INFO  (jsonrpc/5) [api.host] FINISH getCapabilities error=[Errno 19] ovirtmgmt is not present in the 
system from=::1,45562 (api:50)

2018-03-08 23:12:54,906-0800 ERROR (jsonrpc/5) [jsonrpc.JsonRpcServer] Internal 
server error (__init__:611)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in 
_handle_request
res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in 
_dynamicMethod
result = fn(*methodArgs)
  File "", line 2, in getCapabilities
  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
ret = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1339, in 
getCapabilities
c = caps.get()
  File "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 168, in get
net_caps = supervdsm.getProxy().network_caps()
  File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in 
__call__
return callMethod()
  File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in 

**kwargs)
  File "", line 2, in network_caps
  File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in 
_callmethod
raise convert_to_error(kind, result)
IOError: [Errno 19] ovirtmgmt is not present in the system

So something is dreadfully wrong with the bridge to ovs conversion in 4.2.2rc3.

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


Re: [ovirt-users] Ghost Snapshot Disk

2018-03-08 Thread Lionel Caignec
Hi Shani,

these is the log i get in engine.log (tail -f) when trying to remove disk from 
guest : 
2018-03-09 07:59:31,741+01 WARN  
[org.ovirt.engine.core.bll.storage.disk.DetachDiskFromVmCommand] (default 
task-88) [e111eddd-63da-4c01-9885-f06dbcfb18e8] Validation of action 
'DetachDiskFromVm' failed for user xx. Reasons: 
VAR__ACTION__DETACH_ACTION_TO,VAR__TYPE__DISK,ERROR_CANNOT_DETACH_DISK_WITH_SNAPSHOT

no more information so i'm stuck :)

Regards
- Mail original -
De: "Shani Leviim" 
À: "Lionel Caignec" 
Cc: "users" 
Envoyé: Jeudi 8 Mars 2018 16:30:53
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Hi Lionel,

Can you please share once again your engine log (or at least the relevant
part where that error message occurred)?


*Regards,*

*Shani Leviim*

On Thu, Mar 8, 2018 at 1:56 PM, Lionel Caignec  wrote:

> Hi,
>
> i finished to move my data, but now when i want to remove my old disk i
> get stuck to this error :
> "Cannot detach Virtual Machine Disk. The disk is already configured in a
> snapshot. In order to detach it, remove the disk's snapshots".
> But like i said before there is no snapshot anymore.
> So what can i do? Delete manually inside database? So where?
> Delete manually lvm volume, so how can i find the good one?
>
> Please help ;).
>
> Lionel
>
> - Mail original -
> De: "Lionel Caignec" 
> À: "Shani Leviim" 
> Cc: "users" 
> Envoyé: Mardi 6 Mars 2018 08:22:30
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi,
>
> ok thank you for information (sorry for late response).
>
> I will do that.
>
> - Mail original -
> De: "Shani Leviim" 
> À: "Lionel Caignec" 
> Cc: "users" 
> Envoyé: Mardi 27 Février 2018 14:19:45
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi Lionel,
>
> Sorry for the delay in replying you.
>
> If it's possible from your side, syncing the data and destroying old disk
> sounds about right.
>
> In addition, it seems like you're having this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1509629
> And it was fixed for version 4.1.9. and above.
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
> On Mon, Feb 26, 2018 at 4:18 PM, Lionel Caignec  wrote:
>
> > Ok so i reply myself,
> >
> > Version is 4.1.7.6-1
> >
> > I just delete manually a snapshot previously created. But this is an io
> > intensive vm, whit big disk (2,5To, and 5To).
> >
> > For the log, i cannot paste all my log on public list security reason, i
> > will send you full in private.
> > Here is an extract relevant to my error
> > engine.log-20180210:2018-02-09 23:00:03,200+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-312) [44402a8c-3196-43f0-ba33-307ea78e6f49] EVENT_ID:
> > USER_CREATE_SNAPSHOT(45), Correlation ID: 44402a8c-3196-43f0-ba33-
> 307ea78e6f49,
> > Job ID: 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom
> > ID: null, Custom Event ID: -1, Message: Snapshot
> 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' was initiated by snap_user@internal.
> > engine.log-20180210:2018-02-09 23:01:06,578+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler5) [] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_
> SUCCESS(68),
> > Correlation ID: 44402a8c-3196-43f0-ba33-307ea78e6f49, Job ID:
> > 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom ID: null,
> > Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' has been completed.
> > engine.log-20180220:2018-02-19 17:01:23,800+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-113) [] EVENT_ID: USER_REMOVE_SNAPSHOT(342), Correlation
> ID:
> > 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-
> 3659ac0765da,
> > Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot
> > 'AUTO_7D_zz_nil_20180209_220002' deletion for VM 'zz_nil' was initiated
> > by acaignec@ldap-cines-authz.
> > engine.log-20180221:2018-02-20 22:24:45,174+01 ERROR
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler6) [06a9efa4-1b80-4021-bf3e-41ecebe58a88]
> > EVENT_ID: USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> > 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-
> 3659ac0765da,
> > Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed
> to
> > delete snapshot 'AUTO_7D_zz_nil_20180209_220002' for VM 'zz_nil'.
> >  2018-02-20 22:24:46,266+01 INFO  [org.ovirt.engine.core.bll.
> tasks.SPMAsyncTask]
> > (DefaultQuartzScheduler3) [516079c3] SPMAsyncTask::PollTask: Polling task
> > '34137342-4f30-476d-b16c-1cb7e0ea0ac0' (Parent Command 'DestroyImage',
> > Parameters Type 

Re: [ovirt-users] Node Next Install Problem

2018-03-08 Thread Matt Simonsen

Doh! Problem solved. Well at least I found it on my own...

Date on server is wrong, and certs were silently failing.

Matt




On 03/08/2018 04:16 PM, Matt Simonsen wrote:


I installed based on an older Node Next DVD (4.1.7) that has worked in 
the past and it doesn't appear to be working when I add it to a cluster.


The installer says//it cannot queue package iproute.

Is there a repo down or that has changed? Thanks for any suggestions.

It appears yum is also broken:/
/

/yum update
Loaded plugins: fastestmirror, imgbased-persist, package_upload, 
product-id,

  : search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use 
subscription-manager to register.
centos-opstools-release | 2.9 kB 
00:00
ovirt-4.1   | 3.0 kB 
00:00
ovirt-4.1-centos-gluster38  | 2.9 kB 
00:00



 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point 
the only

 safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix 
the problem.


 2. Reconfigure the baseurl/etc. for the repository, to point to a 
working

    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
    yum --disablerepo= ...

 4. Disable the repository permanently, so yum won't use it by 
default. Yum
    will then just ignore the repository until you permanently 
enable it

    again or use --enablerepo for temporary usage:

    yum-config-manager --disable 
    or
    subscription-manager repos --disable=

 5. Configure the failing repository to be skipped, if it is 
unavailable.
    Note that yum will try to contact the repo. when it runs most 
commands,
    so will have to try and fail each time (and thus. yum will be 
be much
    slower). If it is a very temporary problem though, this is 
often a nice

    compromise:

    yum-config-manager --save 
--setopt=.skip_if_unavailable=true


Cannot retrieve metalink for repository: ovirt-4.1-epel/x86_64. Please 
verify its path and try again

/



___
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] Node Next Install Problem

2018-03-08 Thread Matt Simonsen
I installed based on an older Node Next DVD (4.1.7) that has worked in 
the past and it doesn't appear to be working when I add it to a cluster.


The installer says//it cannot queue package iproute.

Is there a repo down or that has changed? Thanks for any suggestions.

It appears yum is also broken:/
/

/yum update
Loaded plugins: fastestmirror, imgbased-persist, package_upload, product-id,
  : search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use 
subscription-manager to register.

centos-opstools-release | 2.9 kB 00:00
ovirt-4.1   | 3.0 kB 00:00
ovirt-4.1-centos-gluster38  | 2.9 kB 00:00


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the 
only

 safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the 
problem.


 2. Reconfigure the baseurl/etc. for the repository, to point to a 
working

    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
    yum --disablerepo= ...

 4. Disable the repository permanently, so yum won't use it by 
default. Yum
    will then just ignore the repository until you permanently 
enable it

    again or use --enablerepo for temporary usage:

    yum-config-manager --disable 
    or
    subscription-manager repos --disable=

 5. Configure the failing repository to be skipped, if it is 
unavailable.
    Note that yum will try to contact the repo. when it runs most 
commands,
    so will have to try and fail each time (and thus. yum will be 
be much
    slower). If it is a very temporary problem though, this is 
often a nice

    compromise:

    yum-config-manager --save 
--setopt=.skip_if_unavailable=true


Cannot retrieve metalink for repository: ovirt-4.1-epel/x86_64. Please 
verify its path and try again

/

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


Re: [ovirt-users] Tape Library!

2018-03-08 Thread Christopher Cox

On 03/08/2018 12:43 AM, Nasrum Minallah Manzoor wrote:

Hi,

I need help in configuring Amanda backup in virtual machine added to 
ovirt node! How can I assign my FC tape library (TS 3100 in my case) to 
virtual machine!


I know at one time there was an issue created to make this work through 
virtio.  I mean, it was back in the early 3.x days I think.  So this 
might be possible now (??).  Passthrough LUN?


https://www.ovirt.org/develop/release-management/features/storage/virtio-scsi/

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


[ovirt-users] Tape Library!

2018-03-08 Thread Nasrum Minallah Manzoor
Hi,

I need help in configuring Amanda backup in virtual machine added to ovirt 
node! How can I assign my FC tape library (TS 3100 in my case) to virtual 
machine!



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


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Yaniv Kaul
On Mar 8, 2018 7:35 PM, "Hari Prasanth Loganathan" <
hariprasant...@msystechnologies.com> wrote:

Hi Yaniv,

To give an example, We are planning to create and manage our VM's using
oVirt.
Instead of managing oVirt using UI, We will be writing the script which
hits the oVirt engine periodically for different functionality.


May I suggest Ansible, or any of our SDKs?
It'll surely make your work more productive and quite likely higher
performance (as it's already quite built for performance, with pipelining,
multiplexing, compression and connection management).

so We would like to take a benchmark to finalise the number of hits to
ovirt.


Hits for which functionality exactly?


This is what we are trying to achieve.


I suspect you focus too much on synthetic benchmark rather than a real use
case.
Y.


Coming to my query,
What is the difference between sso token and session maintance in oVirt, If
I have a token timeout of 4 days, How the concept of session plays a role
in oVirt?

Thanks,
Hari


DISCLAIMER

The information in this e-mail is confidential and may be subject to legal
privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error," send to
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of
it. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. The views, opinions, conclusions and
other information expressed in this electronic mail and any attachments are
not given or endorsed by the company unless otherwise indicated by an
authorized representative independent of this message.
MSys cannot guarantee that e-mail communications are secure or error-free,
as information could be intercepted, corrupted, amended, lost, destroyed,
arrive late or incomplete, or contain viruses, though all reasonable
precautions have been taken to ensure no viruses are present in this e-mail.
As our company cannot accept responsibility for any loss or damage arising
from the use of this e-mail or attachments we recommend that you subject
these to your virus checking procedures prior to use
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Open source backup!

2018-03-08 Thread Nasrum Minallah Manzoor
Thank you,

Additionally I have to ask that my san is configured with Ovirt. Now 
multipathing has to be done manually or it will take auto multipathing in ovirt 
environment!

From: Niyazi Elvan [mailto:niyaziel...@gmail.com]
Sent: 05 March 2018 8:26 PM
To: Nasrum Minallah Manzoor 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Open source backup!

Hi,

If you are looking for VM image backup, you may have a look at Open Bacchus 
https://github.com/openbacchus/bacchus

Bacchus is backing up VMs using the oVirt python api and final image will 
reside on the Export domain (which is an NFS share or glusterfs) in your 
environment. It does not support moving the images to tapes at the moment. You 
need to use another tool to stage your backups to tape.

Hope this helps.


On 5 Mar 2018 Mon at 17:31 Nasrum Minallah Manzoor 
> wrote:
HI,
Can you please suggest me any open source backup solution for ovirt Virtual 
machines.
My backup media is FC tape library which is directly attached to my ovirt node. 
I really appreciate your help



Regards,
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Niyazi Elvan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to force remove template

2018-03-08 Thread John Nguyen
Hi Guys,

I apologize if you may have addressed this earlier.  I have a template in
an odd state.  The template show it's disk on one storage domain, but in
actuality the disk is on a different domain.  I would like to delete this
template since its not in uses and out of date.  However when I try, I get
the error "image does not exit in domain."

Is there a way to force remove a template from the database?  Any thoughts
would be greatly appreciated.

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


Re: [ovirt-users] Gluster Snapshot Schedule Failing on 4.2.1

2018-03-08 Thread Hesham Ahmed
Log file attached to the bug. Do let me know if you need anything else.

On Thu, Mar 8, 2018, 4:32 PM Sahina Bose  wrote:

> Thanks for your report, we will take a look. Could you attach the
> engine.log to the bug?
>
> On Wed, Mar 7, 2018 at 11:20 PM, Hesham Ahmed  wrote:
>
>> I am having issues with the Gluster Snapshot UI since upgrade to 4.2 and
>> now with 4.2.1. The UI doesn't appear as I explained in the bug report:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1530186
>>
>> I can now see the UI when I clear the cookies and try the snapshots UI
>> from within the volume details screen, however scheduled snapshots are not
>> being created. The engine log shows a single error:
>>
>> 2018-03-07 20:00:00,051+03 ERROR
>> [org.ovirt.engine.core.utils.timer.JobWrapper] (QuartzOvirtDBScheduler1)
>> [12237b15] Failed to invoke scheduled method onTimer: null
>>
>> Anyone scheduling snapshots successfully wtih 4.2?
>>
>> ___
>> 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] hosted-engine deploy fails at "Wait for the engine to come up on the target VM" step

2018-03-08 Thread Kristian Petersen
I am trying to deploy oVirt with a self-hosted engine and the setup seems
to go well until near the very end when the status message says:
[ INFO ] TASK [Wait for the engine to come up on the target VM]

[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 120, "changed": true,
"cmd": ["hosted-engine", "--vm-status", "--json"], "delta": "0:0
0:00.216412", "end": "2018-03-07 16:02:02.677478", "rc": 0, "start":
"2018-03-07 16:02:02.461066", "stderr": "", "stderr_lines": [], "stdout
": "{\"1\": {\"conf_on_shared_storage\": true, \"live-data\": true,
\"extra\": \"metadata_parse_version=1\\nmetadata_feature_version=1\\ntim
estamp=4679955 (Wed Mar  7 16:01:50
2018)\\nhost-id=1\\nscore=3400\\nvm_conf_refresh_time=4679956 (Wed Mar  7
16:01:51 2018)\\nconf_on_share
d_storage=True\\nmaintenance=False\\nstate=EngineStarting\\nstopped=False\\n\",
\"hostname\": \"rhv1.cpms.byu.edu\", \"host-id\": 1, \"engin
e-status\": {\"reason\": \"vm not running on this host\", \"health\":
\"bad\", \"vm\": \"down\", \"detail\": \"unknown\"}, \"score\": 3400,
\"stopped\": false, \"maintenance\": false, \"crc32\": \"d3a67cf7\",
\"local_conf_timestamp\": 4679956, \"host-ts\": 4679955}, \"global_main
tenance\": false}", "stdout_lines": ["{\"1\": {\"conf_on_shared_storage\":
true, \"live-data\": true, \"extra\": \"metadata_parse_version=1\
\nmetadata_feature_version=1\\ntimestamp=4679955 (Wed Mar  7 16:01:50
2018)\\nhost-id=1\\nscore=3400\\nvm_conf_refresh_time=4679956 (Wed Mar
  7 16:01:51
2018)\\nconf_on_shared_storage=True\\nmaintenance=False\\nstate=EngineStarting\\nstopped=False\\n\",
\"hostname\": \"rhv1.cpms.
byu.edu\", \"host-id\": 1, \"engine-status\": {\"reason\": \"vm not running
on this host\", \"health\": \"bad\", \"vm\": \"down\", \"detail\
": \"unknown\"}, \"score\": 3400, \"stopped\": false, \"maintenance\":
false, \"crc32\": \"d3a67cf7\", \"local_conf_timestamp\": 4679956, \"
host-ts\": 4679955}, \"global_maintenance\": false}"]}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook

Any ideas that might help?


-- 
Kristian Petersen
System Administrator
Dept. of Chemistry and Biochemistry
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Hari Prasanth Loganathan
Yes, we will take a SSO token using SSO auth Rest API call and use the same
token for all the API hits for next 4 days (Example If 4 days is the SSO
token timeout). Is there an issue with using like that?

If there is a session concept there for SSO token in using as Rest API?



On Thu, Mar 8, 2018 at 11:05 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Yaniv,
>
> To give an example, We are planning to create and manage our VM's using
> oVirt.
> Instead of managing oVirt using UI, We will be writing the script which
> hits the oVirt engine periodically for different functionality. so We would
> like to take a benchmark to finalise the number of hits to ovirt.
>
> This is what we are trying to achieve.
>
> Coming to my query,
> What is the difference between sso token and session maintance in oVirt,
> If I have a token timeout of 4 days, How the concept of session plays a
> role in oVirt?
>
> Thanks,
> Hari
>
>

-- 


DISCLAIMER

The information in this e-mail is confidential and may be subject to legal 
privilege. It is intended solely for the addressee. Access to this e-mail 
by anyone else is unauthorized. If you have received this communication in 
error, please address with the subject heading "Received in error," send to 
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of 
it. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, 
is prohibited and may be unlawful. The views, opinions, conclusions and 
other information expressed in this electronic mail and any attachments are 
not given or endorsed by the company unless otherwise indicated by an 
authorized representative independent of this message.
MSys cannot guarantee that e-mail communications are secure or error-free, 
as information could be intercepted, corrupted, amended, lost, destroyed, 
arrive late or incomplete, or contain viruses, though all reasonable 
precautions have been taken to ensure no viruses are present in this e-mail. 
As our company cannot accept responsibility for any loss or damage arising 
from the use of this e-mail or attachments we recommend that you subject 
these to your virus checking procedures prior to use
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Hari Prasanth Loganathan
Hi Yaniv,

To give an example, We are planning to create and manage our VM's using
oVirt.
Instead of managing oVirt using UI, We will be writing the script which
hits the oVirt engine periodically for different functionality. so We would
like to take a benchmark to finalise the number of hits to ovirt.

This is what we are trying to achieve.

Coming to my query,
What is the difference between sso token and session maintance in oVirt, If
I have a token timeout of 4 days, How the concept of session plays a role
in oVirt?

Thanks,
Hari

-- 


DISCLAIMER

The information in this e-mail is confidential and may be subject to legal 
privilege. It is intended solely for the addressee. Access to this e-mail 
by anyone else is unauthorized. If you have received this communication in 
error, please address with the subject heading "Received in error," send to 
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of 
it. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, 
is prohibited and may be unlawful. The views, opinions, conclusions and 
other information expressed in this electronic mail and any attachments are 
not given or endorsed by the company unless otherwise indicated by an 
authorized representative independent of this message.
MSys cannot guarantee that e-mail communications are secure or error-free, 
as information could be intercepted, corrupted, amended, lost, destroyed, 
arrive late or incomplete, or contain viruses, though all reasonable 
precautions have been taken to ensure no viruses are present in this e-mail. 
As our company cannot accept responsibility for any loss or damage arising 
from the use of this e-mail or attachments we recommend that you subject 
these to your virus checking procedures prior to use
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limitation in using Ovirt SSO Token

2018-03-08 Thread Yaniv Kaul
On Mar 8, 2018 3:53 PM, "Hari Prasanth Loganathan" <
hariprasant...@msystechnologies.com> wrote:

Hi Team,

I would like to know, Is there any limitation in using the same sso token
for multiple request.


Are you reusing it or abusing it? Are you actually using it in a single
session, to avoid reauthentication, or just sharing between multiple
sessions? While I'd still would not want to see the engine affected by such
abuse, the latter is quite atypical use case.

Can you share engine and server logs?

And again, it'd be very helpful if you could share what you'd like to
achieve and we'll gladly assist.
Y.


I observe that when I use the same sso token for more than 900 HTTP Rest
request, the application went down. Is there any limitation in using same
SSO token? I could see that my status is showing as ACTIVE and memory and
CPU seem fine. Still, the oVirt is not reachable and I need to restart it
to access again.

sudo systemctl status ovirt-engine.service -l
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled;
vendor preset: disabled)
   Active: active (running) since Thu 2018-03-08 19:15:10 IST; 30s ago
 Main PID: 10370 (ovirt-engine.py)
   CGroup: /system.slice/ovirt-engine.service
   ├─10370 /usr/bin/python /usr/share/ovirt-engine/
services/ovirt-engine/ovirt-engine.py --redirect-output --systemd=notify
start
   └─10423 ovirt-engine -server -XX:+TieredCompilation -Xms5961M
-Xmx5961M -Djava.awt.headless=true -Dsun.rmi.dgc.client.gcInterval=360
-Dsun.rmi.dgc.server.gcInterval=360 -Djsse.enableSNIExtension=false
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ovirt-engine/dump
-Djava.util.logging.manager=org.jboss.logmanager
-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_
runtime/config/ovirt-engine-logging.properties
-Dorg.jboss.resolver.warning=true
-Djboss.modules.system.pkgs=org.jboss.byteman
-Djboss.server.default.config=ovirt-engine
-Djboss.home.dir=/usr/share/ovirt-engine-wildfly
-Djboss.server.base.dir=/usr/share/ovirt-engine
-Djboss.server.data.dir=/var/lib/ovirt-engine
-Djboss.server.log.dir=/var/log/ovirt-engine
-Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config
-Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp
-Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp -jar
/usr/share/ovirt-engine-wildfly/jboss-modules.jar -mp
/usr/share/ovirt-engine/modules/common:/usr/share/
ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules
-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -c
ovirt-engine.xml

Mar 08 19:15:10 ovirtengine.localdomain systemd[1]: Starting oVirt Engine...
Mar 08 19:15:10 ovirtengine.localdomain ovirt-engine.py[10370]: 2018-03-08
19:15:10,228+0530 ovirt-engine: INFO _detectJBossVersion:187 Detecting
JBoss version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version',
'-server', '-XX:+TieredCompilation', '-Xms5961M', '-Xmx5961M',
'-Djava.awt.headless=true', '-Dsun.rmi.dgc.client.gcInterval=360',
'-Dsun.rmi.dgc.server.gcInterval=360', '-Djsse.enableSNIExtension=false',
'-XX:+HeapDumpOnOutOfMemoryError',
'-XX:HeapDumpPath=/var/log/ovirt-engine/dump',
'-Djava.util.logging.manager=org.jboss.logmanager',
'-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_
runtime/config/ovirt-engine-logging.properties',
'-Dorg.jboss.resolver.warning=true',
'-Djboss.modules.system.pkgs=org.jboss.byteman',
'-Djboss.server.default.config=ovirt-engine',
'-Djboss.home.dir=/usr/share/ovirt-engine-wildfly',
'-Djboss.server.base.dir=/usr/share/ovirt-engine',
'-Djboss.server.data.dir=/var/lib/ovirt-engine',
'-Djboss.server.log.dir=/var/log/ovirt-engine', '-Djboss.server.config.dir=/
var/lib/ovirt-engine/jboss_runtime/config', '-Djboss.server.temp.dir=/var/
lib/ovirt-engine/jboss_runtime/tmp', '-Djboss.controller.temp.dir=/
var/lib/ovirt-engine/jboss_runtime/tmp', '-jar',
'/usr/share/ovirt-engine-wildfly/jboss-modules.jar',
'-mp', '/usr/share/ovirt-engine/modules/common:/usr/share/
ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules',
'-jaxpmodule', 'javax.xml.jaxp-provider', 'org.jboss.as.standalone', '-v']
Mar 08 19:15:10 ovirtengine.localdomain ovirt-engine.py[10370]: 2018-03-08
19:15:10,668+0530 ovirt-engine: INFO _detectJBossVersion:207 Return code:
1,  | stdout: '[u'WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final)'],
| stderr: '[]'
Mar 08 19:15:10 ovirtengine.localdomain systemd[1]: Started oVirt Engine.


Anyhelp would be Appreaciated.

Thanks,
Hari

DISCLAIMER

The information in this e-mail is confidential and may be subject to legal
privilege. It is intended solely for the addressee. Access to this e-mail
by anyone else is unauthorized. If you have received this communication in
error, please address with the subject heading "Received in error," send to
i...@msystechnologies.com,  then delete the e-mail and destroy any copies of
it. If you are not the intended 

Re: [ovirt-users] Ghost Snapshot Disk

2018-03-08 Thread Enrico

Hi All,
I've a similar question , I can't remove a snapshot. oVirt version is 
the last stable 4.2.1.7
with engine running in non hosted mode. Before remove snapshot I've 
shutdown vm.

These are logs from engine:

2018-03-08 16:57:47,153+01 INFO 
[org.ovirt.engine.core.bll.ProcessDownVmCommand] 
(EE-ManagedThreadFactory-engine-Thread-40253) [711eba7d] Running 
command: ProcessDownVmCommand internal: true.
2018-03-08 16:57:55,589+01 INFO 
[org.ovirt.engine.core.vdsbroker.monitoring.VmsStatisticsFetcher] 
(EE-ManagedThreadFactory-engineScheduled-Thread-71) [] Fetched 8 VMs 
from VDS '85bbf811-1069-4e67-ba86-e50dec9f5da9'
2018-03-08 16:59:00,561+01 INFO 
[org.ovirt.engine.core.bll.snapshots.RemoveDiskSnapshotsCommand] 
(default task-31) [ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Lock Acquired 
to object 
'EngineLock:{exclusiveLocks='[281a869f-8541-49cf-894b-f583bd26083d=DISK]', 
sharedLocks=''}'
2018-03-08 16:59:00,599+01 INFO 
[org.ovirt.engine.core.bll.snapshots.RemoveDiskSnapshotsCommand] 
(EE-ManagedThreadFactory-engine-Thread-40284) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Running command: 
RemoveDiskSnapshotsCommand internal: false. Entities affected : ID: 
01f9b5f2-9e48-4c24-80e5-dca7f1d4d128 Type: VMAction group 
MANIPULATE_VM_SNAPSHOTS with role type USER
2018-03-08 16:59:00,613+01 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-40284) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] EVENT_ID: 
USER_REMOVE_DISK_SNAPSHOT(373), Disk 'SOL_Disk1' from Snapshot(s) 'PHP 
5.6.29' of VM 'SOL-DEV' deletion was initiated by admin@internal-authz.
2018-03-08 16:59:00,615+01 INFO 
[org.ovirt.engine.core.bll.snapshots.RemoveDiskSnapshotsCommand] 
(EE-ManagedThreadFactory-engine-Thread-40284) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Lock freed to object 
'EngineLock:{exclusiveLocks='[281a869f-8541-49cf-894b-f583bd26083d=DISK]', 
sharedLocks=''}'
2018-03-08 16:59:00,993+01 INFO 
[org.ovirt.engine.core.bll.snapshots.RemoveDiskSnapshotsCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-25) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Starting child command 1 of 1, 
image '64e8f28d-6c00-41d8-9f60-26a87d51cb8c'
2018-03-08 16:59:01,026+01 INFO 
[org.ovirt.engine.core.bll.snapshots.ColdMergeSnapshotSingleDiskCommand] 
(EE-ManagedThreadFactory-commandCoordinator-Thread-7) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Running command: 
ColdMergeSnapshotSingleDiskCommand internal: true. Entities affected :  
ID: ---- Type: Storage
2018-03-08 16:59:02,026+01 INFO 
[org.ovirt.engine.core.bll.snapshots.ColdMergeSnapshotSingleDiskCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Command 
'ColdMergeSnapshotSingleDisk' id '2bbd81c3-9fa1-4e48-ab69-5588e1367539' 
executing step 'PREPARE_MERGE'
2018-03-08 16:59:02,048+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.PrepareMergeCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Running command: 
PrepareMergeCommand internal: true. Entities affected :  ID: 
---- Type: Storage
2018-03-08 16:59:02,049+01 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.PrepareMergeVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] START, PrepareMergeVDSCommand( 
SPMColdMergeVDSCommandParameters:{storagePoolId='18d57688-6ed4-43b8-bd7c-0665b55950b7', 
ignoreFailoverLimit='false'}), log id: 447f2b58
2018-03-08 16:59:02,178+01 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.PrepareMergeVDSCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] FINISH, PrepareMergeVDSCommand, 
log id: 447f2b58
2018-03-08 16:59:02,221+01 INFO 
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] CommandAsyncTask::Adding 
CommandMultiAsyncTasks object for command 
'b5983000-d637-47da-8aa2-fb8fec50b480'
2018-03-08 16:59:02,221+01 INFO 
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] 
CommandMultiAsyncTasks::attachTask: Attaching task 
'0f762196-21ed-4b70-995d-729f3ed72425' to command 
'b5983000-d637-47da-8aa2-fb8fec50b480'.
2018-03-08 16:59:02,235+01 INFO 
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] Adding task 
'0f762196-21ed-4b70-995d-729f3ed72425' (Parent Command 'PrepareMerge', 
Parameters Type 
'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters'), polling 
hasn't started yet..
2018-03-08 16:59:02,241+01 INFO 
[org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
(EE-ManagedThreadFactory-engineScheduled-Thread-98) 
[ceb64d67-ce9e-41a8-93dd-ffa512bfd18e] BaseAsyncTask::startPollingTask: 
Starting to poll task 

Re: [ovirt-users] Ghost Snapshot Disk

2018-03-08 Thread Shani Leviim
Hi Lionel,

Can you please share once again your engine log (or at least the relevant
part where that error message occurred)?


*Regards,*

*Shani Leviim*

On Thu, Mar 8, 2018 at 1:56 PM, Lionel Caignec  wrote:

> Hi,
>
> i finished to move my data, but now when i want to remove my old disk i
> get stuck to this error :
> "Cannot detach Virtual Machine Disk. The disk is already configured in a
> snapshot. In order to detach it, remove the disk's snapshots".
> But like i said before there is no snapshot anymore.
> So what can i do? Delete manually inside database? So where?
> Delete manually lvm volume, so how can i find the good one?
>
> Please help ;).
>
> Lionel
>
> - Mail original -
> De: "Lionel Caignec" 
> À: "Shani Leviim" 
> Cc: "users" 
> Envoyé: Mardi 6 Mars 2018 08:22:30
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi,
>
> ok thank you for information (sorry for late response).
>
> I will do that.
>
> - Mail original -
> De: "Shani Leviim" 
> À: "Lionel Caignec" 
> Cc: "users" 
> Envoyé: Mardi 27 Février 2018 14:19:45
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi Lionel,
>
> Sorry for the delay in replying you.
>
> If it's possible from your side, syncing the data and destroying old disk
> sounds about right.
>
> In addition, it seems like you're having this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1509629
> And it was fixed for version 4.1.9. and above.
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
> On Mon, Feb 26, 2018 at 4:18 PM, Lionel Caignec  wrote:
>
> > Ok so i reply myself,
> >
> > Version is 4.1.7.6-1
> >
> > I just delete manually a snapshot previously created. But this is an io
> > intensive vm, whit big disk (2,5To, and 5To).
> >
> > For the log, i cannot paste all my log on public list security reason, i
> > will send you full in private.
> > Here is an extract relevant to my error
> > engine.log-20180210:2018-02-09 23:00:03,200+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-312) [44402a8c-3196-43f0-ba33-307ea78e6f49] EVENT_ID:
> > USER_CREATE_SNAPSHOT(45), Correlation ID: 44402a8c-3196-43f0-ba33-
> 307ea78e6f49,
> > Job ID: 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom
> > ID: null, Custom Event ID: -1, Message: Snapshot
> 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' was initiated by snap_user@internal.
> > engine.log-20180210:2018-02-09 23:01:06,578+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler5) [] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_
> SUCCESS(68),
> > Correlation ID: 44402a8c-3196-43f0-ba33-307ea78e6f49, Job ID:
> > 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom ID: null,
> > Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' has been completed.
> > engine.log-20180220:2018-02-19 17:01:23,800+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-113) [] EVENT_ID: USER_REMOVE_SNAPSHOT(342), Correlation
> ID:
> > 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-
> 3659ac0765da,
> > Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot
> > 'AUTO_7D_zz_nil_20180209_220002' deletion for VM 'zz_nil' was initiated
> > by acaignec@ldap-cines-authz.
> > engine.log-20180221:2018-02-20 22:24:45,174+01 ERROR
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler6) [06a9efa4-1b80-4021-bf3e-41ecebe58a88]
> > EVENT_ID: USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> > 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-
> 3659ac0765da,
> > Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed
> to
> > delete snapshot 'AUTO_7D_zz_nil_20180209_220002' for VM 'zz_nil'.
> >  2018-02-20 22:24:46,266+01 INFO  [org.ovirt.engine.core.bll.
> tasks.SPMAsyncTask]
> > (DefaultQuartzScheduler3) [516079c3] SPMAsyncTask::PollTask: Polling task
> > '34137342-4f30-476d-b16c-1cb7e0ea0ac0' (Parent Command 'DestroyImage',
> > Parameters Type 'org.ovirt.engine.core.common.asynctasks.
> AsyncTaskParameters')
> > returned status 'finished', result 'success'.
> > 2018-02-20 22:24:46,267+01 INFO  [org.ovirt.engine.core.bll.
> tasks.SPMAsyncTask]
> > (DefaultQuartzScheduler3) [516079c3] BaseAsyncTask::onTaskEndSuccess:
> > Task '34137342-4f30-476d-b16c-1cb7e0ea0ac0' (Parent Command
> > 'DestroyImage', Parameters Type 'org.ovirt.engine.core.common.
> asynctasks.AsyncTaskParameters')
> > ended successfully.
> > 2018-02-20 22:24:46,268+01 INFO  [org.ovirt.engine.core.bll.
> tasks.CommandAsyncTask]
> > (DefaultQuartzScheduler3) [516079c3] CommandAsyncTask::
> endActionIfNecessary:
> > All tasks of command 

Re: [ovirt-users] Importing VM fails with "No space left on device"

2018-03-08 Thread Michal Skrivanek


> On 6 Mar 2018, at 11:41, Nicolas Ecarnot  wrote:
> 
> Hello,
> 
> When importing a VM, I'm facing the know bug :
> https://access.redhat.com/solutions/2770791
> 
> QImgError: ecode=1, stdout=[], stderr=['qemu-img: error while writing sector 
> 93569024: No space left on device'
> 
> The difference between my case and what is described in the RH webpage is 
> that I have no "Failed to flush the refcount block cache".
> 
> Here is what I see :
> 
>> ecfbd1a4-f9d2-463a-ade6-def5bd217b43::DEBUG::2018-03-06 
>> 09:57:36,460::utils::718::root::(watchCmd) FAILED:  = ['qemu-img: error 
>> while writing sector 205517952: No space left on device'];  = 1
>> ecfbd1a4-f9d2-463a-ade6-def5bd217b43::ERROR::2018-03-06 
>> 09:57:36,460::image::865::Storage.Image::(copyCollapsed) conversion failure 
>> for volume ac08bc8d-1eea-449a-a102-cf763c6726c8 Traceback (most recent call 
>> last):
>>  File "/usr/share/vdsm/storage/image.py", line 860, in copyCollapsed
>>volume.fmt2str(dstVolFormat))
>>  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 207, in 
>> convert
>>raise QImgError(rc, out, err)
>> QImgError: ecode=1, stdout=[], stderr=['qemu-img: error while writing sector 
>> 205517952: No space left on device'], message=None
>> ecfbd1a4-f9d2-463a-ade6-def5bd217b43::ERROR::2018-03-06 
>> 09:57:36,461::image::878::Storage.Image::(copyCollapsed) Unexpected error
>> Traceback (most recent call last):
>>  File "/usr/share/vdsm/storage/image.py", line 866, in copyCollapsed
>>raise se.CopyImageError(str(e))
>> CopyImageError: low level Image copy failed: ("ecode=1, stdout=[], 
>> stderr=['qemu-img: error while writing sector 205517952: No space left on 
>> device'], message=None",)
> 
> I followed the advices in the RH webpage (check if the figures are correct 
> between the qemu-img sizes and the meta-data file), and they seem to be 
> correct :
> 
> root@serv-hv-adm30:/etc# qemu-img info 
> /rhev/data-center/mnt/serv-lin-adm1.sdis.isere.fr\:_home_vmexport3/be2878c9-2c46-476b-bfae-8b02a4679022/images/a5d68d88-3b54-488d-a61e-7995a1906994/ac08bc8d-1eea-449a-a102-cf763c6726c8
> image: 
> /rhev/data-center/mnt/serv-lin-adm1.sdis.isere.fr:_home_vmexport3/be2878c9-2c46-476b-bfae-8b02a4679022/images/a5d68d88-3b54-488d-a61e-7995a1906994/ac08bc8d-1eea-449a-a102-cf763c6726c8
> file format: qcow2
> virtual size: 98G (105226698752 bytes)
> disk size: 97G
> cluster_size: 65536
> Format specific information:
>compat: 0.10
>refcount bits: 16
> 
> root@serv-hv-adm30:/etc# cat 
> /rhev/data-center/mnt/serv-lin-adm1.sdis.isere.fr\:_home_vmexport3/be2878c9-2c46-476b-bfae-8b02a4679022/images/a5d68d88-3b54-488d-a61e-7995a1906994/ac08bc8d-1eea-449a-a102-cf763c6726c8.meta
>  DOMAIN=be2878c9-2c46-476b-bfae-8b02a4679022
> CTIME=1520318755
> FORMAT=COW
> DISKTYPE=1
> LEGALITY=LEGAL
> SIZE=205520896
> VOLTYPE=LEAF
> DESCRIPTION=
> IMAGE=a5d68d88-3b54-488d-a61e-7995a1906994
> PUUID=----
> MTIME=0
> POOL_UUID=
> TYPE=SPARSE
> EOF
> 
> 
> So I don't see what's wrong?

worth sharing with libguestfs users list, please attach the v2v logs (and 
versions used) so they can take a look

> 
> -- 
> Nicolas ECARNOT
> ___
> 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] Very Slow Console Performance - Windows 10

2018-03-08 Thread Michal Skrivanek


> On 8 Mar 2018, at 14:51, FERNANDO FREDIANI  wrote:
> 
> Hello Gianluca.
> 
> As I mentioned previously I am not sure it has anything to do with SPICE at 
> all, but with the amount of memory the VM has assigned to it. Proff of it is 
> that when you access with via any Remote Desktop protocol it remains slow as 
> if the amount of video memory wasnt being enough and have seen it crashing 
> several times as well.
> 
> 

It does, because we just follow their recommendations:)

> Fernando
> 
> On 07/03/2018 16:59, Gianluca Cecchi wrote:
>> On Wed, Mar 7, 2018 at 7:43 PM, Michal Skrivanek 
>> > wrote:
>> 
>> 
>>> On 7 Mar 2018, at 14:03, FERNANDO FREDIANI >> > wrote:
>>> 
>>> Hello Gianluca
>>> 
>>> Resurrecting this topic. I made the changes as per your instructions below 
>>> on the Engine configuration but it had no effect on the VM graphics memory. 
>>> Is it necessary to restart the Engine after adding the 
>>> 20-overload.properties file ? Also I don't think is necessary to do any 
>>> changes on the hosts right ?
>>> 
>> correct on both
>> 
>> 
>> Hello Fernando and Michal,
>> at that time I was doing some tests both with plain virt-manager and oVirt 
>> for some Windows 10 VMs.
>> More recently I haven't done anything in that regard again, unfortunately.
>> After you have done what you did suggest yourself and Michal confirmed, then 
>> you can test powering off and then on again the VM (so that the new qemu-kvm 
>> process starts with the new parameters) and let us know if you enjoy better 
>> experience, so that we can ask for adoption as a default (eg for VMs 
>> configured as desktops) or as a custom property to give
>>  
>>> On the recent updates has anything changed in the terms on how to change 
>>> the video memory assigned to any given VM. I guess it is something that has 
>>> been forgotten overtime, specially if you are running a VDI-like 
>>> environment whcih depends very much on the video memory.
>>> 
>> there were no changes recently, these are the most recent guidelines we got 
>> from SPICE people. They might be out of date. Would be good to raise that 
>> specifically (the performance difference for default sizes) to them, can you 
>> narrow it down and post to spice-de...@lists.freedesktop.org 
>> ?
>> 
>> 
>> This could be very useful too 
>> 
>> Cheers,
>> Gianluca
>> 
> 

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


[ovirt-users] Updated invitation: oVirt System Test Hackathon @ Tue Mar 13, 2018 (users@ovirt.org)

2018-03-08 Thread sbonazzo
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART;VALUE=DATE:20180313
DTEND;VALUE=DATE:20180314
DTSTAMP:20180308T142116Z
ORGANIZER;CN=sbona...@redhat.com:mailto:sbona...@redhat.com
UID:08ne69mtqlj4rsf32331226...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sbona...@redhat.com;X-NUM-GUESTS=0:mailto:sbona...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=de...@ovirt.org;X-NUM-GUESTS=0:mailto:de...@ovirt.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
CREATED:20180308T130823Z
DESCRIPTION:Please join us in an ovirt-system-tests hackathon pushing new t
 ests and improving existing ones for testing Hosted Engine.Git repo
  is available: https://www.google.com/url?q=https%3A%2F%2Fgerrit.o
 virt.org%2Fgitweb%3Fp%3Dovirt-system-tests.git%3Ba%3Dsummary\;sa=D\
 ;ust=1520522907926000\;usg=AFQjCNHiWd7myztG_ebonGlsjNat279l_Q" target="
 _blank">https://gerrit.ovirt.org/gitweb?p=ovirt-system-tests.git\;a=summary
 Integration\, Node and CI team will be available for helping in
  the effort and reviewing patches.Here's a public trello board trac
 king the efforts:\;https://trello.com/b/Pp76YoRL;>https://tre
 llo.com/b/Pp76YoRL\n\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\nPlease do not edit this section of 
 the description.\n\nView your event at https://www.google.com/calendar/even
 t?action=VIEW=MDhuZTY5bXRxbGo0cnNmMzIzMzEyMjYwZnEgdXNlcnNAb3ZpcnQub3Jn&
 tok=MTkjc2JvbmF6em9AcmVkaGF0LmNvbTM0ZGExOGE3NjYwMTM2Y2NlN2E3OTY2NTQ4NWEzZjA
 4ZWM4NGU4Mjk=Europe/Rome=en.\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20180308T142116Z
LOCATION:#ovirt IRC channel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:oVirt System Test Hackathon
TRANSP:TRANSPARENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H10M0S
END:VALARM
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Very Slow Console Performance - Windows 10

2018-03-08 Thread FERNANDO FREDIANI

Hello Gianluca.

As I mentioned previously I am not sure it has anything to do with SPICE 
at all, but with the amount of memory the VM has assigned to it. Proff 
of it is that when you access with via any Remote Desktop protocol it 
remains slow as if the amount of video memory wasnt being enough and 
have seen it crashing several times as well.


Fernando


On 07/03/2018 16:59, Gianluca Cecchi wrote:
On Wed, Mar 7, 2018 at 7:43 PM, Michal Skrivanek 
> wrote:





On 7 Mar 2018, at 14:03, FERNANDO FREDIANI
> wrote:

Hello Gianluca

Resurrecting this topic. I made the changes as per your
instructions below on the Engine configuration but it had no
effect on the VM graphics memory. Is it necessary to restart the
Engine after adding the 20-overload.properties file ? Also I
don't think is necessary to do any changes on the hosts right ?


correct on both



Hello Fernando and Michal,
at that time I was doing some tests both with plain virt-manager and 
oVirt for some Windows 10 VMs.

More recently I haven't done anything in that regard again, unfortunately.
After you have done what you did suggest yourself and Michal 
confirmed, then you can test powering off and then on again the VM (so 
that the new qemu-kvm process starts with the new parameters) and let 
us know if you enjoy better experience, so that we can ask for 
adoption as a default (eg for VMs configured as desktops) or as a 
custom property to give



On the recent updates has anything changed in the terms on how to
change the video memory assigned to any given VM. I guess it is
something that has been forgotten overtime, specially if you are
running a VDI-like environment whcih depends very much on the
video memory.


there were no changes recently, these are the most recent
guidelines we got from SPICE people. They might be out of date.
Would be good to raise that specifically (the performance
difference for default sizes) to them, can you narrow it down and
post to spice-de...@lists.freedesktop.org
?



This could be very useful too

Cheers,
Gianluca



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


Re: [ovirt-users] ovirt 4.2 gluster configuration

2018-03-08 Thread Sahina Bose
On Wed, Feb 14, 2018 at 11:08 PM, Edoardo Mazza  wrote:

> Hi all,
> Scenario:
> 3 nodes each with 3 interfaces: 1 for management, 1 for gluster, 1 for VMs
> Management interface has it own name and its own ip (es. name = ov1, ip=
> 192.168.1.1/24), the same is for gluster interface which has its own name
> and its own ip (es. name = gluster1, ip= 192.168.2.1/24).
>
> When configuring bricks from Ovirt Management tools I get the error: "no
> uuid for the name ov1".
>

Could you provide the relevant log from engine.log?


> Network for gluster communication has been defined on network/interface
> gluster1.
>
> What's wrong with this configuration?
>
> Thanks in advance.
>
> Edoardo
>
>
> ___
> 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] Gluster Snapshot Schedule Failing on 4.2.1

2018-03-08 Thread Sahina Bose
Thanks for your report, we will take a look. Could you attach the
engine.log to the bug?

On Wed, Mar 7, 2018 at 11:20 PM, Hesham Ahmed  wrote:

> I am having issues with the Gluster Snapshot UI since upgrade to 4.2 and
> now with 4.2.1. The UI doesn't appear as I explained in the bug report:
> https://bugzilla.redhat.com/show_bug.cgi?id=1530186
>
> I can now see the UI when I clear the cookies and try the snapshots UI
> from within the volume details screen, however scheduled snapshots are not
> being created. The engine log shows a single error:
>
> 2018-03-07 20:00:00,051+03 ERROR 
> [org.ovirt.engine.core.utils.timer.JobWrapper]
> (QuartzOvirtDBScheduler1) [12237b15] Failed to invoke scheduled method
> onTimer: null
>
> Anyone scheduling snapshots successfully wtih 4.2?
>
> ___
> 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] Pre-snapshot scripts to run before live snapshot

2018-03-08 Thread Gianluca Cecchi
On Thu, Mar 8, 2018 at 9:47 AM, Yaniv Kaul  wrote:

>
>
>>
>> Now I would like to do something similar for a Windows 2008 R2 x64 VM.
>>
>
> Windows is somewhat different. In fact, it's a bit better than Linux
> (ARGH! but it's true) with its support for VSS - an API for applications to
> register to events such as backup.
> You should have the QEMU guest agent VSS provider installed (Note: need to
> see where's the latest bits - I found[1]).
>
> Then, if your application supports VSS, you are all good (I believe).
> Y.
>
> [1] https://fedorapeople.org/groups/virt/virtio-win/direct-
> downloads/archive-qemu-ga/qemu-ga-win-7.4.5-1/
>
>>
>>

Yes, I see that there are some VSS events intercepted in event viewer when
I run a snapshot.
But in my particulr case I have an Oracle database used for Business
Intelligence that for performance reasons is not in archive log mode, so it
can't interact with VSS layer.
Due to its nature I can shutdown this database during the evening and then
reopen it before the ETL processing happens during the night.
So in that time frame I would like to have a pre-snapshot operation of
shutdown db and post-snapshot operation of start db.
And then I clone the snapshot and export it in case I have to restore the
"blob" as a consistent whole

It is for this reason that I'm trying to verify if the freeze-hook is
usable also in WIndows environments (based on some threads I find it should
be...)

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


Re: [ovirt-users] Tunable parameters in ovirt engine

2018-03-08 Thread Hari Prasanth Loganathan
Hi Juan,

Could you help me with this question :

1) Is there a limitation in using the same token? Like one token can server
only X number of request?

On Thu, Mar 8, 2018 at 6:01 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Hi Juan,
>
> Now we got a clue, I try to hit 100 concurrent request in which 1 request
> got failed with the 503 error, I observed this in apache ssl_access.log
>
> 172.30.36.167 - - [08/Mar/2018:17:22:42 +0530] "GET /ovirt-engine/api/vms/
> HTTP/1.1" 503 299
>
> Is it thrown from Apache / ovirt engine?
>
>
>
> On Thu, Mar 8, 2018 at 5:15 PM, Juan Hernández 
> wrote:
>
>> I think the configuration is good. There may be some connections that the
>> server is closing before the client expected, but that is normal, in my
>> opinion.
>>
>>
>> On 03/08/2018 12:34 PM, Hari Prasanth Loganathan wrote:
>>
>>> This is the only error message we received from ab.
>>>
>>> I googled it and found that it is due to the connection drop. So It would
>>> be Great, If you could check my Apache server configuration I shared in
>>> the
>>> thread and let me know your thoughts on this.
>>>
>>> Thanks,
>>> Hari
>>>
>>> On Thu, Mar 8, 2018 at 4:56 PM, Juan Hernández 
>>> wrote:
>>>
>>> But other than those SSL error messages, are the connections really
 failing? Can you share the results reported by "ab"?


 On 03/08/2018 12:16 PM, Hari Prasanth Loganathan wrote:

 No Juan, It is not working with any benchmark / application tool. It
> fails
> with the same error SSL handshake failed (5).
>
> Could you let me know the configuration of Apache web server is
> correct?
>
> Thanks,
> Hari
>
> On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández 
> wrote:
>
> If you are still having problems I am inclined to think that it is a
>
>> client issue. For example, I'd try to remove the "-k" option from the
>> "ab"
>> command. If you use keep alive the server may decide anyhow to close
>> the
>> connection after certain number of requests, even if the client asks
>> to
>> keep it alive. Some clients don't handle that perfectly, "ab" may have
>> that
>> problem. If that makes the SSL error messages disappear then I think
>> you
>> can safely ignore them, and restore the "-k" option, if you want.
>>
>> On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:
>>
>> Thanks Juan for your response. Appreciate it.
>>
>>> But for some reason still, I am facing the same SSL handshake failed
>>> (5).
>>> Could you please check this configuration and let me know the issue
>>> in
>>> my
>>> ovirt engine environment.
>>>
>>> *Configuration of Apache server:*
>>>
>>>
>>> 1) httpd version,
>>>
>>> # httpd -v
>>> Server version: Apache/2.4.6 (CentOS)
>>> Server built:   Oct 19 2017 20:39:16
>>>
>>> 2) I checked the status using the following command,
>>>
>>> # systemctl status httpd -l
>>> ● httpd.service - The Apache HTTP Server
>>>   Loaded: loaded (/usr/lib/systemd/system/httpd.service;
>>> enabled;
>>> vendor
>>> preset: disabled)
>>>   Active: active (running) since Wed 2018-03-07 23:46:32 IST;
>>> 1min
>>> 55s
>>> ago
>>> Docs: man:httpd(8)
>>>   man:apachectl(8)
>>>  Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
>>> status=0/SUCCESS)
>>> Main PID: 4359 (httpd)
>>>   Status: "Total requests: 264; Current requests/sec: 0.1;
>>> Current
>>> traffic: 204 B/sec"
>>>   CGroup: /system.slice/httpd.service
>>>   ├─4359 /usr/sbin/httpd -DFOREGROUND
>>>   ├─4360 /usr/sbin/httpd -DFOREGROUND
>>>   ├─4362 /usr/sbin/httpd -DFOREGROUND
>>>   ├─5100 /usr/sbin/httpd -DFOREGROUND
>>>   ├─5386 /usr/sbin/httpd -DFOREGROUND
>>>   ├─5415 /usr/sbin/httpd -DFOREGROUND
>>>   └─5416 /usr/sbin/httpd -DFOREGROUND
>>>
>>> 3) Since the httpd is pointing to the path :
>>> /usr/lib/systemd/system/httpd.service
>>>
>>> vi /usr/lib/systemd/system/httpd.service
>>>
>>> [Unit]
>>> Description=The Apache HTTP Server
>>> After=network.target remote-fs.target nss-lookup.target
>>> Documentation=man:httpd(8)
>>> Documentation=man:apachectl(8)
>>>
>>> [Service]
>>> Type=notify
>>> EnvironmentFile=/etc/sysconfig/httpd
>>> ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
>>> ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
>>> ExecStop=/bin/kill -WINCH ${MAINPID}
>>> # We want systemd to give httpd some time to finish gracefully, but
>>> still
>>> want
>>> # it to kill httpd after TimeoutStopSec if something went wrong
>>> during
>>> 

[ovirt-users] Invitation: oVirt System Test Hackathon @ Tue Mar 13, 2018 (users@ovirt.org)

2018-03-08 Thread sbonazzo
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART;VALUE=DATE:20180313
DTEND;VALUE=DATE:20180314
DTSTAMP:20180308T130823Z
ORGANIZER;CN=sbona...@redhat.com:mailto:sbona...@redhat.com
UID:08ne69mtqlj4rsf32331226...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=sbona...@redhat.com;X-NUM-GUESTS=0:mailto:sbona...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=de...@ovirt.org;X-NUM-GUESTS=0:mailto:de...@ovirt.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
CREATED:20180308T130823Z
DESCRIPTION:Please join us in an ovirt-system-tests hackathon pushing new t
 ests and improving existing ones for testing Hosted Engine.\n\nGit repo is 
 available: https://gerrit.ovirt.org/gitweb?p=ovirt-system-tests.git\;a=summ
 ary\n\nIntegration\, Node and CI team will be available for helping in the 
 effort and reviewing patches.\n\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\nPlease do not edit this sect
 ion of the description.\n\nView your event at https://www.google.com/calend
 ar/event?action=VIEW=MDhuZTY5bXRxbGo0cnNmMzIzMzEyMjYwZnEgdXNlcnNAb3Zpcn
 Qub3Jn=MTkjc2JvbmF6em9AcmVkaGF0LmNvbTM0ZGExOGE3NjYwMTM2Y2NlN2E3OTY2NTQ4
 NWEzZjA4ZWM4NGU4Mjk=Europe/Rome=en.\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20180308T130823Z
LOCATION:#ovirt IRC channel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:oVirt System Test Hackathon
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Tunable parameters in ovirt engine

2018-03-08 Thread Hari Prasanth Loganathan
Hi Juan,

Now we got a clue, I try to hit 100 concurrent request in which 1 request
got failed with the 503 error, I observed this in apache ssl_access.log

172.30.36.167 - - [08/Mar/2018:17:22:42 +0530] "GET /ovirt-engine/api/vms/
HTTP/1.1" 503 299

Is it thrown from Apache / ovirt engine?



On Thu, Mar 8, 2018 at 5:15 PM, Juan Hernández  wrote:

> I think the configuration is good. There may be some connections that the
> server is closing before the client expected, but that is normal, in my
> opinion.
>
>
> On 03/08/2018 12:34 PM, Hari Prasanth Loganathan wrote:
>
>> This is the only error message we received from ab.
>>
>> I googled it and found that it is due to the connection drop. So It would
>> be Great, If you could check my Apache server configuration I shared in
>> the
>> thread and let me know your thoughts on this.
>>
>> Thanks,
>> Hari
>>
>> On Thu, Mar 8, 2018 at 4:56 PM, Juan Hernández 
>> wrote:
>>
>> But other than those SSL error messages, are the connections really
>>> failing? Can you share the results reported by "ab"?
>>>
>>>
>>> On 03/08/2018 12:16 PM, Hari Prasanth Loganathan wrote:
>>>
>>> No Juan, It is not working with any benchmark / application tool. It
 fails
 with the same error SSL handshake failed (5).

 Could you let me know the configuration of Apache web server is correct?

 Thanks,
 Hari

 On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández 
 wrote:

 If you are still having problems I am inclined to think that it is a

> client issue. For example, I'd try to remove the "-k" option from the
> "ab"
> command. If you use keep alive the server may decide anyhow to close
> the
> connection after certain number of requests, even if the client asks to
> keep it alive. Some clients don't handle that perfectly, "ab" may have
> that
> problem. If that makes the SSL error messages disappear then I think
> you
> can safely ignore them, and restore the "-k" option, if you want.
>
> On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:
>
> Thanks Juan for your response. Appreciate it.
>
>> But for some reason still, I am facing the same SSL handshake failed
>> (5).
>> Could you please check this configuration and let me know the issue in
>> my
>> ovirt engine environment.
>>
>> *Configuration of Apache server:*
>>
>>
>> 1) httpd version,
>>
>> # httpd -v
>> Server version: Apache/2.4.6 (CentOS)
>> Server built:   Oct 19 2017 20:39:16
>>
>> 2) I checked the status using the following command,
>>
>> # systemctl status httpd -l
>> ● httpd.service - The Apache HTTP Server
>>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
>> vendor
>> preset: disabled)
>>   Active: active (running) since Wed 2018-03-07 23:46:32 IST; 1min
>> 55s
>> ago
>> Docs: man:httpd(8)
>>   man:apachectl(8)
>>  Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
>> status=0/SUCCESS)
>> Main PID: 4359 (httpd)
>>   Status: "Total requests: 264; Current requests/sec: 0.1; Current
>> traffic: 204 B/sec"
>>   CGroup: /system.slice/httpd.service
>>   ├─4359 /usr/sbin/httpd -DFOREGROUND
>>   ├─4360 /usr/sbin/httpd -DFOREGROUND
>>   ├─4362 /usr/sbin/httpd -DFOREGROUND
>>   ├─5100 /usr/sbin/httpd -DFOREGROUND
>>   ├─5386 /usr/sbin/httpd -DFOREGROUND
>>   ├─5415 /usr/sbin/httpd -DFOREGROUND
>>   └─5416 /usr/sbin/httpd -DFOREGROUND
>>
>> 3) Since the httpd is pointing to the path :
>> /usr/lib/systemd/system/httpd.service
>>
>> vi /usr/lib/systemd/system/httpd.service
>>
>> [Unit]
>> Description=The Apache HTTP Server
>> After=network.target remote-fs.target nss-lookup.target
>> Documentation=man:httpd(8)
>> Documentation=man:apachectl(8)
>>
>> [Service]
>> Type=notify
>> EnvironmentFile=/etc/sysconfig/httpd
>> ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
>> ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
>> ExecStop=/bin/kill -WINCH ${MAINPID}
>> # We want systemd to give httpd some time to finish gracefully, but
>> still
>> want
>> # it to kill httpd after TimeoutStopSec if something went wrong during
>> the
>> # graceful stop. Normally, Systemd sends SIGTERM signal right after
>> the
>> # ExecStop, which would kill httpd. We are sending useless SIGCONT
>> here
>> to
>> give
>> # httpd time to finish.
>> KillSignal=SIGCONT
>> PrivateTmp=true
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>>
>> 4) As per the above command I found the env file is available
>> '/etc/sysconfig/httpd'

Re: [ovirt-users] Power off VM from VM portal

2018-03-08 Thread Tomas Jelinek
On Wed, Mar 7, 2018 at 2:36 PM, Nicolas Ecarnot  wrote:

> Le 07/03/2018 à 13:42, Alexandr Krivulya a écrit :
>
>>
>>
>> 06.03.2018 17:39, Nicolas Ecarnot пишет:
>>
>>> Le 06/03/2018 à 16:02, Alexandr Krivulya a écrit :
>>>
 Hi,

 is there any way to power off VM from VM portal (4.2.1.7)? I can't find
 "power off" button, just "shutdown".


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

>>>
>>> Hello Alexandr,
>>>
>>> After having clicked on the VM link, you'll notice that on the right of
>>> the Shutdown button is an arrow allowing you to access to the Power Off
>>> feature.
>>>
>>
>> I cant find this arrow on Shutdown button
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> Oh sorry I answered in the context of admin portal.
> Indeed, in the VM portal, I neither see this poweroff button.
>

right, I have opened an issue to track this
https://github.com/oVirt/ovirt-web-ui/issues/522


>
> --
> Nicolas ECARNOT
>
> ___
> 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] Tunable parameters in ovirt engine

2018-03-08 Thread Juan Hernández
I think the configuration is good. There may be some connections that 
the server is closing before the client expected, but that is normal, in 
my opinion.


On 03/08/2018 12:34 PM, Hari Prasanth Loganathan wrote:

This is the only error message we received from ab.

I googled it and found that it is due to the connection drop. So It would
be Great, If you could check my Apache server configuration I shared in the
thread and let me know your thoughts on this.

Thanks,
Hari

On Thu, Mar 8, 2018 at 4:56 PM, Juan Hernández  wrote:


But other than those SSL error messages, are the connections really
failing? Can you share the results reported by "ab"?


On 03/08/2018 12:16 PM, Hari Prasanth Loganathan wrote:


No Juan, It is not working with any benchmark / application tool. It fails
with the same error SSL handshake failed (5).

Could you let me know the configuration of Apache web server is correct?

Thanks,
Hari

On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández 
wrote:

If you are still having problems I am inclined to think that it is a

client issue. For example, I'd try to remove the "-k" option from the
"ab"
command. If you use keep alive the server may decide anyhow to close the
connection after certain number of requests, even if the client asks to
keep it alive. Some clients don't handle that perfectly, "ab" may have
that
problem. If that makes the SSL error messages disappear then I think you
can safely ignore them, and restore the "-k" option, if you want.

On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:

Thanks Juan for your response. Appreciate it.

But for some reason still, I am facing the same SSL handshake failed
(5).
Could you please check this configuration and let me know the issue in
my
ovirt engine environment.

*Configuration of Apache server:*


1) httpd version,

# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:   Oct 19 2017 20:39:16

2) I checked the status using the following command,

# systemctl status httpd -l
● httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
vendor
preset: disabled)
  Active: active (running) since Wed 2018-03-07 23:46:32 IST; 1min
55s
ago
Docs: man:httpd(8)
  man:apachectl(8)
 Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
status=0/SUCCESS)
Main PID: 4359 (httpd)
  Status: "Total requests: 264; Current requests/sec: 0.1; Current
traffic: 204 B/sec"
  CGroup: /system.slice/httpd.service
  ├─4359 /usr/sbin/httpd -DFOREGROUND
  ├─4360 /usr/sbin/httpd -DFOREGROUND
  ├─4362 /usr/sbin/httpd -DFOREGROUND
  ├─5100 /usr/sbin/httpd -DFOREGROUND
  ├─5386 /usr/sbin/httpd -DFOREGROUND
  ├─5415 /usr/sbin/httpd -DFOREGROUND
  └─5416 /usr/sbin/httpd -DFOREGROUND

3) Since the httpd is pointing to the path :
/usr/lib/systemd/system/httpd.service

vi /usr/lib/systemd/system/httpd.service

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=man:httpd(8)
Documentation=man:apachectl(8)

[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/bin/kill -WINCH ${MAINPID}
# We want systemd to give httpd some time to finish gracefully, but
still
want
# it to kill httpd after TimeoutStopSec if something went wrong during
the
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
# ExecStop, which would kill httpd. We are sending useless SIGCONT here
to
give
# httpd time to finish.
KillSignal=SIGCONT
PrivateTmp=true

[Install]
WantedBy=multi-user.target


4) As per the above command I found the env file is available
'/etc/sysconfig/httpd'

vi /etc/sysconfig/httpd

#
# This file can be used to set additional environment variables for
# the httpd process, or pass additional options to the httpd
# executable.
#
# Note: With previous versions of httpd, the MPM could be changed by
# editing an "HTTPD" variable here.  With the current version, that
# variable is now ignored.  The MPM is a loadable module, and the
# choice of MPM can be changed by editing the configuration file
/etc/httpd/conf.modules.d/00-mpm.conf
#

#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
#OPTIONS=

#
# This setting ensures the httpd process is started in the "C" locale
# by default.  (Some modules will not behave correctly if
# case-sensitive string comparisons are performed in a different
# locale.)
#
LANG=C


5) As per the above command, I found that the conf fileis available in
the
path : /etc/httpd/conf.modules.d/00-mpm.conf

vi /etc/httpd/conf.modules.d/00-mpm.conf

# Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines:

# prefork MPM: Implements 

Re: [ovirt-users] Fibre Channel Protocol (FCP)

2018-03-08 Thread maoz zadok
it works! thank you!

On Thu, Mar 8, 2018 at 1:38 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> On Thu, Mar 8, 2018 at 12:34 PM, maoz zadok  wrote:
> > Luca many thanks! that was fast and good! one last thing, how do I
> migrate
> > to the new data domain? I use oVirt version 4.2.0
> > Thanks again!
> >
>
> Hello,
>
> you select the vm disks you want to move and with the right click you
> select the menù entry "Move". You'll get a windows asking for the
> destination storage domain.
>
> Once set the values, you confirm and disk will be moved.
>
> https://www.ovirt.org/documentation/admin-guide/
> chap-Virtual_Machine_Disks/#moving-a-virtual-disk
>
> Luca
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fibre Channel Protocol (FCP)

2018-03-08 Thread Luca 'remix_tj' Lorenzetto
On Thu, Mar 8, 2018 at 12:34 PM, maoz zadok  wrote:
> Luca many thanks! that was fast and good! one last thing, how do I migrate
> to the new data domain? I use oVirt version 4.2.0
> Thanks again!
>

Hello,

you select the vm disks you want to move and with the right click you
select the menù entry "Move". You'll get a windows asking for the
destination storage domain.

Once set the values, you confirm and disk will be moved.

https://www.ovirt.org/documentation/admin-guide/chap-Virtual_Machine_Disks/#moving-a-virtual-disk

Luca


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fibre Channel Protocol (FCP)

2018-03-08 Thread maoz zadok
Luca many thanks! that was fast and good! one last thing, how do I migrate
to the new data domain? I use oVirt version 4.2.0
Thanks again!

On Thu, Mar 8, 2018 at 1:23 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> Hello Maoz,
>
> i'm serving more than 300 vms in fc setup (and growing).
>
> On Thu, Mar 8, 2018 at 12:16 PM, maoz zadok  wrote:
> > Hello All,
> > I connected existing data center with NFS storage domain to a new
> > Fiber-Channel storage domain according to the following guide, and I have
> > three questions.
> > https://www.ovirt.org/documentation/install-guide/
> chap-Configuring_Storage/
> >
> > 1. why does the storage domain asks me to "Use Host"?
>
> Because there are some operations (lvm initialization & so on) to be
> done while setting up the volumes on FC storage. These operations will
> be performed by the given host
>
> >
> > does it mean that if this host is down there is no access to the FC
> storage
> > or the next available host elected to manage the FC storage?
>
> No, storage is mapped by all the hosts and accessed directly
>
> > does it mean that all the traffic to my storage is routed via the
> selected
> > host?
>
> Absolutely no!
>
> > what is the best practice, do I need to split the workload to other
> hosts as
> > well by letting each host manage one small LUN instead of letting one
> host
> > manage all LUNs or one big LUN?
>
> I supposte that your question is related to the way that FC is
> managed. Since every host sees all the drives, there question is no
> more appropriate.
>
>
> >
> > 2. is it possible to set the newly created fiber-channel storage(data
> > domain) as master?
>
> IIRC if you set to maintenance the existing master, another one will
> be selected.
>
> >
> > 3. can I easily migrate all VM disks to the FC storage instead of the
> NFS?
> >
>
> Sure, nfs storage domain or fc storage domain doesn't make difference
> in terms of interaction. You can move disks from one to the other
> without issues.
>
> Luca
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Tunable parameters in ovirt engine

2018-03-08 Thread Hari Prasanth Loganathan
This is the only error message we received from ab.

I googled it and found that it is due to the connection drop. So It would
be Great, If you could check my Apache server configuration I shared in the
thread and let me know your thoughts on this.

Thanks,
Hari

On Thu, Mar 8, 2018 at 4:56 PM, Juan Hernández  wrote:

> But other than those SSL error messages, are the connections really
> failing? Can you share the results reported by "ab"?
>
>
> On 03/08/2018 12:16 PM, Hari Prasanth Loganathan wrote:
>
>> No Juan, It is not working with any benchmark / application tool. It fails
>> with the same error SSL handshake failed (5).
>>
>> Could you let me know the configuration of Apache web server is correct?
>>
>> Thanks,
>> Hari
>>
>> On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández 
>> wrote:
>>
>> If you are still having problems I am inclined to think that it is a
>>> client issue. For example, I'd try to remove the "-k" option from the
>>> "ab"
>>> command. If you use keep alive the server may decide anyhow to close the
>>> connection after certain number of requests, even if the client asks to
>>> keep it alive. Some clients don't handle that perfectly, "ab" may have
>>> that
>>> problem. If that makes the SSL error messages disappear then I think you
>>> can safely ignore them, and restore the "-k" option, if you want.
>>>
>>> On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:
>>>
>>> Thanks Juan for your response. Appreciate it.
 But for some reason still, I am facing the same SSL handshake failed
 (5).
 Could you please check this configuration and let me know the issue in
 my
 ovirt engine environment.

 *Configuration of Apache server:*


 1) httpd version,

 # httpd -v
 Server version: Apache/2.4.6 (CentOS)
 Server built:   Oct 19 2017 20:39:16

 2) I checked the status using the following command,

 # systemctl status httpd -l
 ● httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
 vendor
 preset: disabled)
  Active: active (running) since Wed 2018-03-07 23:46:32 IST; 1min
 55s
 ago
Docs: man:httpd(8)
  man:apachectl(8)
 Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
 status=0/SUCCESS)
Main PID: 4359 (httpd)
  Status: "Total requests: 264; Current requests/sec: 0.1; Current
 traffic: 204 B/sec"
  CGroup: /system.slice/httpd.service
  ├─4359 /usr/sbin/httpd -DFOREGROUND
  ├─4360 /usr/sbin/httpd -DFOREGROUND
  ├─4362 /usr/sbin/httpd -DFOREGROUND
  ├─5100 /usr/sbin/httpd -DFOREGROUND
  ├─5386 /usr/sbin/httpd -DFOREGROUND
  ├─5415 /usr/sbin/httpd -DFOREGROUND
  └─5416 /usr/sbin/httpd -DFOREGROUND

 3) Since the httpd is pointing to the path :
 /usr/lib/systemd/system/httpd.service

 vi /usr/lib/systemd/system/httpd.service

 [Unit]
 Description=The Apache HTTP Server
 After=network.target remote-fs.target nss-lookup.target
 Documentation=man:httpd(8)
 Documentation=man:apachectl(8)

 [Service]
 Type=notify
 EnvironmentFile=/etc/sysconfig/httpd
 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
 ExecStop=/bin/kill -WINCH ${MAINPID}
 # We want systemd to give httpd some time to finish gracefully, but
 still
 want
 # it to kill httpd after TimeoutStopSec if something went wrong during
 the
 # graceful stop. Normally, Systemd sends SIGTERM signal right after the
 # ExecStop, which would kill httpd. We are sending useless SIGCONT here
 to
 give
 # httpd time to finish.
 KillSignal=SIGCONT
 PrivateTmp=true

 [Install]
 WantedBy=multi-user.target


 4) As per the above command I found the env file is available
 '/etc/sysconfig/httpd'

 vi /etc/sysconfig/httpd

 #
 # This file can be used to set additional environment variables for
 # the httpd process, or pass additional options to the httpd
 # executable.
 #
 # Note: With previous versions of httpd, the MPM could be changed by
 # editing an "HTTPD" variable here.  With the current version, that
 # variable is now ignored.  The MPM is a loadable module, and the
 # choice of MPM can be changed by editing the configuration file
 /etc/httpd/conf.modules.d/00-mpm.conf
 #

 #
 # To pass additional options (for instance, -D definitions) to the
 # httpd binary at startup, set OPTIONS here.
 #
 #OPTIONS=

 #
 # This setting ensures the httpd process is started in the "C" locale
 # by default.  (Some modules will not behave correctly if
 # case-sensitive string comparisons are 

Re: [ovirt-users] Tunable parameters in ovirt engine

2018-03-08 Thread Juan Hernández
But other than those SSL error messages, are the connections really 
failing? Can you share the results reported by "ab"?


On 03/08/2018 12:16 PM, Hari Prasanth Loganathan wrote:

No Juan, It is not working with any benchmark / application tool. It fails
with the same error SSL handshake failed (5).

Could you let me know the configuration of Apache web server is correct?

Thanks,
Hari

On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández  wrote:


If you are still having problems I am inclined to think that it is a
client issue. For example, I'd try to remove the "-k" option from the "ab"
command. If you use keep alive the server may decide anyhow to close the
connection after certain number of requests, even if the client asks to
keep it alive. Some clients don't handle that perfectly, "ab" may have that
problem. If that makes the SSL error messages disappear then I think you
can safely ignore them, and restore the "-k" option, if you want.

On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:


Thanks Juan for your response. Appreciate it.
But for some reason still, I am facing the same SSL handshake failed (5).
Could you please check this configuration and let me know the issue in my
ovirt engine environment.

*Configuration of Apache server:*


1) httpd version,

# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:   Oct 19 2017 20:39:16

2) I checked the status using the following command,

# systemctl status httpd -l
● httpd.service - The Apache HTTP Server
 Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
vendor
preset: disabled)
 Active: active (running) since Wed 2018-03-07 23:46:32 IST; 1min 55s
ago
   Docs: man:httpd(8)
 man:apachectl(8)
Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
status=0/SUCCESS)
   Main PID: 4359 (httpd)
 Status: "Total requests: 264; Current requests/sec: 0.1; Current
traffic: 204 B/sec"
 CGroup: /system.slice/httpd.service
 ├─4359 /usr/sbin/httpd -DFOREGROUND
 ├─4360 /usr/sbin/httpd -DFOREGROUND
 ├─4362 /usr/sbin/httpd -DFOREGROUND
 ├─5100 /usr/sbin/httpd -DFOREGROUND
 ├─5386 /usr/sbin/httpd -DFOREGROUND
 ├─5415 /usr/sbin/httpd -DFOREGROUND
 └─5416 /usr/sbin/httpd -DFOREGROUND

3) Since the httpd is pointing to the path :
/usr/lib/systemd/system/httpd.service

vi /usr/lib/systemd/system/httpd.service

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=man:httpd(8)
Documentation=man:apachectl(8)

[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
ExecStop=/bin/kill -WINCH ${MAINPID}
# We want systemd to give httpd some time to finish gracefully, but still
want
# it to kill httpd after TimeoutStopSec if something went wrong during the
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
# ExecStop, which would kill httpd. We are sending useless SIGCONT here to
give
# httpd time to finish.
KillSignal=SIGCONT
PrivateTmp=true

[Install]
WantedBy=multi-user.target


4) As per the above command I found the env file is available
'/etc/sysconfig/httpd'

vi /etc/sysconfig/httpd

#
# This file can be used to set additional environment variables for
# the httpd process, or pass additional options to the httpd
# executable.
#
# Note: With previous versions of httpd, the MPM could be changed by
# editing an "HTTPD" variable here.  With the current version, that
# variable is now ignored.  The MPM is a loadable module, and the
# choice of MPM can be changed by editing the configuration file
/etc/httpd/conf.modules.d/00-mpm.conf
#

#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
#OPTIONS=

#
# This setting ensures the httpd process is started in the "C" locale
# by default.  (Some modules will not behave correctly if
# case-sensitive string comparisons are performed in a different
# locale.)
#
LANG=C


5) As per the above command, I found that the conf fileis available in the
path : /etc/httpd/conf.modules.d/00-mpm.conf

vi /etc/httpd/conf.modules.d/00-mpm.conf

# Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines:

# prefork MPM: Implements a non-threaded, pre-forking web server
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

# worker MPM: Multi-Processing Module implementing a hybrid
# multi-threaded multi-process web server
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
#
LoadModule mpm_worker_module modules/mod_mpm_worker.so

# event MPM: A variant of the worker MPM with the goal of consuming
# threads only for connections with active processing
# See: http://httpd.apache.org/docs/2.4/mod/event.html
#
#LoadModule 

Re: [ovirt-users] Fibre Channel Protocol (FCP)

2018-03-08 Thread Luca 'remix_tj' Lorenzetto
Hello Maoz,

i'm serving more than 300 vms in fc setup (and growing).

On Thu, Mar 8, 2018 at 12:16 PM, maoz zadok  wrote:
> Hello All,
> I connected existing data center with NFS storage domain to a new
> Fiber-Channel storage domain according to the following guide, and I have
> three questions.
> https://www.ovirt.org/documentation/install-guide/chap-Configuring_Storage/
>
> 1. why does the storage domain asks me to "Use Host"?

Because there are some operations (lvm initialization & so on) to be
done while setting up the volumes on FC storage. These operations will
be performed by the given host

>
> does it mean that if this host is down there is no access to the FC storage
> or the next available host elected to manage the FC storage?

No, storage is mapped by all the hosts and accessed directly

> does it mean that all the traffic to my storage is routed via the selected
> host?

Absolutely no!

> what is the best practice, do I need to split the workload to other hosts as
> well by letting each host manage one small LUN instead of letting one host
> manage all LUNs or one big LUN?

I supposte that your question is related to the way that FC is
managed. Since every host sees all the drives, there question is no
more appropriate.


>
> 2. is it possible to set the newly created fiber-channel storage(data
> domain) as master?

IIRC if you set to maintenance the existing master, another one will
be selected.

>
> 3. can I easily migrate all VM disks to the FC storage instead of the NFS?
>

Sure, nfs storage domain or fc storage domain doesn't make difference
in terms of interaction. You can move disks from one to the other
without issues.

Luca

-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Tunable parameters in ovirt engine

2018-03-08 Thread Hari Prasanth Loganathan
No Juan, It is not working with any benchmark / application tool. It fails
with the same error SSL handshake failed (5).

Could you let me know the configuration of Apache web server is correct?

Thanks,
Hari

On Thu, Mar 8, 2018 at 1:08 AM, Juan Hernández  wrote:

> If you are still having problems I am inclined to think that it is a
> client issue. For example, I'd try to remove the "-k" option from the "ab"
> command. If you use keep alive the server may decide anyhow to close the
> connection after certain number of requests, even if the client asks to
> keep it alive. Some clients don't handle that perfectly, "ab" may have that
> problem. If that makes the SSL error messages disappear then I think you
> can safely ignore them, and restore the "-k" option, if you want.
>
> On 03/07/2018 07:30 PM, Hari Prasanth Loganathan wrote:
>
>> Thanks Juan for your response. Appreciate it.
>> But for some reason still, I am facing the same SSL handshake failed (5).
>> Could you please check this configuration and let me know the issue in my
>> ovirt engine environment.
>>
>> *Configuration of Apache server:*
>>
>>
>> 1) httpd version,
>>
>> # httpd -v
>> Server version: Apache/2.4.6 (CentOS)
>> Server built:   Oct 19 2017 20:39:16
>>
>> 2) I checked the status using the following command,
>>
>> # systemctl status httpd -l
>> ● httpd.service - The Apache HTTP Server
>> Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
>> vendor
>> preset: disabled)
>> Active: active (running) since Wed 2018-03-07 23:46:32 IST; 1min 55s
>> ago
>>   Docs: man:httpd(8)
>> man:apachectl(8)
>>Process: 4351 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited,
>> status=0/SUCCESS)
>>   Main PID: 4359 (httpd)
>> Status: "Total requests: 264; Current requests/sec: 0.1; Current
>> traffic: 204 B/sec"
>> CGroup: /system.slice/httpd.service
>> ├─4359 /usr/sbin/httpd -DFOREGROUND
>> ├─4360 /usr/sbin/httpd -DFOREGROUND
>> ├─4362 /usr/sbin/httpd -DFOREGROUND
>> ├─5100 /usr/sbin/httpd -DFOREGROUND
>> ├─5386 /usr/sbin/httpd -DFOREGROUND
>> ├─5415 /usr/sbin/httpd -DFOREGROUND
>> └─5416 /usr/sbin/httpd -DFOREGROUND
>>
>> 3) Since the httpd is pointing to the path :
>> /usr/lib/systemd/system/httpd.service
>>
>> vi /usr/lib/systemd/system/httpd.service
>>
>> [Unit]
>> Description=The Apache HTTP Server
>> After=network.target remote-fs.target nss-lookup.target
>> Documentation=man:httpd(8)
>> Documentation=man:apachectl(8)
>>
>> [Service]
>> Type=notify
>> EnvironmentFile=/etc/sysconfig/httpd
>> ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
>> ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
>> ExecStop=/bin/kill -WINCH ${MAINPID}
>> # We want systemd to give httpd some time to finish gracefully, but still
>> want
>> # it to kill httpd after TimeoutStopSec if something went wrong during the
>> # graceful stop. Normally, Systemd sends SIGTERM signal right after the
>> # ExecStop, which would kill httpd. We are sending useless SIGCONT here to
>> give
>> # httpd time to finish.
>> KillSignal=SIGCONT
>> PrivateTmp=true
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>>
>> 4) As per the above command I found the env file is available
>> '/etc/sysconfig/httpd'
>>
>> vi /etc/sysconfig/httpd
>>
>> #
>> # This file can be used to set additional environment variables for
>> # the httpd process, or pass additional options to the httpd
>> # executable.
>> #
>> # Note: With previous versions of httpd, the MPM could be changed by
>> # editing an "HTTPD" variable here.  With the current version, that
>> # variable is now ignored.  The MPM is a loadable module, and the
>> # choice of MPM can be changed by editing the configuration file
>> /etc/httpd/conf.modules.d/00-mpm.conf
>> #
>>
>> #
>> # To pass additional options (for instance, -D definitions) to the
>> # httpd binary at startup, set OPTIONS here.
>> #
>> #OPTIONS=
>>
>> #
>> # This setting ensures the httpd process is started in the "C" locale
>> # by default.  (Some modules will not behave correctly if
>> # case-sensitive string comparisons are performed in a different
>> # locale.)
>> #
>> LANG=C
>>
>>
>> 5) As per the above command, I found that the conf fileis available in the
>> path : /etc/httpd/conf.modules.d/00-mpm.conf
>>
>> vi /etc/httpd/conf.modules.d/00-mpm.conf
>>
>> # Select the MPM module which should be used by uncommenting exactly
>> # one of the following LoadModule lines:
>>
>> # prefork MPM: Implements a non-threaded, pre-forking web server
>> # See: http://httpd.apache.org/docs/2.4/mod/prefork.html
>> #LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
>>
>> # worker MPM: Multi-Processing Module implementing a hybrid
>> # multi-threaded multi-process web server
>> # See: http://httpd.apache.org/docs/2.4/mod/worker.html
>> #
>> LoadModule mpm_worker_module modules/mod_mpm_worker.so
>>
>> # event MPM: A variant of the worker MPM 

[ovirt-users] Fibre Channel Protocol (FCP)

2018-03-08 Thread maoz zadok
Hello All,
I connected existing data center with NFS storage domain to a new
Fiber-Channel storage domain according to the following guide, and I have
three questions.
https://www.ovirt.org/documentation/install-guide/chap-Configuring_Storage/

1. why does the storage domain asks me to "Use Host"?

   - does it mean that if this host is down there is no access to the FC
   storage or the next available host elected to manage the FC storage?
   - does it mean that all the traffic to my storage is routed via the
   selected host?
   - what is the best practice, do I need to split the workload to other
   hosts as well by letting each host manage one small LUN instead of letting
   one host manage all LUNs or one big LUN?

2. is it possible to set the newly created fiber-channel storage(data
domain) as master?

3. can I easily migrate all VM disks to the FC storage instead of the NFS?

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


Re: [ovirt-users] Failure to upgrade Cluster Compatibility Version

2018-03-08 Thread Yaniv Kaul
On Thu, Mar 8, 2018 at 10:55 AM, Jonathan Mathews 
wrote:

> Hi , this has now become really urgent.
>

It's not clear to me why it's urgent.
Please look at past replies and provide more information so we can assist
you.
Y.



>
> Everything I try, I am unable to get the Cluster Compatibility Version to
> change.
>
> The entire platform is running the latest 3.6 release.
>
> On Tue, Mar 6, 2018 at 4:20 PM, Jonathan Mathews 
> wrote:
>
>> Any chance of getting feedback on this?
>>
>> It is becoming urgent.
>>
>
>
> ___
> 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] Failure to upgrade Cluster Compatibility Version

2018-03-08 Thread Jonathan Mathews
Hi , this has now become really urgent.

Everything I try, I am unable to get the Cluster Compatibility Version to
change.

The entire platform is running the latest 3.6 release.

On Tue, Mar 6, 2018 at 4:20 PM, Jonathan Mathews 
wrote:

> Any chance of getting feedback on this?
>
> It is becoming urgent.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Pre-snapshot scripts to run before live snapshot

2018-03-08 Thread Yaniv Kaul
On Thu, Mar 8, 2018 at 12:47 AM, Gianluca Cecchi 
wrote:

> On Tue, Mar 6, 2018 at 7:54 PM, Yaniv Kaul  wrote:
>
>>
>>
>> On Mar 6, 2018 7:02 PM, "Gianluca Cecchi" 
>> wrote:
>>
>> Hello,
>> this thread last year (started by me... ;-) was very useful in different
>> aspects involved
>>
>> http://lists.ovirt.org/pipermail/users/2017-March/080322.html
>>
>> We did cover memory save or not and fsfreeze automatically done by guest
>> agent if installed inside the VM.
>> What about pre-snapshot scripts/operations to run inside guest, to have
>> application consistency?
>> Eg if I have a database inside the VM and I have scripted my backup job
>> involving live-snapshot (eg with the backup.py utility of the thread)
>>
>>
>> https://github.com/guillon/qemu-plugins/blob/master/scripts/
>> qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample
>>
>>
>>
> Hello Yaniv,
> thanks for the information and the example file link.
> So I have understood that the freeze-hook script is run with the "freeze"
> option before snapshot and again but with the "thaw" option after the
> snapshot.
> So I can manage what to do, parsing the argument given
> So far so good.
> I have tested with a Fedora 27 guest and all is ok there.
>
> Now I would like to do something similar for a Windows 2008 R2 x64 VM.
>

Windows is somewhat different. In fact, it's a bit better than Linux (ARGH!
but it's true) with its support for VSS - an API for applications to
register to events such as backup.
You should have the QEMU guest agent VSS provider installed (Note: need to
see where's the latest bits - I found[1]).

Then, if your application supports VSS, you are all good (I believe).
Y.

[1]
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-7.4.5-1/

I see that the qemu-guest-agent has been installed under
> C:\Programs\qemu-ga and that the "QEMU Guest Agent" service is run as
> "C:\Program Files\qemu-ga\qemu-ga.exe" -d
>
> In fact I see I have a registry key in
>
> HKLM\SYSTEM\CurrentControlSet\services\QEMU-GA
>
> with the same value above for ImagePath ;
> "C:\Program Files\qemu-ga\qemu-ga.exe" -d
>
> What should I do to enable a freeze-hook script on Windows now?
>
> BTW: searching around while trying to understand more, I found that:
>
> on hypervisor running the VM I have
>
> # vdsClient -s 0 getVmStats vm_guid
>
> that works and gives me information that confirms agent seems to
> communicate and I get also
> appsList = [ , 'QEMU guest agent', ...]
>
> Also, the dump of the dynamic xml for the guest contains
>
> # virsh -r dumpxml VM_NAME
>
> 
>   
>state='connected'/>
>   
>   
> 
>
> I tried to get its settings from qemu guest agent using socat and unix
> domain sockets but I don't receive answer
>
> # socat unix-connect:/var/lib/libvirt/qemu/channels/420e5014-9b26-
> a4c0-9d79-ed9b123304de.org.qemu.guest_agent.0 readline
>
> and then in the interactive prompt
>
> {"execute":"guest-info"}
>
> to get and verify information about fsfreeze, something like
> , {"enabled": true, "name": "guest-fsfreeze-freeze"}, ... ,
> {"enabled": true, "name": "guest-fsfreeze-thaw"}, ...
>
> But I didn't get any line
> Is this communication from OS disabled by design out of oVirt mgmt?
>
> Thanks again for any info to configure freeze-hook in Windows guest.
>
> Gianluca
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users