[ovirt-users] Re: Vm status not update after update

2019-04-03 Thread Marcelo Leandro
Hi,

Strahil , can you help me?

Very thanks,

Marcelo Leandro

Em ter, 2 de abr de 2019 10:02, Marcelo Leandro 
escreveu:

> Sorry, I can't find this.
>
> Em ter, 2 de abr de 2019 às 09:49, Strahil Nikolov 
> escreveu:
>
>> I think I already met a solution in the mail lists. Can you check and
>> apply the fix mentioned there ?
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> В вторник, 2 април 2019 г., 14:39:10 ч. Гринуич+3, Marcelo Leandro <
>> marcelol...@gmail.com> написа:
>>
>>
>> Hi, After update my hosts to ovirt node 4.3.2 with vdsm  version 
>> vdsm-4.30.11-1.el7
>> my vms status not update, if I do anything with vm like shutdown, migrate
>> this status not change , only a restart the vdsm the host that vm is runnig.
>>
>> vdmd status :
>>
>> ERROR Internal server error
>>Traceback (most
>> recent call last):
>>  File
>> "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in
>> _handle_request..
>>
>> Thanks,
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/23ERLSYUQKPXIAAPDZ6KAOBTHW7DMCSA/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E42VTHZIXSGMLJD53KKENBHPJJEH7JXZ/


[ovirt-users] Re: Vm status not update after update

2019-04-02 Thread Marcelo Leandro
Sorry, I can't find this.

Em ter, 2 de abr de 2019 às 09:49, Strahil Nikolov 
escreveu:

> I think I already met a solution in the mail lists. Can you check and
> apply the fix mentioned there ?
>
> Best Regards,
> Strahil Nikolov
>
> В вторник, 2 април 2019 г., 14:39:10 ч. Гринуич+3, Marcelo Leandro <
> marcelol...@gmail.com> написа:
>
>
> Hi, After update my hosts to ovirt node 4.3.2 with vdsm  version 
> vdsm-4.30.11-1.el7
> my vms status not update, if I do anything with vm like shutdown, migrate
> this status not change , only a restart the vdsm the host that vm is runnig.
>
> vdmd status :
>
> ERROR Internal server error
>Traceback (most
> recent call last):
>  File
> "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in
> _handle_request..
>
> Thanks,
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/23ERLSYUQKPXIAAPDZ6KAOBTHW7DMCSA/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QVCTHCSDNEII2NMO76C7AU422TQQBMPW/


[ovirt-users] Vm status not update after update

2019-04-02 Thread Marcelo Leandro
Hi, After update my hosts to ovirt node 4.3.2 with vdsm  version
vdsm-4.30.11-1.el7
my vms status not update, if I do anything with vm like shutdown, migrate
this status not change , only a restart the vdsm the host that vm is runnig.

vdmd status :

ERROR Internal server error
   Traceback (most
recent call last):
 File
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in
_handle_request..

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


[ovirt-users] Re: Problem to remove live snapshot.

2018-12-26 Thread Marcelo Leandro
Version oVirt: 4.2.7
VDSM : vdsm-4.20.43-1.el7

Em qua, 26 de dez de 2018 18:07, Marcelo Leandro  Hi ,
>
> I am use an software to do vm backup that creates snapshot to do backup,
> and some vms was with problem to remove olds snaphost, I get this msg error:
>
> MergeVDS failed: Drive image file could not be found
> how can I remove this snapshots?
>
>
> Marcelo Leandro
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y5EJJV2KOAZUDQNBDTERPJKYRHV75T4A/


[ovirt-users] Problem to remove live snapshot.

2018-12-26 Thread Marcelo Leandro
Hi ,

I am use an software to do vm backup that creates snapshot to do backup,
and some vms was with problem to remove olds snaphost, I get this msg error:

MergeVDS failed: Drive image file could not be found
how can I remove this snapshots?


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


[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-11-13 Thread Marcelo Leandro
Hi Shirley,
I will wait to install all in one, do you know when this feature will be
available?

Very thanks.

Em dom, 11 de nov de 2018 às 05:01, Shirly Radco 
escreveu:

> Hi Marcelo,
>
> I'm sorry you are having issues with the installation, we are working to
> improve that.
>
> I wanted to update you that I have update the OpenShift version to install
> to 3.11 instead of 3.9,
> so that it will fit to the OpenShift latest version and this should
> simplify the support for the installation by the OpenShift team.
> It is available in the latest oVirt nightly and documentation is up to date
>
> https://ovirt.org/documentation/metrics-install-guide/metrics-install-guide/
>
> Also, I want to let you know that in the next release we plan to add
> support for an all-in-one installation that will create the vm/s for you
> and install OpenShift on them.
> This should simplify immensely the process of setting up the oVirt metrics
> store.
>
> I'll contact the OpenShift team for help about your issue as well, But you
> may want to install version 3.11 instead.
> Please let me know if decide you want to try installing the latest version.
>
> Best regards,
>
> --
>
> SHIRLY RADCO
>
> BI SENIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
>
> On Fri, Nov 9, 2018 at 7:12 PM Marcelo Leandro 
> wrote:
>
>> Hi
>> Can someone help me to resolve this issue?
>>
>> Marcelo Leandro
>>
>> Em qua, 31 de out de 2018 às 09:27, Shirly Radco 
>> escreveu:
>>
>>> Adding OpenShift mailing list.
>>> Please help with this OpenShift installation.
>>> --
>>> SHIRLY RADCO
>>> BI SENIOR SOFTWARE ENGINEER
>>> Red Hat Israel <https://www.redhat.com/>
>>> <https://red.ht/sig>
>>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>>
>>>>
>>>>
>>>> On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
>>>> wrote:
>>>>
>>>>> Hello I am with same problem.
>>>>>
>>>>> ● origin-master-controllers.service - Atomic OpenShift Master
>>>>> Controllers
>>>>>
>>>>>Loaded: loaded
>>>>> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; 
>>>>> vendor
>>>>> preset: disabled)
>>>>>
>>>>>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
>>>>> 15:27:19 -03; 1s ago
>>>>>
>>>>>  Docs: https://github.com/openshift/origin
>>>>>
>>>>>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
>>>>> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>>>>>
>>>>>  Main PID: 26872 (code=exited, status=255)
>>>>>
>>>>>
>>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>>>> *origin-master-controllers.service:
>>>>> main process exited, code=exited, status=255/n/a*
>>>>>
>>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start
>>>>> Atomic OpenShift Master Controllers.*
>>>>>
>>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
>>>>> origin-master-controllers.service entered failed state.*
>>>>>
>>>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>>>> *origin-master-controllers.service
>>>>> failed.*
>>>>>
>>>>> Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
>>>>> origin-master-controllers.service holdoff time over, scheduling restart.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Oct 26 15:27:30 es.hybriddc.com.br
>>>>> atomic-openshift-master-api[26916]: I1026 15:27:30.057760   26916
>>>>> start_api.go:104] Using a listen address override "0.0.0.0:8443"
>>>>>
>>>>> Oct 26 15:27:30 es.hybriddc.com.br
>>>>> atomic-openshift-master-api[26916]: I1026 15:27:30.058002   26916
>>>>> plugins.go:83] Registered admission plugin "NamespaceLifecycle"
>>>>>
>>>>> Oct 26 15:27:30 es.hybriddc.com.br
>>>>> atomic-openshift-master-api[26916]: I1026 15:27:30.058017   26916
>>>>> plugins.go:83] Registered admission plugin "Initializers"
>>>>>
>

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-11-09 Thread Marcelo Leandro
Hi
Can someone help me to resolve this issue?

Marcelo Leandro

Em qua, 31 de out de 2018 às 09:27, Shirly Radco 
escreveu:

> Adding OpenShift mailing list.
> Please help with this OpenShift installation.
> --
> SHIRLY RADCO
> BI SENIOR SOFTWARE ENGINEER
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
>>
>>
>> On Fri, Oct 26, 2018 at 9:28 PM Marcelo Leandro 
>> wrote:
>>
>>> Hello I am with same problem.
>>>
>>> ● origin-master-controllers.service - Atomic OpenShift Master Controllers
>>>
>>>Loaded: loaded
>>> (/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
>>> preset: disabled)
>>>
>>>Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
>>> 15:27:19 -03; 1s ago
>>>
>>>  Docs: https://github.com/openshift/origin
>>>
>>>   Process: 26872 ExecStart=/usr/bin/openshift start master controllers
>>> --config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*
>>>
>>>  Main PID: 26872 (code=exited, status=255)
>>>
>>>
>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>> *origin-master-controllers.service:
>>> main process exited, code=exited, status=255/n/a*
>>>
>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
>>> OpenShift Master Controllers.*
>>>
>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
>>> origin-master-controllers.service entered failed state.*
>>>
>>> Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: 
>>> *origin-master-controllers.service
>>> failed.*
>>>
>>> Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
>>> origin-master-controllers.service holdoff time over, scheduling restart.
>>>
>>>
>>>
>>>
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.057760   26916 start_api.go:104] Using a listen address
>>> override "0.0.0.0:8443"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058002   26916 plugins.go:83] Registered admission plugin
>>> "NamespaceLifecycle"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058017   26916 plugins.go:83] Registered admission plugin
>>> "Initializers"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058028   26916 plugins.go:83] Registered admission plugin
>>> "ValidatingAdmissionWebhook"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058040   26916 plugins.go:83] Registered admission plugin
>>> "MutatingAdmissionWebhook"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058120   26916 plugins.go:83] Registered admission plugin
>>> "AlwaysAdmit"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058131   26916 plugins.go:83] Registered admission plugin
>>> "AlwaysPullImages"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058142   26916 plugins.go:83] Registered admission plugin
>>> "LimitPodHardAntiAffinityTopology"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058155   26916 plugins.go:83] Registered admission plugin
>>> "DefaultTolerationSeconds"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058164   26916 plugins.go:83] Registered admission plugin
>>> "AlwaysDeny"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058178   26916 plugins.go:83] Registered admission plugin
>>> "EventRateLimit"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058190   26916 plugins.go:83] Registered admission plugin
>>> "DenyEscalatingExec"
>>>
>>> Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
>>> I1026 15:27:30.058199   26916 plugins

[ovirt-users] Re: Metrics Store installation - ansible playbook "deploy_cluster" - docker_image_availability

2018-10-26 Thread Marcelo Leandro
Hello I am with same problem.

● origin-master-controllers.service - Atomic OpenShift Master Controllers

   Loaded: loaded
(/usr/lib/systemd/system/origin-master-controllers.service; enabled; vendor
preset: disabled)

   Active: inactive (dead) (Result: exit-code) since Fri 2018-10-26
15:27:19 -03; 1s ago

 Docs: https://github.com/openshift/origin

  Process: 26872 ExecStart=/usr/bin/openshift start master controllers
--config=${CONFIG_FILE} $OPTIONS *(code=exited, status=255)*

 Main PID: 26872 (code=exited, status=255)


Oct 26 15:27:14 es.hybriddc.com.br systemd[1]:
*origin-master-controllers.service:
main process exited, code=exited, status=255/n/a*

Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Failed to start Atomic
OpenShift Master Controllers.*

Oct 26 15:27:14 es.hybriddc.com.br systemd[1]: *Unit
origin-master-controllers.service entered failed state.*

Oct 26 15:27:14 es.hybriddc.com.br systemd[1]:
*origin-master-controllers.service
failed.*

Oct 26 15:27:19 es.hybriddc.com.br systemd[1]:
origin-master-controllers.service holdoff time over, scheduling restart.





Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.057760   26916 start_api.go:104] Using a listen address
override "0.0.0.0:8443"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058002   26916 plugins.go:83] Registered admission plugin
"NamespaceLifecycle"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058017   26916 plugins.go:83] Registered admission plugin
"Initializers"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058028   26916 plugins.go:83] Registered admission plugin
"ValidatingAdmissionWebhook"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058040   26916 plugins.go:83] Registered admission plugin
"MutatingAdmissionWebhook"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058120   26916 plugins.go:83] Registered admission plugin
"AlwaysAdmit"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058131   26916 plugins.go:83] Registered admission plugin
"AlwaysPullImages"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058142   26916 plugins.go:83] Registered admission plugin
"LimitPodHardAntiAffinityTopology"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058155   26916 plugins.go:83] Registered admission plugin
"DefaultTolerationSeconds"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058164   26916 plugins.go:83] Registered admission plugin
"AlwaysDeny"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058178   26916 plugins.go:83] Registered admission plugin
"EventRateLimit"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058190   26916 plugins.go:83] Registered admission plugin
"DenyEscalatingExec"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058199   26916 plugins.go:83] Registered admission plugin
"DenyExecOnPrivileged"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058210   26916 plugins.go:83] Registered admission plugin
"ExtendedResourceToleration"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058222   26916 plugins.go:83] Registered admission plugin
"OwnerReferencesPermissionEnforcement"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058237   26916 plugins.go:83] Registered admission plugin
"ImagePolicyWebhook"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058249   26916 plugins.go:83] Registered admission plugin
"InitialResources"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058261   26916 plugins.go:83] Registered admission plugin
"LimitRanger"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058272   26916 plugins.go:83] Registered admission plugin
"NamespaceAutoProvision"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058281   26916 plugins.go:83] Registered admission plugin
"NamespaceExists"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058292   26916 plugins.go:83] Registered admission plugin
"NodeRestriction"

Oct 26 15:27:30 es.hybriddc.com.br systemd[1]: *origin-master-api.service:
main process exited, code=exited, status=255/n/a*

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058304   26916 plugins.go:83] Registered admission plugin
"PersistentVolumeLabel"

Oct 26 15:27:30 es.hybriddc.com.br atomic-openshift-master-api[26916]:
I1026 15:27:30.058316 

[ovirt-users] Re: task was finished but not cleared

2018-10-18 Thread Marcelo Leandro
Thanks a lot.

Em qua, 17 de out de 2018 22:15, Simone Tiraboschi 
escreveu:

>
>
> On Tue, Oct 16, 2018 at 7:29 PM Marcelo Leandro 
> wrote:
>
>> Ok,
>> I run a backup every day at night ,and this create and delete snapshot, a
>> fews day ago I had a problem with SPM host, and it lost connect with
>> engine, I think that engine not send SPMClearTask to host clear this jobs
>> to delete snapshot, but this snapshots already deleted.
>> Now I need clear this tasks manually?
>>
>>  vdsm-client Task clear taskID='ids'
>>
>>
> Yes, you can do that.
>
>
>>
>> I have a doubt , after update to ovirt 4.2.6 I cant access engine
>> database, show that command psql not exist,do you know if changed to
>> connect in database?
>>
>
> Yes, now we are using postgresql 9.5 from scl.
> You can connect it with:
>   sudo -u postgres scl enable rh-postgresql95 -- psql -d engine
>
>
>>
>> Very thanks.
>>
>> Em ter, 16 de out de 2018 às 02:51, Simone Tiraboschi <
>> stira...@redhat.com> escreveu:
>>
>>>
>>>
>>> On Tue, Oct 16, 2018 at 1:55 AM Marcelo Leandro 
>>> wrote:
>>>
>>>> Hello,
>>>> In my spm I have some tasks list, but i dont have any task run now:
>>>>
>>>> vdsm-client Host getAllTasks
>>>> {
>>>> "97a40174-f443-4953-ae3c-f2662aa3f915": {
>>>> "verb": "deleteVolume",
>>>> "code": 0,
>>>> "state": "finished",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "1 jobs completed successfully",
>>>> "id": "97a40174-f443-4953-ae3c-f2662aa3f915"
>>>> },
>>>> "2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5": {
>>>> "verb": "deleteVolume",
>>>> "code": 0,
>>>> "state": "finished",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "1 jobs completed successfully",
>>>> "id": "2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5"
>>>> },
>>>> "45ec3b64-f972-4a22-ae2e-0d66b98022fd": {
>>>> "verb": "deleteVolume",
>>>> "code": 201,
>>>> "state": "recovered",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "Volume does not exist:
>>>> (u'006acce5-a6f5-4cd8-af3f-6584339a9021',)",
>>>> "id": "45ec3b64-f972-4a22-ae2e-0d66b98022fd"
>>>> },
>>>> "d6189787-d0b0-49ac-b31c-2bac6af87fff": {
>>>> "verb": "deleteVolume",
>>>> "code": 0,
>>>> "state": "finished",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "1 jobs completed successfully",
>>>> "id": "d6189787-d0b0-49ac-b31c-2bac6af87fff"
>>>> },
>>>> "4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859": {
>>>> "verb": "deleteVolume",
>>>> "code": 0,
>>>> "state": "finished",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "1 jobs completed successfully",
>>>> "id": "4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859"
>>>> },
>>>> "0afbc6ca-9ebf-4106-8d09-e73dd6d53e06": {
>>>> "verb": "deleteVolume",
>>>> "code": 201,
>>>> "state": "recovered",
>>>> "tag": "spm",
>>>> "result": "",
>>>> "message": "Volume does not exist:
>>>> (u'86391e6a-6932-483a-af24-a29bf1430ac1',)",
>>>> "id": "0afbc6ca-9ebf-4106-8d09

[ovirt-users] Re: task was finished but not cleared

2018-10-16 Thread Marcelo Leandro
Ok,
I run a backup every day at night ,and this create and delete snapshot, a
fews day ago I had a problem with SPM host, and it lost connect with
engine, I think that engine not send SPMClearTask to host clear this jobs
to delete snapshot, but this snapshots already deleted.
Now I need clear this tasks manually?

 vdsm-client Task clear taskID='ids'


I have a doubt , after update to ovirt 4.2.6 I cant access engine database,
show that command psql not exist,do you know if changed to connect in
database?

Very thanks.

Em ter, 16 de out de 2018 às 02:51, Simone Tiraboschi 
escreveu:

>
>
> On Tue, Oct 16, 2018 at 1:55 AM Marcelo Leandro 
> wrote:
>
>> Hello,
>> In my spm I have some tasks list, but i dont have any task run now:
>>
>> vdsm-client Host getAllTasks
>> {
>> "97a40174-f443-4953-ae3c-f2662aa3f915": {
>> "verb": "deleteVolume",
>> "code": 0,
>> "state": "finished",
>> "tag": "spm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "97a40174-f443-4953-ae3c-f2662aa3f915"
>> },
>> "2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5": {
>> "verb": "deleteVolume",
>> "code": 0,
>> "state": "finished",
>> "tag": "spm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5"
>> },
>> "45ec3b64-f972-4a22-ae2e-0d66b98022fd": {
>> "verb": "deleteVolume",
>> "code": 201,
>> "state": "recovered",
>> "tag": "spm",
>> "result": "",
>> "message": "Volume does not exist:
>> (u'006acce5-a6f5-4cd8-af3f-6584339a9021',)",
>> "id": "45ec3b64-f972-4a22-ae2e-0d66b98022fd"
>> },
>> "d6189787-d0b0-49ac-b31c-2bac6af87fff": {
>> "verb": "deleteVolume",
>> "code": 0,
>> "state": "finished",
>> "tag": "spm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "d6189787-d0b0-49ac-b31c-2bac6af87fff"
>> },
>> "4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859": {
>> "verb": "deleteVolume",
>> "code": 0,
>> "state": "finished",
>> "tag": "spm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859"
>> },
>> "0afbc6ca-9ebf-4106-8d09-e73dd6d53e06": {
>> "verb": "deleteVolume",
>> "code": 201,
>> "state": "recovered",
>> "tag": "spm",
>> "result": "",
>> "message": "Volume does not exist:
>> (u'86391e6a-6932-483a-af24-a29bf1430ac1',)",
>> "id": "0afbc6ca-9ebf-4106-8d09-e73dd6d53e06"
>> },
>> "b097af0d-b6fc-45c1-8e0a-ebef1c127025": {
>> "verb": "sdm_merge",
>> "code": 0,
>> "state": "finished",
>> "tag": "sdm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "b097af0d-b6fc-45c1-8e0a-ebef1c127025"
>> },
>> "ea9cf7c0-6f8c-4479-ae7e-2ef2b43b5a8e": {
>> "verb": "sdm_update_volume",
>> "code": 0,
>> "state": "finished",
>> "tag": "sdm",
>> "result": "",
>> "message": "1 jobs completed successfully",
>> "id": "ea9cf7c0-6f8c-4479-ae7e-2ef2b43b5a8e"
>> },
>> "dd8aa378-04a7-4f89-9e

[ovirt-users] task was finished but not cleared

2018-10-15 Thread Marcelo Leandro
Hello,
In my spm I have some tasks list, but i dont have any task run now:

vdsm-client Host getAllTasks
{
"97a40174-f443-4953-ae3c-f2662aa3f915": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "97a40174-f443-4953-ae3c-f2662aa3f915"
},
"2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "2b7e9a47-6fed-4491-b2d7-a91b44d8b1c5"
},
"45ec3b64-f972-4a22-ae2e-0d66b98022fd": {
"verb": "deleteVolume",
"code": 201,
"state": "recovered",
"tag": "spm",
"result": "",
"message": "Volume does not exist:
(u'006acce5-a6f5-4cd8-af3f-6584339a9021',)",
"id": "45ec3b64-f972-4a22-ae2e-0d66b98022fd"
},
"d6189787-d0b0-49ac-b31c-2bac6af87fff": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "d6189787-d0b0-49ac-b31c-2bac6af87fff"
},
"4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "4cc71cd0-3b5f-4014-97fd-e1b6e7d6b859"
},
"0afbc6ca-9ebf-4106-8d09-e73dd6d53e06": {
"verb": "deleteVolume",
"code": 201,
"state": "recovered",
"tag": "spm",
"result": "",
"message": "Volume does not exist:
(u'86391e6a-6932-483a-af24-a29bf1430ac1',)",
"id": "0afbc6ca-9ebf-4106-8d09-e73dd6d53e06"
},
"b097af0d-b6fc-45c1-8e0a-ebef1c127025": {
"verb": "sdm_merge",
"code": 0,
"state": "finished",
"tag": "sdm",
"result": "",
"message": "1 jobs completed successfully",
"id": "b097af0d-b6fc-45c1-8e0a-ebef1c127025"
},
"ea9cf7c0-6f8c-4479-ae7e-2ef2b43b5a8e": {
"verb": "sdm_update_volume",
"code": 0,
"state": "finished",
"tag": "sdm",
"result": "",
"message": "1 jobs completed successfully",
"id": "ea9cf7c0-6f8c-4479-ae7e-2ef2b43b5a8e"
},
"dd8aa378-04a7-4f89-9e06-10e50e995d55": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "dd8aa378-04a7-4f89-9e06-10e50e995d55"
},
"f4ae1499-8188-4ce9-ae81-a1bc54041a1e": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "f4ae1499-8188-4ce9-ae81-a1bc54041a1e"
},
"e7922e32-62f0-474e-b4ba-894a3fcf1aed": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "e7922e32-62f0-474e-b4ba-894a3fcf1aed"
},
"a379a1d1-1c03-40ce-af81-c501ee9ab7f4": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "a379a1d1-1c03-40ce-af81-c501ee9ab7f4"
},
"dc18f21a-5b03-4265-8a76-ce2f4241cda9": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "dc18f21a-5b03-4265-8a76-ce2f4241cda9"
},
"116a32e9-0183-44f0-81fc-170389a32145": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "116a32e9-0183-44f0-81fc-170389a32145"
},
"f7c94903-e88c-4f39-930f-e3c73b8dd611": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "f7c94903-e88c-4f39-930f-e3c73b8dd611"
},
"b7a54f89-474b-4084-8183-10647fdbc621": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "b7a54f89-474b-4084-8183-10647fdbc621"
},
"b8cb5b2f-a1cf-475d-9c29-00cf3f836830": {
"verb": "deleteVolume",
"code": 0,
"state": "finished",
"tag": "spm",
"result": "",
"message": "1 jobs completed successfully",
"id": "b8cb5b2f-a1cf-475d-9c29-00cf3f836830"
},

[ovirt-users] Storage with disks 4kn issues

2018-09-25 Thread Marcelo Leandro
Hello,
I have cluster configured with storages NFS with disks 4kn, for sometimes
its work fine, but now i am haave issues with some vps, some vps had
corrupetd of SO , both linux and windows, but the raw file not have
problem.

can be the NFS over disks 4kn?

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


[ovirt-users] Re: Problem disks snapshots

2018-09-23 Thread Marcelo Leandro
Thanks, I'll check it out.

Em sáb, 22 de set de 2018 05:34, Alex K  escreveu:

>
>
> On Sat, Sep 22, 2018, 02:56 Marcelo Leandro  wrote:
>
>> Hello,
>>
>> I am have a problem, after try delete um live snapshot I had this msg:
>>
>> General command validation failure.
>>
>> In snapshot disks in tab of storage the disk show ilegal.
>>
>> show consult databases:
>>
>> engine=# select snapshot_id,snapshot_type,status,description from
>> snapshots
>> wher
>> e vm_id='1b48deed-5579-46d9-ac39-58bd96c266b5';
>>  snapshot_id  | snapshot_type | status
>> |   descr
>> iption
>>
>> --+---++
>> -
>>  848797d5-8b50-4ce1-941a-493c6ea3febd | NEXT_RUN  | OK | Next Run
>> config
>> uration snapshot
>>  75c120c8-6da6-4fbe-a5e0-1199238b37dc | REGULAR   | OK | Backup
>> da VM
>>  75aa791f-8b6e-4022-b80e-7fc82e6ece00 | ACTIVE| OK | Active VM
>> (3 rows)
>> engine=# select
>> image_guid,parentid,imagestatus,vm_snapshot_id,volume_type,volum
>> e_format,active from images where
>> image_group_id='e0f60213-15e6-4910-9d13-c4f4dc
>> ac337e';
>>   image_guid  |
>> parentid   | i
>> magestatus |vm_snapshot_id| volume_type |
>> volume_format
>> | active
>>
>> --+--+--
>>
>> ---+--+-+---
>> +
>>  46e2faf7-316e-4d15-bfb6-21d135837c41 |
>> ---- |
>>  4 | 75c120c8-6da6-4fbe-a5e0-1199238b37dc |   2
>> | 4
>> | f
>>  3f9bf716-6410-431c-9133-d910f13d5cb6 |
>> ---- |
>>  1 | 75aa791f-8b6e-4022-b80e-7fc82e6ece00 |   2
>> | 4
>> | t
>> (2 rows)
>>
>> someone help me?
>>
> Seems related with https://bugzilla.redhat.com/show_bug.cgi?id=1470055.
> The below workaround  could be useful:
> https://www.mail-archive.com/users@ovirt.org/msg49300.html
>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/CEL5MGNP5OS55M63UYKPJQEXQSP7FGAC/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TVZGUIZHNPX7VSBN4F4ZLGSGQTWAODP2/


[ovirt-users] Problem disks snapshots

2018-09-21 Thread Marcelo Leandro
Hello,

I am have a problem, after try delete um live snapshot I had this msg:

General command validation failure.

In snapshot disks in tab of storage the disk show ilegal.

show consult databases:

engine=# select snapshot_id,snapshot_type,status,description from snapshots
wher
e vm_id='1b48deed-5579-46d9-ac39-58bd96c266b5';
 snapshot_id  | snapshot_type | status |
descr
iption
--+---++
-
 848797d5-8b50-4ce1-941a-493c6ea3febd | NEXT_RUN  | OK | Next Run
config
uration snapshot
 75c120c8-6da6-4fbe-a5e0-1199238b37dc | REGULAR   | OK | Backup da
VM
 75aa791f-8b6e-4022-b80e-7fc82e6ece00 | ACTIVE| OK | Active VM
(3 rows)
engine=# select
image_guid,parentid,imagestatus,vm_snapshot_id,volume_type,volum
e_format,active from images where
image_group_id='e0f60213-15e6-4910-9d13-c4f4dc
ac337e';
  image_guid  |
parentid   | i
magestatus |vm_snapshot_id| volume_type |
volume_format
| active
--+--+--
---+--+-+---
+
 46e2faf7-316e-4d15-bfb6-21d135837c41 |
---- |
 4 | 75c120c8-6da6-4fbe-a5e0-1199238b37dc |   2
| 4
| f
 3f9bf716-6410-431c-9133-d910f13d5cb6 |
---- |
 1 | 75aa791f-8b6e-4022-b80e-7fc82e6ece00 |   2
| 4
| t
(2 rows)

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


[ovirt-users] Re: Hang tasks delete snapshot

2018-07-23 Thread Marcelo Leandro
Good morning,

can anyone help me ?

Marcelo Leandro

2018-06-27 10:53 GMT-03:00 Marcelo Leandro :

> Hello,
>
> The task not show more in the gui, but in the engine.log show this msg:
>
> 2018-06-27 10:01:54,705-03 INFO  [org.ovirt.engine.core.bll.
> ConcurrentChildCommandsExecutionCallback] (DefaultQuartzScheduler4)
> [4172f065-06a4-4f09-954e-0dcfceb61cda] Command 'RemoveSnapshot' (id:
> '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on child command id:
> '94607c69-77ce-4005-8ed9-a8b7bd40c496' type:'RemoveSnapshotSingleDiskLive'
> to complete
> 2018-06-27 10:01:54,712-03 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler4) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed
> invoking callback end method 'onFailed' for command
> '94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the
> callback is marked for end method retries
> 2018-06-27 10:02:04,730-03 INFO  [org.ovirt.engine.core.bll.
> ConcurrentChildCommandsExecutionCallback] (DefaultQuartzScheduler2)
> [4172f065-06a4-4f09-954e-0dcfceb61cda] Command 'RemoveSnapshot' (id:
> '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on child command id:
> '94607c69-77ce-4005-8ed9-a8b7bd40c496' type:'RemoveSnapshotSingleDiskLive'
> to complete
> 2018-06-27 10:02:04,737-03 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler2) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed
> invoking callback end method 'onFailed' for command
> '94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the
> callback is marked for end method retries
>
>
> 2018-06-26 10:14 GMT-03:00 Marcelo Leandro :
>
>> Very thanks, its work for me.
>>
>> 2018-06-26 9:53 GMT-03:00 Nathanaël Blanchet :
>>
>>>
>>>
>>> Le 26/06/2018 à 13:29, Marcelo Leandro a écrit :
>>>
>>> Hello ,
>>>
>>> Nathanael, Thank for reply, if possible can you describe this steps and
>>> what this command do?
>>>
>>> I would like understand for solve future problems.
>>>
>>> Very thanks.
>>>
>>> Marcelo Leandro
>>>
>>> 2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet :
>>>
>>>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>>>> -q -t snapshot -u engine
>>>>
>>> you can find your PGPASSWORD here : 
>>> /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>>>
>>>
>>> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2ae
>>>> d48392
>>>>
>>> This command returns a list of locked processes of the chosen type (-t
>>> TYPE   - The object type {all | vm | template | disk | snapshot})
>>> First item is the vm id, second one the locked snapshot id.
>>>
>>>
>>>> REMOVE
>>>>
>>>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>>>> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>>>>
>>> Now use the locked snapshot id to unlock
>>>
>>>
>>>
>>>>
>>>> Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :
>>>>
>>>> Hello,
>>>> The few days I tried delete snapshot but the task not concluded yet.
>>>> How I can stop this task? I Already try with taskcleaner.sh but dont had
>>>> sucess.
>>>>
>>>> attached the ovirt and vdsm-spm logs.
>>>>
>>>> ovirt version. 4.1.9
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> ___
>>>> Users mailing list -- users@ovirt.org
>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>> oVirt Code of Conduct: 
>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>> List Archives: 
>>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/
>>>>
>>>>
>>>> --
>>>> Nathanaël Blanchet
>>>>
>>>> Supervision réseau
>>>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>>>> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
>>>> 34193 MONTPELLIER CEDEX 5  
>>>> Tél. 33 (0)4 67 54 84 55
>>>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>>>
>>>>
>>>
>>> --
>>> Nathanaël Blanchet
>>>
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>>> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
>>> 34193 MONTPELLIER CEDEX 5   
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>>
>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5Q73SPCCAGCGAESMJ5M3CCQLC6YDQF2J/


[ovirt-users] Re: Hang tasks delete snapshot

2018-06-27 Thread Marcelo Leandro
Hello,

The task not show more in the gui, but in the engine.log show this msg:

2018-06-27 10:01:54,705-03 INFO
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback]
(DefaultQuartzScheduler4) [4172f065-06a4-4f09-954e-0dcfceb61cda] Command
'RemoveSnapshot' (id: '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on
child command id: '94607c69-77ce-4005-8ed9-a8b7bd40c496'
type:'RemoveSnapshotSingleDiskLive' to complete
2018-06-27 10:01:54,712-03 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler4) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed
invoking callback end method 'onFailed' for command
'94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the callback
is marked for end method retries
2018-06-27 10:02:04,730-03 INFO
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback]
(DefaultQuartzScheduler2) [4172f065-06a4-4f09-954e-0dcfceb61cda] Command
'RemoveSnapshot' (id: '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on
child command id: '94607c69-77ce-4005-8ed9-a8b7bd40c496'
type:'RemoveSnapshotSingleDiskLive' to complete
2018-06-27 10:02:04,737-03 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler2) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed
invoking callback end method 'onFailed' for command
'94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the callback
is marked for end method retries


2018-06-26 10:14 GMT-03:00 Marcelo Leandro :

> Very thanks, its work for me.
>
> 2018-06-26 9:53 GMT-03:00 Nathanaël Blanchet :
>
>>
>>
>> Le 26/06/2018 à 13:29, Marcelo Leandro a écrit :
>>
>> Hello ,
>>
>> Nathanael, Thank for reply, if possible can you describe this steps and
>> what this command do?
>>
>> I would like understand for solve future problems.
>>
>> Very thanks.
>>
>> Marcelo Leandro
>>
>> 2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet :
>>
>>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>>> -q -t snapshot -u engine
>>>
>> you can find your PGPASSWORD here : 
>> /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>>
>>
>> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2ae
>>> d48392
>>>
>> This command returns a list of locked processes of the chosen type (-t
>> TYPE   - The object type {all | vm | template | disk | snapshot})
>> First item is the vm id, second one the locked snapshot id.
>>
>>
>>> REMOVE
>>>
>>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>>> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>>>
>> Now use the locked snapshot id to unlock
>>
>>
>>
>>>
>>> Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :
>>>
>>> Hello,
>>> The few days I tried delete snapshot but the task not concluded yet. How
>>> I can stop this task? I Already try with taskcleaner.sh but dont had sucess.
>>>
>>> attached the ovirt and vdsm-spm logs.
>>>
>>> ovirt version. 4.1.9
>>>
>>> Thanks.
>>>
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct: 
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives: 
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/
>>>
>>>
>>> --
>>> Nathanaël Blanchet
>>>
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>>> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
>>> 34193 MONTPELLIER CEDEX 5   
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>>
>>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5ZXCHN33JJQNJV63MR6FVFRHDKEVOOD/


[ovirt-users] Problem download disk

2018-06-26 Thread Marcelo Leandro
Hello,

I am use api java to download a disk but not was concluded , I have this
error:

The server response was 503 in the range request


I need change anythings how timeout or size the download ?

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


[ovirt-users] Re: Hang tasks delete snapshot

2018-06-26 Thread Marcelo Leandro
Very thanks, its work for me.

2018-06-26 9:53 GMT-03:00 Nathanaël Blanchet :

>
>
> Le 26/06/2018 à 13:29, Marcelo Leandro a écrit :
>
> Hello ,
>
> Nathanael, Thank for reply, if possible can you describe this steps and
> what this command do?
>
> I would like understand for solve future problems.
>
> Very thanks.
>
> Marcelo Leandro
>
> 2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet :
>
>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>> -q -t snapshot -u engine
>>
> you can find your PGPASSWORD here : 
> /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>
>
> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2ae
>> d48392
>>
> This command returns a list of locked processes of the chosen type (-t
> TYPE   - The object type {all | vm | template | disk | snapshot})
> First item is the vm id, second one the locked snapshot id.
>
>
>> REMOVE
>>
>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>>
> Now use the locked snapshot id to unlock
>
>
>
>>
>> Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :
>>
>> Hello,
>> The few days I tried delete snapshot but the task not concluded yet. How
>> I can stop this task? I Already try with taskcleaner.sh but dont had sucess.
>>
>> attached the ovirt and vdsm-spm logs.
>>
>> ovirt version. 4.1.9
>>
>> Thanks.
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
>> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DFUYHBNWXP3WPKDNGN5GSTVWNWGGG34W/


[ovirt-users] Re: Import/export VMs from/to Vbox, Vmware

2018-06-26 Thread Marcelo Leandro
Ok, can you share the msg error?

Em ter, 26 de jun de 2018 09:29, Aziz  escreveu:

> Hello Marcelo,
>
> No, I exported  the ova file from oVirt and I'm trying to import it in
> Virtualbox, I didn't make any changes.
>
> Thanks
>
> On Tue, Jun 26, 2018 at 1:27 PM, Marcelo Leandro 
> wrote:
>
>> Hello,
>>
>> Do can use qemu-img convert , to convert disk formats.
>>
>> Em ter, 26 de jun de 2018 09:25, Aziz  escreveu:
>>
>>> Hi All,
>>>
>>>
>>> I'm trying to import/export ova files between oVirt and other platforms
>>> (Virtualbox / Vmware workstation), however, this is not working for some
>>> reason. it's important to have oVirt compliant with these platforms, to
>>> easily migrate Vms between them.
>>>
>>> Can anyone comment on this, is there a way to convert the vms ?
>>>
>>>
>>> Thank you in advance.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/KGDKIHRFKJ4OLLDBWAK5MC5PQ2VZ5NEN/
>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DM3RIKNYXRM2MNCA2TIAPKONB3D6OB5S/


[ovirt-users] Re: Import/export VMs from/to Vbox, Vmware

2018-06-26 Thread Marcelo Leandro
Hello,

Do can use qemu-img convert , to convert disk formats.

Em ter, 26 de jun de 2018 09:25, Aziz  escreveu:

> Hi All,
>
>
> I'm trying to import/export ova files between oVirt and other platforms
> (Virtualbox / Vmware workstation), however, this is not working for some
> reason. it's important to have oVirt compliant with these platforms, to
> easily migrate Vms between them.
>
> Can anyone comment on this, is there a way to convert the vms ?
>
>
> Thank you in advance.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/KGDKIHRFKJ4OLLDBWAK5MC5PQ2VZ5NEN/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2BOXMLXLAUP6AKFW5RTNCSW3M56MAS6M/


[ovirt-users] Re: Hang tasks delete snapshot

2018-06-26 Thread Marcelo Leandro
Hello ,

Nathanael, Thank for reply, if possible can you describe this steps and
what this command do?

I would like understand for solve future problems.

Very thanks.

Marcelo Leandro

2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet :

> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -q -t snapshot -u engine
> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-
> 8ac2aed48392
>
> REMOVE
>
> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>
>
> Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :
>
> Hello,
> The few days I tried delete snapshot but the task not concluded yet. How I
> can stop this task? I Already try with taskcleaner.sh but dont had sucess.
>
> attached the ovirt and vdsm-spm logs.
>
> ovirt version. 4.1.9
>
> Thanks.
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJU6A3VHBLI7ZLQLXLNB/
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala 
> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala=gmail=g>
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JOPGXABSVXG6OYIHTVUO2XW2A66MURA2/


[ovirt-users] Re: General failure

2018-06-18 Thread Marcelo Leandro
Hi Marcelo,
Do you mean copying the whole disk block to a different device and
attaching it to a new VM?
Yes
Anything will be appreciated, as currently we're facing a distressing
situation, so if you can describe what you mean I'd be grateful.
1-Create a New vm with same configs.
2-See Volume ID in snapshot tab (new and old vm).
3-Acess a host :
4- find the volume :
run this command for 2 disks(new and old)
find /rhve -name VolumeID
5-check format disk
qemu-img info (path of VolumeID)
Send for me the results.

2018-06-18 12:38 GMT-03:00 :

> Hi Marcelo,
>
> Do you mean copying the whole disk block to a different device and
> attaching it to a new VM?
>
> Anything will be appreciated, as currently we're facing a distressing
> situation, so if you can describe what you mean I'd be grateful.
>
> Thanks.
>
>
> El 2018-06-18 16:19, Marcelo Leandro escribió:
>
>> Hello,
>> Do you can copy diskbase to a new vm.
>>
>> If you want I can describe the step.
>>
>> Em seg, 18 de jun de 2018 11:49,  escreveu:
>>
>> Indeed, when the problem started I think the SPM was the host I
>>> added as
>>> VDSM log in the first e-mail. Currently it is the one I sent in the
>>>
>>> second mail.
>>>
>>> FWIW, if it helps to debug more fluently, we can provide VPN access
>>> to
>>> our infrastructure so you can access and see whateve you need (all
>>> hosts, DB, etc...).
>>>
>>> Right now the machines that keep running work, but once shut down
>>> they
>>> start showing the problem below...
>>>
>>> Thank you
>>>
>>> El 2018-06-18 15:20, Benny Zlotnik escribió:
>>>
>>>> I'm having trouble following the errors, I think the SPM changed
>>>>
>>> or
>>>
>>>> the vdsm log from the right host might be missing.
>>>>
>>>> However, I believe what started the problems is this transaction
>>>> timeout:
>>>>
>>>> 2018-06-15 14:20:51,378+01 ERROR
>>>> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
>>>> (org.ovirt.thread.pool-6-thread-29)
>>>> [1db468cb-85fd-4189-b356-d31781461504] [within thread]: endAction
>>>>
>>> for
>>>
>>>> action type RemoveSnapshotSingleDisk threw an exception.:
>>>> org.springframework.jdbc.CannotGetJdbcConnectionException: Could
>>>>
>>> not
>>>
>>>> get JDBC Connection; nested exception is java.sql.SQLException:
>>>> javax.resource.ResourceException: IJ000460: Error checking for a
>>>> transaction
>>>>   at
>>>>
>>>>
>>> org.springframework.jdbc.datasource.DataSourceUtils.getConne
>> ction(DataSourceUtils.java:80)
>>
>>> [spring-jdbc.jar:4.2.4.RELEASE]
>>>>   at
>>>>
>>>>
>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTempl
>> ate.java:615)
>>
>>> [spring-jdbc.jar:4.2.4.RELEASE]
>>>>   at
>>>>
>>>>
>>> org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:680)
>>
>>> [spring-jdbc.jar:4.2.4.RELEASE]
>>>>   at
>>>>
>>>>
>>> org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:712)
>>
>>> [spring-jdbc.jar:4.2.4.RELEASE]
>>>>   at
>>>>
>>>>
>>> org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:762)
>>
>>> [spring-jdbc.jar:4.2.4.RELEASE]
>>>>   at
>>>>
>>>>
>>> org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$P
>> ostgresSimpleJdbcCall.executeCallInternal(PostgresDbEngineDi
>> alect.java:152)
>>
>>> [dal.jar:]
>>>>
>>>> This looks like a bug
>>>>
>>>> Regardless, I am not sure restoring a backup would help since you
>>>> probably have orphaned images on the storage which need to be
>>>>
>>> removed
>>>
>>>>
>>>> Adding Ala
>>>>
>>>> On Mon, Jun 18, 2018 at 4:19 PM,  wrote:
>>>>
>>>> Hi Benny,
>>>>>
>>>>> Please find the SPM logs at [1].
>>>>>
>>>>> Thank you
>>>>>
>>>>>   [1]:
>>>>>
>>>>>
>>>>
>>> https://wetransfer.com/downloads/62bf649462aabbc2ef21824682b
>> 0a08320180618131825/036b7782f58d337baf909a7220d8455320180618131825/5550ee
>>
>>>

[ovirt-users] Re: General failure

2018-06-18 Thread Marcelo Leandro
Hello,
Do you can copy diskbase to a new vm.

If you want I can describe the step.

Em seg, 18 de jun de 2018 11:49,  escreveu:

> Indeed, when the problem started I think the SPM was the host I added as
> VDSM log in the first e-mail. Currently it is the one I sent in the
> second mail.
>
> FWIW, if it helps to debug more fluently, we can provide VPN access to
> our infrastructure so you can access and see whateve you need (all
> hosts, DB, etc...).
>
> Right now the machines that keep running work, but once shut down they
> start showing the problem below...
>
> Thank you
>
> El 2018-06-18 15:20, Benny Zlotnik escribió:
> > I'm having trouble following the errors, I think the SPM changed or
> > the vdsm log from the right host might be missing.
> >
> > However, I believe what started the problems is this transaction
> > timeout:
> >
> > 2018-06-15 14:20:51,378+01 ERROR
> > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> > (org.ovirt.thread.pool-6-thread-29)
> > [1db468cb-85fd-4189-b356-d31781461504] [within thread]: endAction for
> > action type RemoveSnapshotSingleDisk threw an exception.:
> > org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
> > get JDBC Connection; nested exception is java.sql.SQLException:
> > javax.resource.ResourceException: IJ000460: Error checking for a
> > transaction
> >  at
> >
> org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)
> > [spring-jdbc.jar:4.2.4.RELEASE]
> >  at
> > org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:615)
> > [spring-jdbc.jar:4.2.4.RELEASE]
> >  at
> > org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:680)
> > [spring-jdbc.jar:4.2.4.RELEASE]
> >  at
> > org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:712)
> > [spring-jdbc.jar:4.2.4.RELEASE]
> >  at
> > org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:762)
> > [spring-jdbc.jar:4.2.4.RELEASE]
> >  at
> >
> org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.executeCallInternal(PostgresDbEngineDialect.java:152)
> > [dal.jar:]
> >
> > This looks like a bug
> >
> > Regardless, I am not sure restoring a backup would help since you
> > probably have orphaned images on the storage which need to be removed
> >
> > Adding Ala
> >
> > On Mon, Jun 18, 2018 at 4:19 PM,  wrote:
> >
> >> Hi Benny,
> >>
> >> Please find the SPM logs at [1].
> >>
> >> Thank you
> >>
> >>   [1]:
> >>
> >
> https://wetransfer.com/downloads/62bf649462aabbc2ef21824682b0a08320180618131825/036b7782f58d337baf909a7220d8455320180618131825/5550ee
> >> [1]
> >>
> >> El 2018-06-18 13:19, Benny Zlotnik escribió:
> >> Can you send the SPM logs as well?
> >>
> >> On Mon, Jun 18, 2018 at 1:13 PM,  wrote:
> >>
> >> Hi Benny,
> >>
> >> Please find the logs at [1].
> >>
> >> Thank you.
> >>
> >>   [1]:
> >>
> >>
> >
> https://wetransfer.com/downloads/12208fb4a6a5df3114bbbc10af194c8820180618101223/647c066b7b91096570def304da86dbca20180618101223/583d3d
> >> [2]
> >> [1]
> >>
> >> El 2018-06-18 09:28, Benny Zlotnik escribió:
> >>
> >> Can you provide full engine and vdsm logs?
> >>
> >> On Mon, Jun 18, 2018 at 11:20 AM,  wrote:
> >>
> >> Hi,
> >>
> >> We're running oVirt 4.1.9 (we cannot upgrade at this time) and
> >> we're having a major problem in our infrastructure. On friday, a
> >> snapshots were automatically created on more than 200 VMs and as
> >> this was just a test task, all of them were deleted at the same
> >> time, which seems to have corrupted several VMs.
> >>
> >> When trying to delete a snapshot on some of the VMs, a "General
> >> error" is thrown with a NullPointerException in the engine log
> >> (attached).
> >>
> >> But the worst part is that when some of these machines is powered
> >> off and then powered on, the VMs are corrupt...
> >>
> >> VM myvm is down with error. Exit message: Bad volume specification
> >> {u'index': 0, u'domainID': u'110ea376-d789-40a1-b9f6-6b40c31afe01',
> >> 'reqsize': '0', u'format': u'cow', u'bootOrder': u'1', u'address':
> >> {u'function': u'0x0', u'bus': u'0x00', u'domain': u'0x',
> >> u'type': u'pci', u'slot': u'0x06'}, u'volumeID':
> >> u'1fd0f9aa-6505-45d2-a17e-859bd5dd4290', 'apparentsize':
> >> '23622320128', u'imageID': u'65519220-68e1-462a-99b3-f0763c78eae2',
> >> u'discard': False, u'specParams': {}, u'readonly': u'false',
> >> u'iface': u'virtio', u'optional': u'false', u'deviceId':
> >> u'65519220-68e1-462a-99b3-f0763c78eae2', 'truesize': '23622320128',
> >> u'poolID': u'75bf8f48-970f-42bc-8596-f8ab6efb2b63', u'device':
> >> u'disk', u'shared': u'false', u'propagateErrors': u'off', u'type':
> >> u'disk'}.
> >>
> >> We're really frustrated by now and don't know how to procceed... We
> >> have a DB backup (with engine-backup) from thursday which would
> >> have
> >> a "sane" DB definition without all the snapshots, as they were all
> >> created on friday. Would it be safe to restore this backup?
> >>
> >> Any help is really 

[ovirt-users] Re: oVirt Metrics

2018-06-11 Thread Marcelo Leandro
Hello,
Good morning Shirley.
I am have one doubt , for collecting metrics need install agents in vms?.

Very thanks.

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


[ovirt-users] Re: problem to delete snapshot

2018-05-22 Thread Marcelo Leandro
,rerror=stop -device
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/mnt/10.16.2.108:_home_nfs/67aa5233-4709-4d48-b7b9-993dbddcc297/images/3f1c8849-9c69-46be-9773-91c803860791/0425a9c1-20e9-4a6c-907b-8cc23e612635,format=raw,if=none,id=drive-ide0-1-1,serial=3f1c8849-9c69-46be-9773-91c803860791,cache=none,werror=stop,rerror=stop,aio=threads
-device ide-hd,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -netdev
tap,fd=44,id=hostnet0 -device
e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:9c:64:17,bus=pci.0,addr=0x3
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/c847130e-230d-47ee-a124-54d46e1dd928.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/c847130e-230d-47ee-a124-54d46e1dd928.org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-spice
tls-port=5916,addr=192.168.144.103,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=default,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
-device
qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -object
rng-random,id=objrng0,filename=/dev/urandom -device
virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.0,addr=0x7 -msg timestamp=on


Can I run this solution to delete wrong information in database:

https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c15

Very thanks,


2018-05-17 11:55 GMT-03:00 Benny Zlotnik <bzlot...@redhat.com>:

> Could be this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1555116
>
> Adding Ala
>
> On Thu, May 17, 2018 at 5:00 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Error in engine.log.
>>
>>
>> 2018-05-17 10:58:56,766-03 INFO  
>> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
>> (default task-31) [c4fc9663-51c1-4442-ba1b-01e4efe8c62c] Lock Acquired
>> to object 
>> 'EngineLock:{exclusiveLocks='[f120d81e-db65-44b8-b239-95d8ba3e0e31=VM]',
>> sharedLocks=''}'
>> 2018-05-17 10:58:56,923-03 ERROR 
>> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
>> (default task-31) [c4fc9663-51c1-4442-ba1b-01e4efe8c62c] Error during
>> ValidateFailure.: java.lang.NullPointerException
>> at org.ovirt.engine.core.bll.validator.storage.StorageDomainVal
>> idator.getTotalSizeForMerge(StorageDomainValidator.java:121) [bll.jar:]
>> at org.ovirt.engine.core.bll.validator.storage.StorageDomainVal
>> idator.hasSpaceForMerge(StorageDomainValidator.java:207) [bll.jar:]
>> at org.ovirt.engine.core.bll.validator.storage.MultipleStorageD
>> omainsValidator.lambda$allDomainsHaveSpaceForMerge$0(Multipl
>> eStorageDomainsValidator.java:128) [bll.jar:]
>> at org.ovirt.engine.core.bll.validator.storage.MultipleStorageD
>> omainsValidator.validOrFirstFailure(MultipleStorageDomainsValidator.java:190)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.validator.storage.MultipleStorageD
>> omainsValidator.allDomainsHaveSpaceForMerge(Mu
>> ltipleStorageDomainsValidator.java:125) [bll.jar:]
>> at org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand.va
>> lidateStorageDomains(RemoveSnapshotCommand.java:381) [bll.jar:]
>> at org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand.va
>> lidate(RemoveSnapshotCommand.java:359) [bll.jar:]
>> at 
>> org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:840)
>> [bll.jar:]
>> at 
>> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:390)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.executor.DefaultBackendActionExecu
>> tor.execute(DefaultBackendActionExecutor.java:13) [bll.jar:]
>> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:516)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:498)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:451)
>> [bll.jar:]
>> at sun.reflect.GeneratedMethodAccessor1100.invoke(Unknown Source)
>> [:1.8.0_161]
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> [rt.jar:1.8.0_161]
>> at java.lang.reflect.Method.invoke(

[ovirt-users] Re: problem to delete snapshot

2018-05-17 Thread Marcelo Leandro
(ServletRequestContextThreadSetupAction.java:48)
at
io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at
io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at
io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at
io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at
io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_161]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]

2018-05-17 10:58:56,936-03 INFO
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand] (default
task-31) [c4fc9663-51c1-4442-ba1b-01e4efe8c62c] Lock freed to object
'EngineLock:{exclusiveLocks='[f120d81e-db65-44b8-b239-95d8ba3e0e31=VM]',
sharedLocks=''}'


2018-05-17 10:54 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Hello,
>
> I had problem when try delete an snapshot.
>
> in the gui show this erro:
>
> Error while executing action:
>
> vm-name:
>
>- General command validation failure.
>
>
> when I acess the snapshot tab this vm, the snapshot not show ID disk, not
> cotain disks in this snapshot.
>
> follow the engine and spm logs.
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Upgrade from 4.1.9 to 4.2.3 fails to upgrade postgresql

2018-05-17 Thread Marcelo Leandro
Hello,
I had the same error, but for me only worked when I created a new
instalation , run engine-setup for create a new database , after I runed
engine-cleanup to clear the instalation and restore a full backup  , all
the language of SO is english.

Marcelo Leandro

Em qui, 17 de mai de 2018 06:14, Yedidyah Bar David <d...@redhat.com>
escreveu:

> On Thu, May 17, 2018 at 1:32 AM, Ian Fraser <ian.fra...@asm.org.uk> wrote:
> > Hi,
> >
> > Could someone please provide advice on a production oVirt instance that
> > fails to upgrade to 4.2.3?
> >
> >
> >
> > Engine and hosts are all running CentOS 7
> >
> >
> >
> > As per the upgrade instructions in the release notes I run:
> >
> > # yum install
> http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
> >
> > # yum update "ovirt-*-setup*"
> >
> > # engine-setup
> >
> >
> >
> > Then I answer the questions and it fails with:
> >
> > …
> >
> > [ INFO  ] Upgrading PostgreSQL
> >
> > [ ERROR ] Failed to execute stage 'Misc configuration': Command
> > '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
> >
> > [ INFO  ] Yum Performing yum transaction rollback
> >
> > [ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
> >
> > [ INFO  ] Stage: Clean up
> >
> >   Log file is located at
> > /var/log/ovirt-engine/setup/ovirt-engine-setup-20180516231622-3giicb.log
> >
> > [ INFO  ] Generating answer file
> > '/var/lib/ovirt-engine/setup/answers/20180516231735-setup.conf'
> >
> > [ INFO  ] Stage: Pre-termination
> >
> > [ INFO  ] Stage: Termination
> >
> > [ ERROR ] Execution of setup failed
> >
> >
> >
> >
> >
> > When I check  /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log:
> >
> >
> >
> > Performing Consistency Checks
> >
> > -
> >
> > Checking cluster versions   ok
> >
> > Checking database user is the install user  ok
> >
> > Checking database connection settings   ok
> >
> > Checking for prepared transactions  ok
> >
> > Checking for reg* system OID user data typesok
> >
> > Checking for contrib/isn with bigint-passing mismatch   ok
> >
> > Checking for invalid "line" user columnsok
> >
> > Creating dump of global objects ok
> >
> > Creating dump of database schemas
> >
> >   engine
> >
> >   ovirt_engine_history
> >
> >   postgres
> >
> >   template1
> >
> > ok
> >
> >
> >
> > lc_collate values for database "postgres" do not match:  old
> "en_GB.UTF-8",
> > new "en_US.UTF-8"
>
> Sounds again like:
>
> https://bugzilla.redhat.com/1528371
>
> That's really weird.
>
> Can you please check/share engine-setup log, so we can see that we
> actually passed the correct options to postgresql-setup?
>
> Also, if at all possible, please provide complete reproduction steps.
>
> See this for what I personally used to verify the fix for above bug,
> at the time:
>
>
> https://gerrit.ovirt.org/#/c/88234/2/common/upgrade-suites/test-scenarios-before-upgrade/001_initialize_engine.py
>
> But can't be sure it reproduces the original bug (although the error
> was the same), nor if your case is different and how.
>
> Thanks!
>
> >
> > Failure, exiting
> >
> >
> >
> >
> >
> > I have tried running the script here:
> > https://gist.github.com/turboladen/6790847 and rerunning engine-setup
> but it
> > fails with the same error.
> >
> >
> >
> > Can anyone offer any other suggestions?
> >
> >
> >
> > Best regards
> >
> >
> >
> > Ian Fraser
> >
> >
> >
> > Systems Administrator | Agency Sector Management (UK) Limited |
> > www.asm.org.uk
> >
> > [t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e]
> ian.fra...@asm.org.uk
> >
> > Registered in England No. 2053849 | Registered address: Ashford House
> 41-45
> > Church Road  Ashford  Middx  TW15 2TQ
> >
> > Follow us on twitter @asmukltd
> >
> >
> >
> >
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> >
>
>
>
> --
> Didi
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Volume id incorrect

2018-05-15 Thread Marcelo Leandro
Description of problem:

I tried do an live storage migration but this failed, after I re-tried
and I had this error menssage.

storage origem (10.16.2.110)
storage destination (10.16.2.105)

HSMGetAllTasksStatusesVDS failed: Volume already exists:
('4072fd70-962c-40f7-898c-e7df5ad25725',)

this volume exists in the 2 storages. but in database show that the vm
run in the frist storage(origem).

find / -name 4072fd70-962c-40f7-898c-e7df5ad25725
/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725

/rhev/data-center/mnt/10.16.2.105:_home_nfs/3d65830f-afb3-4663-828c-42adff11de85/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725



but when a run this command  in the host that vm started:

ps aux | grep SEMARH*

Show that run another volume id:

-drive 
file=/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762

and this volume not exist:

qemu-img info 
/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762
qemu-img: Could not open
'/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762':
Could not open 
'/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762':
No such file or directory


qemu-img info 
/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762
qemu-img: Could not open
'/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762':
Could not open 
'/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/fe85c5da-10fe-4698-975d-22bfa6362762':
No such file or directory

If I run md5sum and hash not change:

md5sum 
/rhev/data-center/mnt/10.16.2.110\:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725
38021c8f670332f2f6ade6486b7a06eb
/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725

after 10 min:

md5sum 
/rhev/data-center/mnt/10.16.2.110\:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725
38021c8f670332f2f6ade6486b7a06eb
/rhev/data-center/mnt/10.16.2.110:_home_nfs/49b89dd4-b718-4a9e-8024-8d656ac9b3bd/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725


another storage:

24eeb2845cbfda238b78fa165c21607d
/rhev/data-center/mnt/10.16.2.105:_home_nfs/3d65830f-afb3-4663-828c-42adff11de85/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725

after 10 min:

24eeb2845cbfda238b78fa165c21607d
/rhev/data-center/mnt/10.16.2.105:_home_nfs/3d65830f-afb3-4663-828c-42adff11de85/images/67f7d6aa-d983-48c4-852b-7258d09c3881/4072fd70-962c-40f7-898c-e7df5ad25725



Version-Release number of selected component (if applicable):

oVirt engine - 4.1.9
Vdsm - 4.20.23


the vm run normaly and I already restart this.

Thank you.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] problem to create snapshot

2018-05-07 Thread Marcelo Leandro
Good morning,

vdsm-client StorageDomain getInfo storagedomainID= :

{
"uuid": "6e5cce71-3438-4045-9d54-607123e0557e",
"type": "ISCSI",
"vguuid": "7JOYDc-iQgm-11Pk-2czh-S8k0-Qc5U-f1npF1",
"metadataDevice": "36005076300810a4db802",
"state": "OK",
"version": "4",
"role": "Regular",
"vgMetadataDevice": "36005076300810a4db802",
"class": "Data",
"pool": [
"77e24b20-9d21-4952-a089-3c5c592b4e6d"
],
"name": "IBM01"
}


I am have 3 VMs runs in this storage, i am migrate vms to another storages
but this vms show the same error when try migrate on because need snapshots.

Very Thanks.

2018-05-06 11:26 GMT-03:00 Ala Hino <ah...@redhat.com>:

> [Please always CC ovirt-users so other engineer can provide help]
>
> It seems that the storage domain is corrupted.
> Can you please run the following command and send the output?
>
> vdsm-client StorageDomain getInfo storagedomainID=
>
> You may need to move the storage to maintenance and re-initialize it.
>
> On Thu, May 3, 2018 at 10:10 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Hello,
>>
>> Thank you for reply:
>>
>> oVirt Version -  4.1.9
>> Vdsm Versoin - 4.20.23
>>
>> attached logs,
>>
>> Very Thanks.
>>
>> Marcelo Leandro
>>
>> 2018-05-03 15:59 GMT-03:00 Ala Hino <ah...@redhat.com>:
>>
>>> Can you please share more info?
>>> - The version you are using
>>> - Full log of vdsm and the engine
>>>
>>> Is the VM running or down while creating the snapshot?
>>>
>>> On Thu, May 3, 2018 at 8:32 PM, Marcelo Leandro <marcelol...@gmail.com>
>>> wrote:
>>>
>>>> Anyone help me?
>>>>
>>>> 2018-05-02 17:55 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:
>>>>
>>>>> Hello ,
>>>>>
>>>>> I am geting error when try do a snapshot:
>>>>>
>>>>> Error msg in SPM log.
>>>>>
>>>>> 2018-05-02 17:46:11,235-0300 WARN  (tasks/2) [storage.ResourceManager]
>>>>> Resource factory failed to create resource '01_img_6e5cce71-3438-4045-9d5
>>>>> 4-607123e0557e.ed7f1c0f-5986-4979-b783-5c465b0854c6'. Canceling
>>>>> request. (resourceManager:543)
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
>>>>> line 539, in registerResource
>>>>> obj = namespaceObj.factory.createResource(name, lockType)
>>>>>   File 
>>>>> "/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py",
>>>>> line 193, in createResource
>>>>> lockType)
>>>>>   File 
>>>>> "/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py",
>>>>> line 122, in __getResourceCandidatesList
>>>>> imgUUID=resourceName)
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", line
>>>>> 213, in getChain
>>>>> if srcVol.isLeaf():
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py",
>>>>> line 1430, in isLeaf
>>>>> return self._manifest.isLeaf()
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py",
>>>>> line 138, in isLeaf
>>>>> return self.getVolType() == sc.type2name(sc.LEAF_VOL)
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py",
>>>>> line 134, in getVolType
>>>>> self.voltype = self.getMetaParam(sc.VOLTYPE)
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py",
>>>>> line 118, in getMetaParam
>>>>> meta = self.getMetadata()
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/blockVolume.py",
>>>>> line 112, in getMetadata
>>>>> md = VolumeMetadata.from_lines(lines)
>>>>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volumemetadata.py",
>>>>> line 103, in from_lines
>>>>> "Missing metadata key: %s: found: %s" % (e, md))
>>>>> MetaDataKeyNotFoundError: Meta Data key not

Re: [ovirt-users] problem to create snapshot

2018-05-03 Thread Marcelo Leandro
Anyone help me?

2018-05-02 17:55 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Hello ,
>
> I am geting error when try do a snapshot:
>
> Error msg in SPM log.
>
> 2018-05-02 17:46:11,235-0300 WARN  (tasks/2) [storage.ResourceManager]
> Resource factory failed to create resource '01_img_6e5cce71-3438-4045-
> 9d54-607123e0557e.ed7f1c0f-5986-4979-b783-5c465b0854c6'. Canceling
> request. (resourceManager:543)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
> line 539, in registerResource
> obj = namespaceObj.factory.createResource(name, lockType)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py",
> line 193, in createResource
> lockType)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py",
> line 122, in __getResourceCandidatesList
> imgUUID=resourceName)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", line
> 213, in getChain
> if srcVol.isLeaf():
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line
> 1430, in isLeaf
> return self._manifest.isLeaf()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line
> 138, in isLeaf
> return self.getVolType() == sc.type2name(sc.LEAF_VOL)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line
> 134, in getVolType
> self.voltype = self.getMetaParam(sc.VOLTYPE)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line
> 118, in getMetaParam
> meta = self.getMetadata()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/blockVolume.py",
> line 112, in getMetadata
> md = VolumeMetadata.from_lines(lines)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/volumemetadata.py",
> line 103, in from_lines
> "Missing metadata key: %s: found: %s" % (e, md))
> MetaDataKeyNotFoundError: Meta Data key not found error: ("Missing
> metadata key: 'DOMAIN': found: {'NONE': '#
> 
> 
> 
> 
> 
> 
> 
> #'}",)
> 2018-05-02 17:46:11,286-0300 WARN  (tasks/2) [storage.ResourceManager.Request]
> (ResName='01_img_6e5cce71-3438-4045-9d54-607123e0557e.
> ed7f1c0f-5986-4979-b783-5c465b0854c6', 
> ReqID='a3cd9388-977b-45b9-9aa0-e431aeff8750')
> Tried to cancel a processed request (resourceManager:187)
> 2018-05-02 17:46:11,286-0300 ERROR (tasks/2) [storage.TaskManager.Task]
> (Task='ba0766ca-08a1-4d65-a4e9-1e0171939037') Unexpected error (task:875)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882,
> in _run
> return fn(*args, **kargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 336,
> in run
> return self.cmd(*self.argslist, **self.argsdict)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line
> 79, in wrapper
> return method(self, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1938,
> in createVolume
> with rm.acquireResource(img_ns, imgUUID, rm.EXCLUSIVE):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
> line 1025, in acquireResource
> return _manager.acquireResource(namespace, name, lockType,
> timeout=timeout)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
> line 475, in acquireResource
> raise se.ResourceAcqusitionFailed()
> ResourceAcqusitionFailed: Could not acquire resource. Probably resource
> factory threw an exception.: ()
>
>
> Anyone help?
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] problem to create snapshot

2018-05-02 Thread Marcelo Leandro
Hello ,

I am geting error when try do a snapshot:

Error msg in SPM log.

2018-05-02 17:46:11,235-0300 WARN  (tasks/2) [storage.ResourceManager]
Resource factory failed to create resource
'01_img_6e5cce71-3438-4045-9d54-607123e0557e.ed7f1c0f-5986-4979-b783-5c465b0854c6'.
Canceling request. (resourceManager:543)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
line 539, in registerResource
obj = namespaceObj.factory.createResource(name, lockType)
  File
"/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py", line
193, in createResource
lockType)
  File
"/usr/lib/python2.7/site-packages/vdsm/storage/resourceFactories.py", line
122, in __getResourceCandidatesList
imgUUID=resourceName)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", line 213,
in getChain
if srcVol.isLeaf():
  File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line
1430, in isLeaf
return self._manifest.isLeaf()
  File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line 138,
in isLeaf
return self.getVolType() == sc.type2name(sc.LEAF_VOL)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line 134,
in getVolType
self.voltype = self.getMetaParam(sc.VOLTYPE)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line 118,
in getMetaParam
meta = self.getMetadata()
  File "/usr/lib/python2.7/site-packages/vdsm/storage/blockVolume.py", line
112, in getMetadata
md = VolumeMetadata.from_lines(lines)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/volumemetadata.py",
line 103, in from_lines
"Missing metadata key: %s: found: %s" % (e, md))
MetaDataKeyNotFoundError: Meta Data key not found error: ("Missing metadata
key: 'DOMAIN': found: {'NONE':
'##'}",)
2018-05-02 17:46:11,286-0300 WARN  (tasks/2)
[storage.ResourceManager.Request]
(ResName='01_img_6e5cce71-3438-4045-9d54-607123e0557e.ed7f1c0f-5986-4979-b783-5c465b0854c6',
ReqID='a3cd9388-977b-45b9-9aa0-e431aeff8750') Tried to cancel a processed
request (resourceManager:187)
2018-05-02 17:46:11,286-0300 ERROR (tasks/2) [storage.TaskManager.Task]
(Task='ba0766ca-08a1-4d65-a4e9-1e0171939037') Unexpected error (task:875)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882,
in _run
return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 336,
in run
return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line
79, in wrapper
return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1938, in
createVolume
with rm.acquireResource(img_ns, imgUUID, rm.EXCLUSIVE):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
line 1025, in acquireResource
return _manager.acquireResource(namespace, name, lockType,
timeout=timeout)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/resourceManager.py",
line 475, in acquireResource
raise se.ResourceAcqusitionFailed()
ResourceAcqusitionFailed: Could not acquire resource. Probably resource
factory threw an exception.: ()


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


Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Marcelo Leandro
Hello,

I try only did an clean install in another server with steps:

my host is a Centos 7 with LANG = LANG= english

commmand:

#locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


1-yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
2-yum update
3-yum install ovirt-engine -y
4-engine-setup --accept-defaults
5-engine-cleanup
6- engine-backup --mode=restore --no-restore-permissions --provision-db
--provision-dwh-db --provision-reports-db --file=engine-backup.tar.gz
--log=engine-backup-restore.log

and upgrade now:

1-yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
2-yum update "ovirt-*-setup*"
3- engine-setup

It`s works for me.



2018-04-26 9:12 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Do you have a full backup ?
>
> If yes, I think if possible  better configure a new Server and restore.
>
> Em 26 de abr de 2018 09:00, "Aziz" <azizgst...@gmail.com> escreveu:
>
> Thanks Marcelo for the feedback,
>
> In my case some of the components are already upgraded to 4.2, including
> cleanup engine, therefore I got the following error :
>
> engine-cleanup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: ['/etc/ovirt-engine-setup.
> conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-
> 2018042613-m68ygc.log
>   Version: otopi-1.7.7 (otopi-1.7.7-1.el7.centos)
> [ ERROR ] Cleanup utility and installed version mismatch
>   Please use a version of cleanup utility that matches the engine
> installed version (now engine-cleanup 4.2.2.6, engine 4.1.9.1)
> [ ERROR ] Failed to execute stage 'Environment setup': Cleanup utility
> version mismatch
> [ INFO  ] Stage: Clean up
>   Log file is located at /var/log/ovirt-engine/setup/
> ovirt-engine-remove-2018042613-m68ygc.log
> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/
> answers/20180426135556-cleanup.conf'
>
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of cleanup failed
>
>
> Is there a way to downgrade ?
>
>
> Thanks
>
> On Thu, Apr 26, 2018 at 12:49 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> I am had the same problem, is a problem in database structure. In my lab
>> I followed this steps:
>>
>> FOLLOW THIS STEP IN A LAB FIRST:
>>
>> Full backup before the upgrade engine:
>>
>> engine-backup --scope=all --mode=backup --file=file_name
>> --log=log_file_name
>>
>> after clean you engine config:
>>
>> engine-cleanup
>>
>>
>> Change structure template 1
>>
>> su - postgres
>>
>> psql -U postgres
>>
>> postgres=# update pg_database set datallowconn = TRUE where datname =
>> 'template0';
>> UPDATE 1
>> postgres=# \c template0
>> You are now connected to database "template0".
>> template0=# update pg_database set datistemplate = FALSE where datname =
>> 'template1';
>> UPDATE 1
>> template0=# drop database template1;
>> DROP DATABASE
>> template0=# create database template1 with owner=postgres encoding='UTF-8'
>>   lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
>> CREATE DATABASE
>> template0=# update pg_database set datistemplate = TRUE where datname =
>> 'template1';
>> UPDATE 1
>> template0=# \c template1
>> You are now connected to database "template1".
>> template1=# update pg_database set datallowconn = FALSE where datname =
>> 'template0';
>> UPDATE 1
>> template1=# \q
>>
>> change structure template0
>>
>> psql -U postgres
>> postgres=# update pg_database set datallowconn = TRUE where datname =
>> 'template1';
>> UPDATE 1
>> postgres=# \c template1
>> You are now connected to database "template0".
>> template0=# update pg_database set datistemplate = FALSE where datname =
>> 'template0';
>> UPDATE 1
>> template0=# drop database template0;
>> DROP DATABASE
>> template0=# create database template0 with owner=postgres encoding='UTF-8'
&

Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Marcelo Leandro
Do you have a full backup ?

If yes, I think if possible  better configure a new Server and restore.

Em 26 de abr de 2018 09:00, "Aziz" <azizgst...@gmail.com> escreveu:

Thanks Marcelo for the feedback,

In my case some of the components are already upgraded to 4.2, including
cleanup engine, therefore I got the following error :

engine-cleanup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-remove-2018042613-m68ygc.log
  Version: otopi-1.7.7 (otopi-1.7.7-1.el7.centos)
[ ERROR ] Cleanup utility and installed version mismatch
  Please use a version of cleanup utility that matches the engine
installed version (now engine-cleanup 4.2.2.6, engine 4.1.9.1)
[ ERROR ] Failed to execute stage 'Environment setup': Cleanup utility
version mismatch
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-remove-2018042613-m68ygc.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20180426135556-cleanup.conf'

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of cleanup failed


Is there a way to downgrade ?


Thanks

On Thu, Apr 26, 2018 at 12:49 PM, Marcelo Leandro <marcelol...@gmail.com>
wrote:

> I am had the same problem, is a problem in database structure. In my lab I
> followed this steps:
>
> FOLLOW THIS STEP IN A LAB FIRST:
>
> Full backup before the upgrade engine:
>
> engine-backup --scope=all --mode=backup --file=file_name
> --log=log_file_name
>
> after clean you engine config:
>
> engine-cleanup
>
>
> Change structure template 1
>
> su - postgres
>
> psql -U postgres
>
> postgres=# update pg_database set datallowconn = TRUE where datname =
> 'template0';
> UPDATE 1
> postgres=# \c template0
> You are now connected to database "template0".
> template0=# update pg_database set datistemplate = FALSE where datname =
> 'template1';
> UPDATE 1
> template0=# drop database template1;
> DROP DATABASE
> template0=# create database template1 with owner=postgres encoding='UTF-8'
>   lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
> CREATE DATABASE
> template0=# update pg_database set datistemplate = TRUE where datname =
> 'template1';
> UPDATE 1
> template0=# \c template1
> You are now connected to database "template1".
> template1=# update pg_database set datallowconn = FALSE where datname =
> 'template0';
> UPDATE 1
> template1=# \q
>
> change structure template0
>
> psql -U postgres
> postgres=# update pg_database set datallowconn = TRUE where datname =
> 'template1';
> UPDATE 1
> postgres=# \c template1
> You are now connected to database "template0".
> template0=# update pg_database set datistemplate = FALSE where datname =
> 'template0';
> UPDATE 1
> template0=# drop database template0;
> DROP DATABASE
> template0=# create database template0 with owner=postgres encoding='UTF-8'
>   lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template1;
> CREATE DATABASE
> template0=# update pg_database set datistemplate = TRUE where datname =
> 'template0';
> UPDATE 1
> template0=# \c template0
> You are now connected to database "template0".
> template1=# update pg_database set datallowconn = FALSE where datname =
> 'template1';
> UPDATE 1
> template1=# \q
>
>
> change estructure postgres
>
> psql template0
> 1-drop database postgres;
> 2- create database postgres with owner=postgres encoding='UTF-8'
>   lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
> 3-\q
>
> restore database:
> engine-backup --mode=restore --file=file_name --log=log_file_name
> --provision-db --restore-permissions
>
> if return error in the restore :
>
> engine-backup --mode=restore --no-restore-permissions --provision-db
> --provision-dwh-db --provision-reports-db --file=engine-backup.tar.gz
> --log=engine-backup-restore.log
>
> follow the steps to upgrade now.
>
>
> I dont sure if this steps is correct but works in my lab. I appreciate if
> anyone of red hat approve this steps to apply in my production environment.
>
> 2018-04-26 8:23 GMT-03:00 Staniforth, Paul <
> p.stanifo...@leedsbeckett.ac.uk>:
>
>> I'm having this problem as well.
>>
>>
>> It's suggested here to backup the databases and install new clean version
>> of postgresql with the correct encoding,collation, etc and restore the
>> databases.
>>
>&

Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Marcelo Leandro
I am had the same problem, is a problem in database structure. In my lab I
followed this steps:

FOLLOW THIS STEP IN A LAB FIRST:

Full backup before the upgrade engine:

engine-backup --scope=all --mode=backup --file=file_name --log=log_file_name

after clean you engine config:

engine-cleanup


Change structure template 1

su - postgres

psql -U postgres

postgres=# update pg_database set datallowconn = TRUE where datname =
'template0';
UPDATE 1
postgres=# \c template0
You are now connected to database "template0".
template0=# update pg_database set datistemplate = FALSE where datname =
'template1';
UPDATE 1
template0=# drop database template1;
DROP DATABASE
template0=# create database template1 with owner=postgres encoding='UTF-8'
  lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
CREATE DATABASE
template0=# update pg_database set datistemplate = TRUE where datname =
'template1';
UPDATE 1
template0=# \c template1
You are now connected to database "template1".
template1=# update pg_database set datallowconn = FALSE where datname =
'template0';
UPDATE 1
template1=# \q

change structure template0

psql -U postgres
postgres=# update pg_database set datallowconn = TRUE where datname =
'template1';
UPDATE 1
postgres=# \c template1
You are now connected to database "template0".
template0=# update pg_database set datistemplate = FALSE where datname =
'template0';
UPDATE 1
template0=# drop database template0;
DROP DATABASE
template0=# create database template0 with owner=postgres encoding='UTF-8'
  lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template1;
CREATE DATABASE
template0=# update pg_database set datistemplate = TRUE where datname =
'template0';
UPDATE 1
template0=# \c template0
You are now connected to database "template0".
template1=# update pg_database set datallowconn = FALSE where datname =
'template1';
UPDATE 1
template1=# \q


change estructure postgres

psql template0
1-drop database postgres;
2- create database postgres with owner=postgres encoding='UTF-8'
  lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;
3-\q

restore database:
engine-backup --mode=restore --file=file_name --log=log_file_name
--provision-db --restore-permissions

if return error in the restore :

engine-backup --mode=restore --no-restore-permissions --provision-db
--provision-dwh-db --provision-reports-db --file=engine-backup.tar.gz
--log=engine-backup-restore.log

follow the steps to upgrade now.


I dont sure if this steps is correct but works in my lab. I appreciate if
anyone of red hat approve this steps to apply in my production environment.

2018-04-26 8:23 GMT-03:00 Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>
:

> I'm having this problem as well.
>
>
> It's suggested here to backup the databases and install new clean version
> of postgresql with the correct encoding,collation, etc and restore the
> databases.
>
>
> https://www.mail-archive.com/users@ovirt.org/msg47854.html
>
>
> I hope to try this today or tomorrow on a test system.
>
>
> Regards,
>
>   Paul S.
> --
> *From:* users-boun...@ovirt.org <users-boun...@ovirt.org> on behalf of
> Aziz <azizgst...@gmail.com>
> *Sent:* 26 April 2018 12:15
> *To:* Marcelo Leandro
> *Cc:* users
> *Subject:* Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre
> version required
>
> This is similar to the below bug :
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1528371
>
> Any ideas on how to fix it without losing the existing config ?
>
> Thank you.
>
>
>
> On Thu, Apr 26, 2018 at 11:54 AM, Aziz <azizgst...@gmail.com> wrote:
>
>> There you are :
>>
>>
>> [root@CTL1 tmp]# su - postgresql
>> su: user postgresql does not exist
>> [root@CTL1 tmp]# su - postgres
>> Last login: Thu Apr 26 12:25:01 CEST 2018 on pts/0
>> nodectl must be run as root!
>> nodectl must be run as root!
>> nodectl must be run as root!
>> nodectl must be run as root!
>> -bash-4.2$ psql
>> psql (9.2.23)
>> Saisissez « help » pour l'aide.
>>
>> postgres=# \l
>>Liste des bases de données
>>  Nom  | Propriétaire | Encodage | Collationnement
>> | Type caract. |Droits d'accès
>> --+--+--+---
>> --+--+---
>>  dwh  | postgres | UTF8 | fr_FR.UTF-8
>> | fr_FR.UTF-8  | =Tc/postgres +
>>   |  |  |
>> |  | postgres=CTc/postgres
>>  engine   | engine   |

Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Marcelo Leandro
Show this information:

1 - su - postgresql
2 - psql
3 - \l


Thanks,

2018-04-26 7:38 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> What show in the /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log ?
>
> command:
> cat /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log
>
> Marcelo Leandro
>
> Em qui, 26 de abr de 2018 07:34, Aziz <azizgst...@gmail.com> escreveu:
>
>> Hi Ovirt users,
>>
>> I'm trying to upgrade my Ovirt from version 4.1 to 4.2, but I'm stuck
>> when issuing the command  *engine-setup* which returns the following
>> errors :
>>
>> Upgrading PostgreSQL
>> *[ ERROR ] Failed to execute stage 'Misc configuration': Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute*
>> [ INFO  ] Yum Performing yum transaction rollback
>> [ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
>> [ INFO  ] Stage: Clean up Log file is located at
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20180426122630-rpkrel.log
>> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/
>> 20180426122823-setup.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> *[ ERROR ] Execution of setup failed*
>>
>>
>> Can anyone help to resolve this ?
>>
>>
>> Thank you in advance.
>>
>> BR.
>> ___
>> 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] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Marcelo Leandro
What show in the /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log ?

command:
cat /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log

Marcelo Leandro

Em qui, 26 de abr de 2018 07:34, Aziz <azizgst...@gmail.com> escreveu:

> Hi Ovirt users,
>
> I'm trying to upgrade my Ovirt from version 4.1 to 4.2, but I'm stuck when
> issuing the command  *engine-setup* which returns the following errors :
>
> Upgrading PostgreSQL
> *[ ERROR ] Failed to execute stage 'Misc configuration': Command
> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute*
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
> [ INFO  ] Stage: Clean up Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20180426122630-rpkrel.log
> [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/
> answers/20180426122823-setup.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> *[ ERROR ] Execution of setup failed*
>
>
> Can anyone help to resolve this ?
>
>
> Thank you in advance.
>
> BR.
> ___
> 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] Problem to upgrade ovirt

2018-04-25 Thread Marcelo Leandro
Hello ,
 I do a full-backup of ovirt-engine,instaled ovirt-engine in new host ,
drop database postgres and create a new with this steps:

 1-drop database postgres;
 2- create database template1 with owner=postgres encoding='UTF-8'
   lc_collate='en_US.utf8' lc_ctype='en_US.utf8' template template0;

and after this steps I restores backup of ovirt-engine and run
engine-setup, upgrade works now.

With this steps I can obtain somethings erros in the future?

Thanks,

Marcelo Leandro

Em seg, 23 de abr de 2018 17:04, Marcelo Leandro <marcelol...@gmail.com>
escreveu:

> Thank you for reply,
>
>
> "BZ 1515635 [RFE] Drop uuid_generate_v1() internal implementation and use
> the implementation from standard PostgreSQL uuid-ossp extension
> We have added a requirement for uuid-ossp PostgreSQL extension to be
> present in engine database. For databases managed by engine-setup this is
> performed automatically, but non-managed databases (usually remote
> databases) this needs to be done manually by administrators. "
>
>
> my database is  managed by engine-setup, so i think that is perfomed
> automatically. I know that problem in my database , but I instaled it`s
> whith engine-setup com default options.
>
> I try an new instalation in new host and restore backup and when I try
> update I had take the same error.
>
>
> Very thanks!!
>
>
>
>
>
> 2018-04-23 16:47 GMT-03:00 Alexander Wels <aw...@redhat.com>:
>
>> On Monday, April 23, 2018 3:23:21 PM EDT Marcelo Leandro wrote:
>> > Can someone help me?
>> >
>> > Thanks,
>> >
>> > Marcelo Leandro
>> >
>>
>> You need postgresql 9.5, following the information here should give you
>> everything you need:
>>
>> https://www.ovirt.org/release/4.2.1/
>>
>> Also look at the information below 'What's New in 4.2.1' it has some
>> information on upgrading the uuid generation which requires some manual
>> steps.
>>
>> > 2018-04-23 8:27 GMT-03:00 Robert O'Kane <ok...@khm.de>:
>> > > Hello,
>> > >
>> > > Sorry, I did not have to chance anything else. It simply worked after
>> my
>> > > SELinux solution.
>> > >
>> > > Good Luck.
>> > >
>> > > Robert O'Kane
>> > >
>> > > On 04/23/2018 01:21 PM, Marcelo Leandro wrote:
>> > >> Hello, Robert
>> > >>
>> > >> Thank you for reply, I tried this steps but not worked for me , I
>> think
>> > >> that I need change parameters in my postgresql but I don't know how
>> do
>> > >> this.
>> > >>
>> > >>
>> > >> 2018-04-22 7:45 GMT-03:00 Robert O'Kane <ok...@khm.de > > >>
>> > >> ok...@khm.de>>:
>> > >> Hello,
>> > >>
>> > >> I had a similar problem with the engine update from 4.1.9 to
>> 4.2.2.
>> > >> For me it was SELinux in Enforcing mode on the host.  You should
>> > >>
>> > >> check that
>> > >>
>> > >> SELinux is in "Enforcing" mode and that the audit daemon is
>> > >>
>> > >> complaining
>> > >>
>> > >> about postgres95. "audit2why -a"
>> > >>
>> > >>
>> > >> I set the host to "Permissive", did the upgrade and it worked
>> for me.
>> > >> But you may have to leave it in "Permissive" mode until you can
>> > >>
>> > >> update the
>> > >>
>> > >> SELinux rules.
>> > >>
>> > >>
>> > >> *IF* the problem is SELinux I would suggest:
>> > >>
>> > >> 1: Clean up the auditd logs (make sure all old problems are
>> > >>
>> > >> corrected).
>> > >>
>> > >> Reset the auditd logs so the following output is "cleaner".
>> > >> The "audit2why -a" command should show nothing. Please
>> RYFM
>> > >>
>> > >> 2: Set SELinux to "Permissive" mode.
>> > >>
>> > >> 3: Apply the Ovirt-engine updates. Make sure everything works.
>> > >>
>> > >> 4: run "audit2why -a" and see what the warnings are
>> > >>
>> > >>   or go directly to 5
>> > >>
>> > >> 5: generate the new rules with:
>&g

Re: [ovirt-users] Problem to upgrade ovirt

2018-04-23 Thread Marcelo Leandro
Thank you for reply,


"BZ 1515635 [RFE] Drop uuid_generate_v1() internal implementation and use
the implementation from standard PostgreSQL uuid-ossp extension
We have added a requirement for uuid-ossp PostgreSQL extension to be
present in engine database. For databases managed by engine-setup this is
performed automatically, but non-managed databases (usually remote
databases) this needs to be done manually by administrators. "


my database is  managed by engine-setup, so i think that is perfomed
automatically. I know that problem in my database , but I instaled it`s
whith engine-setup com default options.

I try an new instalation in new host and restore backup and when I try
update I had take the same error.


Very thanks!!





2018-04-23 16:47 GMT-03:00 Alexander Wels <aw...@redhat.com>:

> On Monday, April 23, 2018 3:23:21 PM EDT Marcelo Leandro wrote:
> > Can someone help me?
> >
> > Thanks,
> >
> > Marcelo Leandro
> >
>
> You need postgresql 9.5, following the information here should give you
> everything you need:
>
> https://www.ovirt.org/release/4.2.1/
>
> Also look at the information below 'What's New in 4.2.1' it has some
> information on upgrading the uuid generation which requires some manual
> steps.
>
> > 2018-04-23 8:27 GMT-03:00 Robert O'Kane <ok...@khm.de>:
> > > Hello,
> > >
> > > Sorry, I did not have to chance anything else. It simply worked after
> my
> > > SELinux solution.
> > >
> > > Good Luck.
> > >
> > > Robert O'Kane
> > >
> > > On 04/23/2018 01:21 PM, Marcelo Leandro wrote:
> > >> Hello, Robert
> > >>
> > >> Thank you for reply, I tried this steps but not worked for me , I
> think
> > >> that I need change parameters in my postgresql but I don't know how do
> > >> this.
> > >>
> > >>
> > >> 2018-04-22 7:45 GMT-03:00 Robert O'Kane <ok...@khm.de  > >>
> > >> ok...@khm.de>>:
> > >> Hello,
> > >>
> > >> I had a similar problem with the engine update from 4.1.9 to
> 4.2.2.
> > >> For me it was SELinux in Enforcing mode on the host.  You should
> > >>
> > >> check that
> > >>
> > >> SELinux is in "Enforcing" mode and that the audit daemon is
> > >>
> > >> complaining
> > >>
> > >> about postgres95. "audit2why -a"
> > >>
> > >>
> > >> I set the host to "Permissive", did the upgrade and it worked for
> me.
> > >> But you may have to leave it in "Permissive" mode until you can
> > >>
> > >> update the
> > >>
> > >> SELinux rules.
> > >>
> > >>
> > >> *IF* the problem is SELinux I would suggest:
> > >>
> > >> 1: Clean up the auditd logs (make sure all old problems are
> > >>
> > >> corrected).
> > >>
> > >> Reset the auditd logs so the following output is "cleaner".
> > >> The "audit2why -a" command should show nothing. Please
> RYFM
> > >>
> > >> 2: Set SELinux to "Permissive" mode.
> > >>
> > >> 3: Apply the Ovirt-engine updates. Make sure everything works.
> > >>
> > >> 4: run "audit2why -a" and see what the warnings are
> > >>
> > >>   or go directly to 5
> > >>
> > >> 5: generate the new rules with:
> > >>audit2allow -a -M postgres95-selinux-ovirt
> > >>
> > >> 6: add the rules to the system:
> > >>semodule -i  postgres95-selinux-ovirt.pp
> > >>
> > >> 7: It should now be possible to set SELinux back to "Enforcing"
> > >>
> > >>
> > >> Good Luck,
> > >>
> > >> Robert O'Kane
> > >>
> > >> Am 21.04.2018 um 10:26 schrieb Marcelo Leandro:
> > >> Hello,
> > >> I have problem when i try upgrade the ovirt to 4.2,  my
> version
> > >>
> > >> is 4.1.9, I
> > >>
> > >> have problem when engine-setup try update the postgresql.
> > >> Postgres version 9.2
> > >>
> > >> I had this message:
> > >>
> > >> Log install:
> > >>
> > >>   

Re: [ovirt-users] Problem to upgrade ovirt

2018-04-23 Thread Marcelo Leandro
Can someone help me?

Thanks,

Marcelo Leandro

2018-04-23 8:27 GMT-03:00 Robert O'Kane <ok...@khm.de>:

> Hello,
>
> Sorry, I did not have to chance anything else. It simply worked after my
> SELinux solution.
>
> Good Luck.
>
> Robert O'Kane
>
>
> On 04/23/2018 01:21 PM, Marcelo Leandro wrote:
>
>> Hello, Robert
>>
>> Thank you for reply, I tried this steps but not worked for me , I think
>> that I need change parameters in my postgresql but I don't know how do this.
>>
>>
>> 2018-04-22 7:45 GMT-03:00 Robert O'Kane <ok...@khm.de > ok...@khm.de>>:
>>
>>
>> Hello,
>>
>> I had a similar problem with the engine update from 4.1.9 to 4.2.2.
>> For me it was SELinux in Enforcing mode on the host.  You should
>> check that
>> SELinux is in "Enforcing" mode and that the audit daemon is
>> complaining
>> about postgres95. "audit2why -a"
>>
>>
>> I set the host to "Permissive", did the upgrade and it worked for me.
>> But you may have to leave it in "Permissive" mode until you can
>> update the
>> SELinux rules.
>>
>>
>> *IF* the problem is SELinux I would suggest:
>>
>> 1: Clean up the auditd logs (make sure all old problems are
>> corrected).
>> Reset the auditd logs so the following output is "cleaner".
>> The "audit2why -a" command should show nothing. Please RYFM
>>
>> 2: Set SELinux to "Permissive" mode.
>>
>> 3: Apply the Ovirt-engine updates. Make sure everything works.
>>
>> 4: run "audit2why -a" and see what the warnings are
>>   or go directly to 5
>>
>> 5: generate the new rules with:
>>audit2allow -a -M postgres95-selinux-ovirt
>>
>> 6: add the rules to the system:
>>semodule -i  postgres95-selinux-ovirt.pp
>>
>> 7: It should now be possible to set SELinux back to "Enforcing"
>>
>>
>> Good Luck,
>>
>> Robert O'Kane
>>
>>
>>
>> Am 21.04.2018 um 10:26 schrieb Marcelo Leandro:
>>
>> Hello,
>> I have problem when i try upgrade the ovirt to 4.2,  my version
>> is 4.1.9, I
>> have problem when engine-setup try update the postgresql.
>> Postgres version 9.2
>>
>> I had this message:
>>
>> Log install:
>>
>> ERROR: pg_upgrade tool failed
>> ERROR: Upgrade failed.
>>* See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log
>> for details.
>>
>> 2018-04-21 04:53:10,766-0300 DEBUG otopi.transaction
>> transaction._prepare:66 exception during prepare phase
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/site-packages/otopi/transaction.py",
>> line
>> 62, in
>> _prepare
>>   element.prepare()
>> File
>> "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_
>> common/postgres.py",
>> line 777, in prepare
>>   raiseOnError=True,
>> File "/usr/lib/python2.7/site-packages/otopi/plugin.py",
>> line 931, in
>> execute
>>   command=args[0],
>> RuntimeError: Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed
>> to execute
>> 2018-04-21 04:53:10,768-0300 DEBUG otopi.context
>> context._executeMethod:143
>> method exception
>> Traceback (most recent call last):
>> File "/usr/lib/python2.7/site-packages/otopi/context.py",
>> line 133, in
>> _executeMethod
>>   method['method']()
>> File
>> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/db/dbmsupgrade.py",
>> line 89, in _updateDBMS
>>   oengcommcons.ProvisioningEnv.OLD_POSTGRES_SERVICE
>> File "/usr/lib/python2.7/site-packages/otopi/transaction.py",
>> line 106,
>> in append
>>   self._prepare(element=element)
>> File "/usr/lib/python2.7/site-packages/otopi/transaction.py",
>> line
>> 62, in
>> _prepare
>>   element.prepare()
>> File
>> "/usr/share/ovirt-engine/setup/o

Re: [ovirt-users] Problem to upgrade ovirt

2018-04-23 Thread Marcelo Leandro
Hello, Robert

Thank you for reply, I tried this steps but not worked for me , I think
that I need change parameters in my postgresql but I don't know how do this.


2018-04-22 7:45 GMT-03:00 Robert O'Kane <ok...@khm.de>:

> Hello,
>
> I had a similar problem with the engine update from 4.1.9 to 4.2.2.
> For me it was SELinux in Enforcing mode on the host.  You should check
> that SELinux is in "Enforcing" mode and that the audit daemon is
> complaining about postgres95. "audit2why -a"
>
>
> I set the host to "Permissive", did the upgrade and it worked for me.
> But you may have to leave it in "Permissive" mode until you can update the
> SELinux rules.
>
>
> *IF* the problem is SELinux I would suggest:
>
> 1: Clean up the auditd logs (make sure all old problems are corrected).
>Reset the auditd logs so the following output is "cleaner".
>The "audit2why -a" command should show nothing. Please RYFM
>
> 2: Set SELinux to "Permissive" mode.
>
> 3: Apply the Ovirt-engine updates. Make sure everything works.
>
> 4: run "audit2why -a" and see what the warnings are
>  or go directly to 5
>
> 5: generate the new rules with:
>   audit2allow -a -M postgres95-selinux-ovirt
>
> 6: add the rules to the system:
>   semodule -i  postgres95-selinux-ovirt.pp
>
> 7: It should now be possible to set SELinux back to "Enforcing"
>
>
> Good Luck,
>
> Robert O'Kane
>
>
>
> Am 21.04.2018 um 10:26 schrieb Marcelo Leandro:
>
>> Hello,
>> I have problem when i try upgrade the ovirt to 4.2,  my version is 4.1.9,
>> I
>> have problem when engine-setup try update the postgresql.
>> Postgres version 9.2
>>
>> I had this message:
>>
>> Log install:
>>
>> ERROR: pg_upgrade tool failed
>> ERROR: Upgrade failed.
>>   * See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log for
>> details.
>>
>> 2018-04-21 04:53:10,766-0300 DEBUG otopi.transaction
>> transaction._prepare:66 exception during prepare phase
>> Traceback (most recent call last):
>>File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line
>> 62, in
>> _prepare
>>  element.prepare()
>>File
>> "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_
>> common/postgres.py",
>> line 777, in prepare
>>  raiseOnError=True,
>>File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in
>> execute
>>  command=args[0],
>> RuntimeError: Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
>> 2018-04-21 04:53:10,768-0300 DEBUG otopi.context
>> context._executeMethod:143
>> method exception
>> Traceback (most recent call last):
>>File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
>> _executeMethod
>>  method['method']()
>>File
>> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/db/dbmsupgrade.py",
>> line 89, in _updateDBMS
>>  oengcommcons.ProvisioningEnv.OLD_POSTGRES_SERVICE
>>File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line
>> 106,
>> in append
>>  self._prepare(element=element)
>>File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line
>> 62, in
>> _prepare
>>  element.prepare()
>>File
>> "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_
>> common/postgres.py",
>> line 777, in prepare
>>  raiseOnError=True,
>>File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in
>> execute
>>  command=args[0],
>> RuntimeError: Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
>> 2018-04-21 04:53:10,770-0300 ERROR otopi.context
>> context._executeMethod:152
>> Failed to execute stage 'Misc configuration': Command
>> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
>>
>> Log postgres:
>> Performing Consistency Checks
>> -
>> Checking cluster versions   ok
>> Checking database user is the install user  ok
>> Checking database connection settings   ok
>> Checking for prepared transactions  ok
>> Checking for reg* system OID user data typesok
>> Checking for contrib/isn with bigint-passing mi

[ovirt-users] Problem to upgrade ovirt

2018-04-21 Thread Marcelo Leandro
Hello,
I have problem when i try upgrade the ovirt to 4.2,  my version is 4.1.9, I
have problem when engine-setup try update the postgresql.
Postgres version 9.2

I had this message:

Log install:

ERROR: pg_upgrade tool failed
ERROR: Upgrade failed.
 * See /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log for details.

2018-04-21 04:53:10,766-0300 DEBUG otopi.transaction
transaction._prepare:66 exception during prepare phase
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line 62, in
_prepare
element.prepare()
  File
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py",
line 777, in prepare
raiseOnError=True,
  File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in
execute
command=args[0],
RuntimeError: Command
'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
2018-04-21 04:53:10,768-0300 DEBUG otopi.context context._executeMethod:143
method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/dbmsupgrade.py",
line 89, in _updateDBMS
oengcommcons.ProvisioningEnv.OLD_POSTGRES_SERVICE
  File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line 106,
in append
self._prepare(element=element)
  File "/usr/lib/python2.7/site-packages/otopi/transaction.py", line 62, in
_prepare
element.prepare()
  File
"/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py",
line 777, in prepare
raiseOnError=True,
  File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in
execute
command=args[0],
RuntimeError: Command
'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
2018-04-21 04:53:10,770-0300 ERROR otopi.context context._executeMethod:152
Failed to execute stage 'Misc configuration': Command
'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute

Log postgres:
Performing Consistency Checks
-
Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "postgres" do not match:  old "SQL_ASCII", new "UTF8"
Failure, exiting


I know that problem not is in oVirt , but anyone help me ?


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


[ovirt-users] Cache to NFS

2018-03-28 Thread Marcelo Leandro
Hello,
I have 1 server configured with RAID 6 36TB HDD, I would like improve the
performance, I read about lvmcache with SSD and  would like know if its
indicated to configure with NFS and how can calculete the size necessary to
ssd.

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


Re: [ovirt-users] Problem to upgrade level cluster to 4.1

2018-03-26 Thread Marcelo Leandro
Thank you for help.

This resolved my problem.

2018-03-26 3:56 GMT-03:00 Arik Hadas <aha...@redhat.com>:

>
>
> On Sun, Mar 25, 2018 at 3:06 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Good morning,
>> follow the log:
>>
>>  The real name of vms :
>> VPS-Jarauto
>> VPS-Jarauto-Firewall
>> VPS-Varejo-Mais
>>
>> Thanks,
>>
>
> Thanks for sharing the log.
>
> Two of these VMs are configured with the custom-property 'macspoof'. That
> property is not supposed to be used since 4.0 (IIRC).
> Nevertheless, defining this property for version 4.1 should solve this
> problem, see [1].
>
> The third VM is in a weird state - it cannot be updated because the host
> it runs on doesn't support the number of CPUs defined for this VM.
> You can either shut this VM down during the cluster upgrade or try to
> migrate it to another host with more CPUs available.
>
> Unfortunately, I can't correlate those issues with the VMs you mentioned,
> but if you'll start with with the first issue you'll find which one
> of them is that 'third VM'.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1373573
>
>
>>
>> 2018-03-25 3:29 GMT-03:00 Arik Hadas <aha...@redhat.com>:
>>
>>>
>>>
>>> On Fri, Mar 23, 2018 at 9:09 PM, Marcelo Leandro <marcelol...@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>  I am try update the cluster level but i had this menssage erro:
>>>>
>>>> Erro durante a execução da ação: Update of cluster compatibility
>>>> version failed because there are VMs/Templates [VPS-NAME01, VPS-NAME02,
>>>>  VPS-NAME03] with incorrect configuration. To fix the issue, please go
>>>> to each of them, edit and press OK. If the save does not pass, fix the
>>>> dialog validation.
>>>>
>>>>
>>>> 23/03/2018 15:03:07
>>>> Cannot update compatibility version of Vm/Template: [VPS-NAME01],
>>>> Message: [No Message]
>>>> 23/03/2018 15:03:07
>>>> Cannot update compatibility version of Vm/Template: [VPS-NAME02],
>>>> Message: [No Message]
>>>> 23/03/2018 15:03:07
>>>> Cannot update compatibility version of Vm/Template: [VPS-NAME03],
>>>> Message: [No Message]
>>>>
>>>>
>>>> I am already open the edit box vm and close with ok button how show in
>>>> the erro menssagem:
>>>> To fix the issue, please go to each of them, edit and press OK. If the
>>>> save does not pass, fix the dialog validation.
>>>>
>>>> But not return error when save.
>>>>
>>>> Anyone can help me ?
>>>>
>>>
>>> Can you please share the engine.log?
>>>
>>>
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-25 Thread Marcelo Leandro
Good morning ,
Very thanks shirly, I will try.

Marcelo Leandro

Em Dom, 25 de mar de 2018 06:01, Shirly Radco <sra...@redhat.com> escreveu:

>
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
> On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I am try this how to:
>>
>>
>> https://www.ovirt.org/develop/release-management/features/metrics/metrics-store-installation/
>>
>> but when i run this command:
>>
>> /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
>>   --playbook=ovirt-metrics-store-installation.yml
>>
>> I am had this error mensagem:
>> ansible-playbook: error: no such option: --playbook
>>
>> my version:
>>
>> ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
>>
>
> Hi,
>
> You are using an old rpm.
>
> Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch
>
> I also added some documentation that is still in pull request:
>
> Add Viaq installation guide to the oVirt metrics store repo -
> https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I
> introduced a lot of automation that save time when installing.
>
> Add prerequisites for installing OpenShift Logging -
> https://github.com/oVirt/ovirt-site/pull/1561
>
> Added how to import dashboards examples to kibana -
> https://github.com/oVirt/ovirt-site/pull/1559
>
> Please review them.I'll try to get them merged asap.
>
>
>>
>> Anyone can help me?
>>
>>
>> 2018-03-22 16:28 GMT-03:00 Christopher Cox <c...@endlessnow.com>:
>>
>>> On 03/21/2018 10:41 PM, Terry hey wrote:
>>>
>>>> Dear all,
>>>>
>>>> Now, we can just read how many storage used, cpu usage on ovirt
>>>> dashboard.
>>>> But is there any monitoring tool for monitoring virtual machine time to
>>>> time?
>>>> If yes, could you guys give me the procedure?
>>>>
>>>
>>> A possible option, for a full OS with network connectivity, is to
>>> monitor the VM like you would any other host.
>>>
>>> We use omd/check_mk.
>>>
>>> Right now there isn't an oVirt specific monitor plugin for check_mk.
>>>
>>> I know what I said is probably pretty obvious, but just in case.
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any monitoring tool provided?

2018-03-23 Thread Marcelo Leandro
Hello,

I am try this how to:

https://www.ovirt.org/develop/release-management/features/metrics/metrics-store-installation/

but when i run this command:
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
 --playbook=ovirt-metrics-store-installation.yml

I am had this error mensagem:
ansible-playbook: error: no such option: --playbook

my version:

ovirt-engine-metrics-1.0.8-1.el7.centos.noarch

Anyone can help me?


2018-03-22 16:28 GMT-03:00 Christopher Cox :

> On 03/21/2018 10:41 PM, Terry hey wrote:
>
>> Dear all,
>>
>> Now, we can just read how many storage used, cpu usage on ovirt dashboard.
>> But is there any monitoring tool for monitoring virtual machine time to
>> time?
>> If yes, could you guys give me the procedure?
>>
>
> A possible option, for a full OS with network connectivity, is to monitor
> the VM like you would any other host.
>
> We use omd/check_mk.
>
> Right now there isn't an oVirt specific monitor plugin for check_mk.
>
> I know what I said is probably pretty obvious, but just in case.
>
> ___
> 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] Problem to upgrade level cluster to 4.1

2018-03-23 Thread Marcelo Leandro
Hello,
 I am try update the cluster level but i had this menssage erro:

Erro durante a execução da ação: Update of cluster compatibility version
failed because there are VMs/Templates [VPS-NAME01, VPS-NAME02, VPS-NAME03]
with incorrect configuration. To fix the issue, please go to each of them,
edit and press OK. If the save does not pass, fix the dialog validation.


23/03/2018 15:03:07
Cannot update compatibility version of Vm/Template: [VPS-NAME01], Message:
[No Message]
23/03/2018 15:03:07
Cannot update compatibility version of Vm/Template: [VPS-NAME02], Message:
[No Message]
23/03/2018 15:03:07
Cannot update compatibility version of Vm/Template: [VPS-NAME03], Message:
[No Message]


I am already open the edit box vm and close with ok button how show in the
erro menssagem:
To fix the issue, please go to each of them, edit and press OK. If the save
does not pass, fix the dialog validation.

But not return error when save.

Anyone can help me ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Shutdown all VM's command line

2018-01-09 Thread Marcelo Leandro
Do you can do this with python sdk, do you can build a list and shutdown
all vms. If you want I can make a script to you tomorrow.


Marcelo Leandro

Em 09/01/2018 8:30 PM, "Wesley Stewart" <wstewa...@gmail.com> escreveu:

> Is there an easy way to do this?
>
> I have a UPS connected to my freenas box, and using NUT and UPSC I can
> monitor the battery level on my centos 7 host.
>
> In the case of an emergency, and my UPS goes below, lets say 40% battery,
> I would like to make a script to shutdown all running VMs, and then reboot
> the host.
>
> Otherwise I am afraid of sending a straight reboot command to the host
> without taking care of the virtual machines first.
>
> Thanks!
>
> ___
> 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] Install external certificate

2017-08-01 Thread Marcelo Leandro
Good morning

I bought a external certificate, in godaddy , and they send to me only
one archive crt. I saw this:
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/

I don't know how I can generate a certificate p12.
Can someone help me ?

Thanks.

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


Re: [ovirt-users] Snapshot Image ID

2017-05-23 Thread Marcelo Leandro
I see now that image base id stay in snapshot the before of the last. I
think that should stay in the last. correct?

Thanks,
Marcelo Leandro

2017-05-23 11:16 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Good morning,
> I have a problem with snapshot, my last snapshot that should have the
> image base ID not contain this reference in sub-tab in the dashboard.
> how can see in the picture attached.
> I think that is necessary add this reference in the database again. The
> image exist in the storage and it is used for VM execution, but i think
> when I shutdown the VM it not start anymore.
>
> someone help me?
>
> Thanks,
> Marcelo Leandro
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot Image ID

2017-05-23 Thread Marcelo Leandro
Good morning,
I have a problem with snapshot, my last snapshot that should have the image
base ID not contain this reference in sub-tab in the dashboard.
how can see in the picture attached.
I think that is necessary add this reference in the database again. The
image exist in the storage and it is used for VM execution, but i think
when I shutdown the VM it not start anymore.

someone help me?

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


Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Marcelo Leandro
Thanks for reply Jakub Niedermertl,

 I would like the explicitly specifying in my script , but i dont know
the parameters for use for max memory.
Can you help me ?

Very Thanks.

2017-03-09 10:37 GMT-03:00 Jakub Niedermertl <jnied...@redhat.com>:

> Hi all,
>
> Since engine 4.1 there is new property of VMs/templates - max memory
> [1] that is required to be larger than (or equal to) memory size. The
> problem is probably caused by the fact that the specified memory (I
> assume that value of  `memo` is 20480MB) is larger that max memory
> that is implicitly copied from template (Blank in this case). I can
> see two possible solutions:
> * Explicitly specifying size of max memory in the script.
> * Increasing max memory in the template.
>
> Jakub
>
> [1]: http://www.ovirt.org/develop/release-management/features/
> engine/maximum-memory-size/
>
> On Thu, Mar 9, 2017 at 2:20 PM, Shahar Havivi <shav...@redhat.com> wrote:
> > its not related to bug 1425089 (which is upgrading cluster issue) but its
> > the same feature that cause this issue,
> > Jakub what do we have bug on that issue?
> >
> > as for the default RAM limit you can find it via the engine-config tool:
> > $ engine-config -g VM32BitMaxMemorySizeInMB
> > $ engine-config -g VM64BitMaxMemorySizeInMB
> >
> > On Thu, Mar 9, 2017 at 2:44 PM, Maton, Brett <mat...@ltresources.co.uk>
> > wrote:
> >>
> >> I have a similar problem creating VM's with the API, but no solution.
> >>
> >>   It seems that by default oVirt uses custom 'Instance Type' ( you can
> see
> >> it if you use the UI to create a VM ).
> >>   The default RAM limit for custom Instance Type is 4096MB.
> >>
> >>   I haven't found where you can change the settnigs for the custom
> >> instance type though.
> >>
> >>
> >>
> >> On 9 March 2017 at 11:52, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
> >>>
> >>> can someone help me?
> >>>
> >>> 2017-03-07 16:25 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:
> >>>>
> >>>> Hello ,
> >>>>
> >>>> I am have an script that create VM , after upgrade to 4.1 I have this
> >>>> erro when trying create a new VM:
> >>>>
> >>>> detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum
> >>>> memory size (4096MB).
> >>>>
> >>>> my commando fore create VM :
> >>>>
> >>>> api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu,
> >>>> cluster=api.clusters.get(cluster), template=api.templates.get('
> Blank'),
> >>>> type_="server"))
> >>>>
> >>>> I dont how specific  the maximum memory size.
> >>>>
> >>>> Thanks
> >>>>
> >>>> Marcelo Leandro
> >>>
> >>>
> >>>
> >>> ___
> >>> Users mailing list
> >>> Users@ovirt.org
> >>> http://lists.ovirt.org/mailman/listinfo/users
> >>>
> >>
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Marcelo Leandro
can someone help me?

2017-03-07 16:25 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Hello ,
>
> I am have an script that create VM , after upgrade to 4.1 I have this erro
> when trying create a new VM:
>
> detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory
> size (4096MB).
>
> my commando fore create VM :
>
> api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu,
> cluster=api.clusters.get(cluster), template=api.templates.get('Blank'),
> type_="server"))
>
> I dont how specific  the maximum memory size.
>
> Thanks
>
> Marcelo Leandro
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] cannot exceed maximum memory size

2017-03-07 Thread Marcelo Leandro
Hello ,

I am have an script that create VM , after upgrade to 4.1 I have this erro
when trying create a new VM:

detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory
size (4096MB).

my commando fore create VM :

api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu,
cluster=api.clusters.get(cluster), template=api.templates.get('Blank'),
type_="server"))

I dont how specific  the maximum memory size.

Thanks

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


[ovirt-users] Gluster with SSD Cache

2016-12-14 Thread Marcelo Leandro
Hello
I have storages with RAID controller that support SSD cache, i would like
the configure gluster with the chace ssd.

I have one question:
what size the ssd cache per TB de HDD 7.2k?

Thanks.

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


Re: [ovirt-users] can not migrate vm

2016-12-06 Thread Marcelo Leandro
I am not sure when the problem start because i was in vacation.
I have only logs of the last try.
Very thanks.

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


Re: [ovirt-users] Snapshot deletion failure

2016-09-28 Thread Marcelo Leandro
Hi Ala,
When running Live Merge.
I create the live snapshot and when I try delete snapshot  and has this
error.
I saw the bug https://bugzilla.redhat.com/1368203 , but I not move the disk
to another domain.
Thanks.

Marcelo Leandro

2016-09-28 9:19 GMT-03:00 Ala Hino <ah...@redhat.com>:

> Hi Marcelo,
>
> This error indicates that the image you are trying to delete doesn't exist.
> When do you get this error? When running Live Merge or Live Storage
> Migration (LSM)?
>
> Please note that we fixed in LSM area where the VM went down while we
> tried to delete the auto-generated snapshot. See https://bugzilla.redhat.
> com/1368203 .
>
> -Ala
>
> On Wed, Sep 28, 2016 at 3:07 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Hello, I have the same problem but i use the ovirt version
>> 4.0.4.4-1.el7.centos .
>>
>> My logs.
>>
>>
>> Engine.log
>>
>> 2016-09-28 08:18:00,947 INFO  [org.ovirt.engine.core.vdsbrok
>> er.monitoring.VmJobsMonitoring] (DefaultQuartzScheduler1) [7013b545] VM
>> Job [4dd2b885-2452-4520-b20a-928edea50836]: In progress (no change)
>> 2016-09-28 08:18:08,010 INFO  
>> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
>> (default task-54) [5a27e364] Lock Acquired to object
>> 'EngineLock:{exclusiveLocks='[eb73a967-1908-46e9-9de2-9706bf29643a=<VM,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>> 2016-09-28 08:18:09,169 INFO  
>> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
>> (default task-54) [5a27e364] Running command: RemoveSnapshotCommand
>> internal: false. Entities affected :  ID: 
>> eb73a967-1908-46e9-9de2-9706bf29643a
>> Type: VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER
>> 2016-09-28 08:18:09,185 INFO  
>> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
>> (default task-54) [5a27e364] Lock freed to object
>> 'EngineLock:{exclusiveLocks='[eb73a967-1908-46e9-9de2-9706bf29643a=<VM,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>> 2016-09-28 08:18:09,265 INFO  [org.ovirt.engine.core.bll.sna
>> pshots.RemoveSnapshotSingleDiskLiveCommand] (pool-7-thread-3) [354939e9]
>> Running command: RemoveSnapshotSingleDiskLiveCommand internal: true.
>> Entities affected :  ID: ---- Type:
>> Storage
>> 2016-09-28 08:18:09,302 INFO  [org.ovirt.engine.core.dal.dbb
>> roker.auditloghandling.AuditLogDirector] (default task-54) []
>> Correlation ID: 5a27e364, Job ID: 661f8f55-30c6-4735-bb0a-fdcd3ac4004a,
>> Call Stack: null, Custom Event ID: -1, Message: Snapshot 'Backup the VM'
>> deletion for VM 'SRV-ActPrint' was initiated by admin@internal.
>> 2016-09-28 08:18:10,197 INFO  [org.ovirt.engine.core.bll.sna
>> pshots.RemoveSnapshotSingleDiskLiveCommand] (DefaultQuartzScheduler4)
>> [354939e9] Executing Live Merge command step 'EXTEND'
>> 2016-09-28 08:18:10,254 INFO  [org.ovirt.engine.core.bll.MergeExtendCommand]
>> (pool-7-thread-7) [57c94fc3] Running command: MergeExtendCommand internal:
>> true. Entities affected :  ID: 6e5cce71-3438-4045-9d54-607123e0557e
>> Type: Storage
>> 2016-09-28 08:18:10,255 INFO  [org.ovirt.engine.core.bll.MergeExtendCommand]
>> (pool-7-thread-7) [57c94fc3] Refreshing volume
>> c08d86ed-46f1-44bc-9476-0cc2c6aed367 on host
>> f22d87b9-4449-4a71-8529-58095dd81b6f
>> 2016-09-28 08:18:10,275 INFO  
>> [org.ovirt.engine.core.bll.RefreshVolumeCommand]
>> (pool-7-thread-7) [47625ba4] Running command: RefreshVolumeCommand
>> internal: true.
>> 2016-09-28 08:18:10,275 INFO  [org.ovirt.engine.core.vdsbrok
>> er.vdsbroker.RefreshVolumeVDSCommand] (pool-7-thread-7) [47625ba4]
>> START, RefreshVolumeVDSCommand(HostName = Host04,
>> RefreshVolumeVDSCommandParameters:{runAsync='true',
>> hostId='f22d87b9-4449-4a71-8529-58095dd81b6f',
>> storagePoolId='77e24b20-9d21-4952-a089-3c5c592b4e6d',
>> storageDomainId='6e5cce71-3438-4045-9d54-607123e0557e',
>> imageGroupId='9fc0b2f6-d786-4a21-8f5c-b22b23df4aaa',
>> imageId='c08d86ed-46f1-44bc-9476-0cc2c6aed367'}), log id: 77b9ded4
>> 2016-09-28 08:18:11,245 INFO  [org.ovirt.engine.core.bll.Con
>> currentChildCommandsExecutionCallback] (DefaultQuartzScheduler8)
>> [354939e9] Command 'RemoveSnapshot' (id: 
>> '18613dc9-d8c8-45c4-9fbe-a298e701ead5')
>> waiting on child command id: 'fd866748-3211-4d48-9908-12eb6078a69e'
>> type:'RemoveSnapshotSingleDiskLive' to complete
>> 2016-09-28 08:18:11,810 INFO  [org.ovirt.engine.core.vdsbrok
>> er.vdsbroker.RefreshVolumeVDSCommand] (pool-7-thread-7) [47625ba4]
>> FINISH, RefreshVolumeVDSCommand, log id:

Re: [ovirt-users] Snapshot deletion failure

2016-09-28 Thread Marcelo Leandro
omProperties='[]',
snapshotId='null', logicalName='null', usingScsiReservation='false',
hostDevice='null'},
device_66bcfc2f-fca9-4890-8bf5-74095d059da9device_de626997-b95c-45be-81f2-b2de374b5f8a=VmDevice:{id='VmDeviceId:{deviceId='de626997-b95c-45be-81f2-b2de374b5f8a',
vmId='eb73a967-1908-46e9-9de2-9706bf29643a'}', device='unix',
type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0,
controller=0, type=virtio-serial, port=1}', managed='false',
plugged='true', readOnly='false', deviceAlias='channel0',
customProperties='[]', snapshotId='null', logicalName='null',
usingScsiReservation='false', hostDevice='null'},
device_66bcfc2f-fca9-4890-8bf5-74095d059da9device_de626997-b95c-45be-81f2-b2de374b5f8adevice_0faaec88-ceff-467b-85fd-6f131cfae9fa=VmDevice:{id='VmDeviceId:{deviceId='0faaec88-ceff-467b-85fd-6f131cfae9fa',
vmId='eb73a967-1908-46e9-9de2-9706bf29643a'}', device='unix',
type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0,
controller=0, type=virtio-serial, port=2}', managed='false',
plugged='true', readOnly='false', deviceAlias='channel1',
customProperties='[]', snapshotId='null', logicalName='null',
usingScsiReservation='false', hostDevice='null'}}, vmType=kvm,
smpThreadsPerCore=1, memSize=1740, smpCoresPerSocket=2,
vmName=SRV-ActPrint, nice=0, status=Up, maxMemSize=4194304,
bootMenuEnable=false, guestDiskMapping={}, pid=14894,
displayIp=192.168.144.104, displayPort=-1, smartcardEnable=false,
maxMemSlots=16, nicModel=rtl8139,pv, kvmEnable=true,
displayNetwork=ovirtmgmt, devices=[Ljava.lang.Object;@1c3c34e6,
maxVCpus=32, clientIp=, statusTime=7115868520, display=qxl}], log id:
62d7ca75
2016-09-28 08:18:19,538 ERROR
[org.ovirt.engine.core.bll.MergeStatusCommand] (pool-7-thread-1) [42d41e81]
Failed to live merge, still in volume chain:
[c08d86ed-46f1-44bc-9476-0cc2c6aed367, 95fefce5-7599-460f-b38c-377323659b52]
2016-09-28 08:18:20,422 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand]
(DefaultQuartzScheduler9) [354939e9] Failed child command status for step
'MERGE_STATUS'
2016-09-28 08:18:21,449 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotSingleDiskLiveCommand]
(DefaultQuartzScheduler8) [354939e9] Merging of snapshot
'275c0570-32b6-4d50-9529-b2428f6a8a0b' images
'c08d86ed-46f1-44bc-9476-0cc2c6aed367'..'95fefce5-7599-460f-b38c-377323659b52'
failed. Images have been marked illegal and can no longer be previewed or
reverted to. Please retry Live Merge on the snapshot to complete the
operation.
2016-09-28 08:18:21,459 INFO
[org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback]
(DefaultQuartzScheduler8) [354939e9] Command 'RemoveSnapshot' id:
'18613dc9-d8c8-45c4-9fbe-a298e701ead5' child commands
'[fd866748-3211-4d48-9908-12eb6078a69e]' executions were completed, status
'FAILED'
2016-09-28 08:18:22,564 ERROR
[org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
(DefaultQuartzScheduler10) [354939e9] Ending command
'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with failure.
2016-09-28 08:18:22,634 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler10) [354939e9] Correlation ID: 5a27e364, Job ID:
661f8f55-30c6-4735-bb0a-fdcd3ac4004a, Call Stack: null, Custom Event ID:
-1, Message: Failed to delete snapshot 'Backup the VM' for VM
'SRV-ActPrint'.


 Vdsm.log
periodic/5740::DEBUG::2016-09-28
08:01:31,574::vm::4519::virt.vm::(queryBlockJobs)
vmId=`eb73a967-1908-46e9-9de2-9706bf29643a`::Still waiting for block job
4dd2b885-2452-4520-b20a-928edea50836 to be synchronized

jsonrpc.Executor/5::ERROR::2016-09-28
08:33:04,783::vm::4427::virt.vm::(trackBlockJob)
vmId=`eb73a967-1908-46e9-9de2-9706bf29643a`::Cannot add block job
50a359bd-097d-4c07-a7ae-5f4a9db23b81.  A block job with id
4dd2b885-2452-4520-b20a-928edea50836 already exists for image
9fc0b2f6-d786-4a21-8f5c-b22b23df4aaa
jsonrpc.Executor/5::ERROR::2016-09-28
08:33:04,784::vm::4600::virt.vm::(merge)
vmId=`eb73a967-1908-46e9-9de2-9706bf29643a`::A block job is already active
on this disk


Thanks.

Marcelo Leandro

2016-06-24 12:49 GMT-03:00 Nicolás <nico...@devels.es>:

> Done, you can find it in [1]. Feel free to add/modify anything you
> consider inaccurate.
>
> Thank you.
>
>  [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1349950
>
> El 24/06/16 a las 12:39, Nir Soffer escribió:
>
> On Fri, Jun 24, 2016 at 11:39 AM, Vinzenz Feenstra <vfeen...@redhat.com>
>> wrote:
>>
>>> On Jun 24, 2016, at 9:10 AM, nico...@devels.es wrote:
>>>>
>>>> Hi,
>>>>
>>>> We're trying to delete an auto-generated live snapshot that has been
>>>> created after migrating an online VM's storage to a different domain. oVirt
>>>> version is 3.6.6 and VDSM version is 4.17.28. Most relevant log lines are:
>>>>
>>>> 2016-06-24 07:50:36,252 ERROR 
>>>> [org.ovir

Re: [ovirt-users] Problem connect console spice vm

2016-08-23 Thread Marcelo Leandro
The problem was resolved.

Thanks

2016-08-23 8:44 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> Hello,
> I have a problem while connect on the console the vms, it's possible
> access the console if my computer is in same network of storage.
> is it normal?
>
> Thanks.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Problem connect console spice vm

2016-08-23 Thread Marcelo Leandro
Hello,
I have a problem while connect on the console the vms, it's possible access
the console if my computer is in same network of storage.
is it normal?

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


Re: [ovirt-users] Unable to login to the WEB UI

2016-08-10 Thread Marcelo Leandro
Good morning ,

"You need to have correctly set up engine FQDN and it has to be resolvable.
If you don't have correctly set engine FQDN, you can fix that ​​using
ovirt​-engine-rename tool, more info can be found at:

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

can I make the procedure with host and vms in production?

Thanks.

2016-08-03 14:34 GMT-03:00 Martin Perina :

>
>
> On Wed, Aug 3, 2016 at 5:25 PM, Fabrice Bacchella <
> fabrice.bacche...@icloud.com> wrote:
>
>> Next step :
>>
>> The UI says, even with a restarted navigator:
>>
>> org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code
>> 60)): expected a valid value (number, String, array, object, 'true',
>> 'false' or 'null') at [Source: java.io.StringReader@74749f78; line: 3,
>> column: 2]
>>
>
> ​I haven't seen this error before, could you please share server.log and
> engine.log?
> ​
>
>
>>
>>
>> I shift-reload, got a welcome screen, click on "Administration portal". I
>> then got a warning. The vhost for ovirt is "ovirt.mydomain", but I got a
>> redirect to:
>> https://ovirt.mydomain/ovirt-engine/webadmin/sso/login?;
>> app_url=https%3A%2F%2Fovirt.mydomain%2Fovirt-engine%
>> 2Fwebadmin%2F%3Flocale%3Den_US=en_US
>> that then redirect to:
>> https://realhost.mydomain:443/ovirt-engine/sso/oauth/
>> authorize?client_id=ovirt-engine-core_type=
>> code_uri=https%3A%2F%2Fovirt.mydomain%3A443%
>> 2Fovirt-engine%2Fwebadmin%2Fsso%2Foauth2-callback=
>> ovirt-app-admin+ovirt-app-portal+ovirt-ext%3Dauth%
>> 3Asequence-priority%3D%7E=5ku3vXkfb10
>>
>> And it fail with again with still:
>> org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code
>> 60)): expected a valid value (number, String, array, object, 'true',
>> 'false' or 'null') at [Source: java.io.StringReader@328a4512; line: 3,
>> column: 2]​
>
>
>> Many requests were send to ovirt.mydomain, but just one to
>> realhost.mydomain:443, I don't know why.
>>
>
> ​You need to have correctly set up engine FQDN and it has to be
> resolvable. If you don't have correctly set engine FQDN, you can fix that ​
> ​using ovirt​-engine-rename tool, more info can be found at:
>
> https://www.ovirt.org/documentation/how-to/networking/changing-engine-
> hostname/
>
> Also be aware that you need to use that engine FQDN to access oVirt 4.0
>
>
>> I didn't ask for any SSO, I already use my own (CAS), it was working well
>> and the update never ask for activating something new.
>>
>
> ​This is one of the oVirt 4.0 features​, we have implemented OAUTH SSO for
> all engine parts: webadmin, userportal and restapi. If you are using CAS
> (althought it's officially supported by oVirt), that probably means you
> have configured cas authentication on Apache, passing authenticated
> username using aaa-misc as authn extension and aaa-ldap as authz extension
> (to get group memberships for authenticated user). If that's true then
> please take a look at
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1342192
>
> there are some changes on Apache configuration (the bug is for kerberos,
> but I suspect similar config is needed also for cas module in apache).
>
>
>>
>> > Le 3 août 2016 à 15:09, Martin Perina  a écrit :
>> >
>> > Hi,
>> > please follow steps as described in BZ:
>> >
>> > 1. Create /etc/ovirt-engine/engine.conf.d/99-custom-truststore.conf
>> (you may choose different filename but it has to end with '.conf' suffix)
>> with following content:
>> >
>> >   ENGINE_HTTPS_PKI_TRUST_STORE=""
>> >   ENGINE_HTTPS_PKI_TRUST_STORE_PASSWORD="> keystore>"
>> >
>> > 2. Restart the engine
>> >
>> > If the above doesn't work please attach server.log/engine.log
>> >
>> > Thanks
>> >
>> > Martin Perina
>>
>>
>
> ___
> 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] Problem remove snapshot

2016-05-13 Thread Marcelo Leandro
I going try this steps:
- power off the VM's
- delete the snapshots.

Thanks.



2016-05-13 17:45 GMT-03:00 Greg Padgett <gpadg...@redhat.com>:

> On 05/13/2016 02:42 PM, Marcelo Leandro wrote:
>
>> Hello Greg,
>>  You can help me?
>>
>> Thanks.
>>
>
> Hi Marcelo,
>
> I see in your engine log that one of the images can't be found when a
> merge is attempted:
>
>   VDSErrorException: Failed to MergeVDS, error = Drive image file could
>   not be found, code = 13
>
> There were some recent fixes to Live Merge that help is progress beyond
> this particular error, see [1] for details on that.  The fix is in 3.6.6.
>
> It might be helpful to check the vdsm log to see what happened on the host
> when the first merge on that snapshot was attempted.  It should be in the
> Host04 log around time 2016-05-11 19:33:43.
>
> Thanks,
> Greg
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1327140
>
>
>
> 2016-05-11 19:56 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com
>> <mailto:marcelol...@gmail.com>>:
>>
>>
>> hello,
>>
>> i have problem other vm now:
>> the vm contain two disk, only a09bfb5d-3922-406d-b4e0-daafad96ffec
>> mark illegal in snapshot tab.
>>
>> information database:
>>   imagestatus |   storage_pool_id|
>>   storage_domain_id   |image_group_id|
>>   im
>> age_guid  |   parentid
>>
>> -+--+--+--+
>> --+--
>> 1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> 0dc658da-feed-498b-bfd2-3950f7198e11 |
>> e94d711c-b50b-43bd-a67c-cb4643808d9d | b9478a6c-28c5-4
>> 03b-a889-226d16d399a5 | ----
>> 1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> 6e5cce71-3438-4045-9d54-607123e0557e |
>> 05aab51a-8342-4d1f-88c4-6d733da5959a | 023110fa-7d24-4
>> 6ec-ada8-d617d7c2adaf | a09bfb5d-3922-406d-b4e0-daafad96ffec
>> 4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> 6e5cce71-3438-4045-9d54-607123e0557e |
>> 05aab51a-8342-4d1f-88c4-6d733da5959a | a09bfb5d-3922-4
>> 06d-b4e0-daafad96ffec | ----
>>
>> erro msg :
>> Failed to delete snapshot 'Backup the VM' for VM 'vm-name.
>>
>>
>> vm-disk-info.py output:
>>
>> Disk e94d711c-b50b-43bd-a67c-cb4643808d9d
>> (sd:0dc658da-feed-498b-bfd2-3950f7198e11)
>> Volumes:
>>  b9478a6c-28c5-403b-a889-226d16d399a5
>>  Disk 05aab51a-8342-4d1f-88c4-6d733da5959a
>> (sd:6e5cce71-3438-4045-9d54-607123e0557e)
>> Warning: volume 023110fa-7d24-46ec-ada8-d617d7c2adaf is in chain but
>> illegal
>>  Volumes:
>>  a09bfb5d-3922-406d-b4e0-daafad96ffec
>>
>> engine.log :
>>
>> https://www.dropbox.com/s/yfsaexpzdz3ngm1/engine.rar?dl=0
>>
>> Thanks.
>>
>>
>> 2016-05-11 18:39 GMT-03:00 Greg Padgett <gpadg...@redhat.com
>> <mailto:gpadg...@redhat.com>>:
>>
>>
>> On 05/11/2016 09:49 AM, Marcelo Leandro wrote:
>>
>> hello,
>> i have problem for delete one snapshot.
>> i see the  error:
>> Due to partial snapshot removal, Snapshot 'Backup the VM' of
>> VM 'vmname'
>> now contains only the following disks: 'vmdiskname'.
>>
>>
>> Failed to delete snapshot 'Backup the VM' for VM 'vmname'.
>>
>>
>> Hi Marcelo,
>>
>> Can you try to remove the snapshot again and attach the engine log
>> if it fails?
>>
>> Thanks,
>> Greg
>>
>> information in db :
>>imagestatus |   storage_pool_id|
>>storage_domain_id   |image_group_id
>>  |
>>im
>> age_guid  |   parentid
>>
>> -+--+--+--+
>> --+--
>>  1 | 7

Re: [ovirt-users] Problem remove snapshot

2016-05-13 Thread Marcelo Leandro
Hello Greg,
You can help me?

Thanks.

2016-05-11 19:56 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:

> hello,
>
> i have problem other vm now:
> the vm contain two disk, only a09bfb5d-3922-406d-b4e0-daafad96ffec mark
> illegal in snapshot tab.
>
> information database:
>  imagestatus |   storage_pool_id|
>  storage_domain_id   |image_group_id|
>im
> age_guid  |   parentid
>
> -+--+--+--+
> --+--
>1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
> 0dc658da-feed-498b-bfd2-3950f7198e11 | e94d711c-b50b-43bd-a67c-cb4643808d9d
> | b9478a6c-28c5-4
> 03b-a889-226d16d399a5 | ----
>1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
> 6e5cce71-3438-4045-9d54-607123e0557e | 05aab51a-8342-4d1f-88c4-6d733da5959a
> | 023110fa-7d24-4
> 6ec-ada8-d617d7c2adaf | a09bfb5d-3922-406d-b4e0-daafad96ffec
>4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
> 6e5cce71-3438-4045-9d54-607123e0557e | 05aab51a-8342-4d1f-88c4-6d733da5959a
> | a09bfb5d-3922-4
> 06d-b4e0-daafad96ffec | ----
>
> erro msg :
> Failed to delete snapshot 'Backup the VM' for VM 'vm-name.
>
> vm-disk-info.py output:
>
> Disk e94d711c-b50b-43bd-a67c-cb4643808d9d
> (sd:0dc658da-feed-498b-bfd2-3950f7198e11)
> Volumes:
> b9478a6c-28c5-403b-a889-226d16d399a5
> Disk 05aab51a-8342-4d1f-88c4-6d733da5959a
> (sd:6e5cce71-3438-4045-9d54-607123e0557e)
> Warning: volume 023110fa-7d24-46ec-ada8-d617d7c2adaf is in chain but
> illegal
> Volumes:
> a09bfb5d-3922-406d-b4e0-daafad96ffec
>
> engine.log :
>
> https://www.dropbox.com/s/yfsaexpzdz3ngm1/engine.rar?dl=0
>
> Thanks.
>
>
> 2016-05-11 18:39 GMT-03:00 Greg Padgett <gpadg...@redhat.com>:
>
>> On 05/11/2016 09:49 AM, Marcelo Leandro wrote:
>>
>>> hello,
>>> i have problem for delete one snapshot.
>>> i see the  error:
>>> Due to partial snapshot removal, Snapshot 'Backup the VM' of VM 'vmname'
>>> now contains only the following disks: 'vmdiskname'.
>>>
>>>
>>> Failed to delete snapshot 'Backup the VM' for VM 'vmname'.
>>>
>>
>> Hi Marcelo,
>>
>> Can you try to remove the snapshot again and attach the engine log if it
>> fails?
>>
>> Thanks,
>> Greg
>>
>> information in db :
>>>   imagestatus |   storage_pool_id|
>>>   storage_domain_id   |image_group_id|
>>>   im
>>> age_guid  |   parentid
>>>
>>> -+--+--+--+
>>> --+--
>>> 1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>>> 6e5cce71-3438-4045-9d54-607123e0557e |
>>> bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab | 1bb7bd08-5ee8-4
>>> a3b-8978-c15e15d1c5e4 | 6008671c-2f9d-48de-94f3-cc7d6273de31
>>> 4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>>> 6e5cce71-3438-4045-9d54-607123e0557e |
>>> bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab | 6008671c-2f9d-4
>>> 8de-94f3-cc7d6273de31 | ----
>>>
>>>
>>> output the script vm-disk-info.py
>>>
>>>
>>>   Disk bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab
>>> (sd:6e5cce71-3438-4045-9d54-607123e0557e)
>>> Warning: volume 1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4 is in chain but
>>> illegal
>>>  Volumes:
>>>  6008671c-2f9d-48de-94f3-cc7d6273de31
>>>  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>>
>>>
>>> output the  command md5sum :
>>> volume :   1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>> 4c05c8258ed5746da6ac2cdb80c8974e  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>>
>>> ec74d4d8189a5ea24720349868ff7ab7  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>>
>>> the volume change
>>>
>>> output the command md5sum :
>>> volume: 6008671c-2f9d-48de-94f3-cc7d6273de31
>>>
>>> 86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31
>>>
>>> 86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31
>>>
>>> the volume not change
>>>
>>> Thanks.
>>>
>>>
>>> ___
>>> 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] Problem remove snapshot

2016-05-11 Thread Marcelo Leandro
hello,

i have problem other vm now:
the vm contain two disk, only a09bfb5d-3922-406d-b4e0-daafad96ffec mark
illegal in snapshot tab.

information database:
 imagestatus |   storage_pool_id|
 storage_domain_id   |image_group_id|
   im
age_guid  |   parentid
-+--+--+--+
--+--
   1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
0dc658da-feed-498b-bfd2-3950f7198e11 | e94d711c-b50b-43bd-a67c-cb4643808d9d
| b9478a6c-28c5-4
03b-a889-226d16d399a5 | ----
   1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
6e5cce71-3438-4045-9d54-607123e0557e | 05aab51a-8342-4d1f-88c4-6d733da5959a
| 023110fa-7d24-4
6ec-ada8-d617d7c2adaf | a09bfb5d-3922-406d-b4e0-daafad96ffec
   4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
6e5cce71-3438-4045-9d54-607123e0557e | 05aab51a-8342-4d1f-88c4-6d733da5959a
| a09bfb5d-3922-4
06d-b4e0-daafad96ffec | ----

erro msg :
Failed to delete snapshot 'Backup the VM' for VM 'vm-name.

vm-disk-info.py output:

Disk e94d711c-b50b-43bd-a67c-cb4643808d9d
(sd:0dc658da-feed-498b-bfd2-3950f7198e11)
Volumes:
b9478a6c-28c5-403b-a889-226d16d399a5
Disk 05aab51a-8342-4d1f-88c4-6d733da5959a
(sd:6e5cce71-3438-4045-9d54-607123e0557e)
Warning: volume 023110fa-7d24-46ec-ada8-d617d7c2adaf is in chain but illegal
Volumes:
a09bfb5d-3922-406d-b4e0-daafad96ffec

engine.log :

https://www.dropbox.com/s/yfsaexpzdz3ngm1/engine.rar?dl=0

Thanks.


2016-05-11 18:39 GMT-03:00 Greg Padgett <gpadg...@redhat.com>:

> On 05/11/2016 09:49 AM, Marcelo Leandro wrote:
>
>> hello,
>> i have problem for delete one snapshot.
>> i see the  error:
>> Due to partial snapshot removal, Snapshot 'Backup the VM' of VM 'vmname'
>> now contains only the following disks: 'vmdiskname'.
>>
>>
>> Failed to delete snapshot 'Backup the VM' for VM 'vmname'.
>>
>
> Hi Marcelo,
>
> Can you try to remove the snapshot again and attach the engine log if it
> fails?
>
> Thanks,
> Greg
>
> information in db :
>>   imagestatus |   storage_pool_id|
>>   storage_domain_id   |image_group_id|
>>   im
>> age_guid  |   parentid
>>
>> -+--+--+--+
>> --+--
>> 1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> 6e5cce71-3438-4045-9d54-607123e0557e |
>> bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab | 1bb7bd08-5ee8-4
>> a3b-8978-c15e15d1c5e4 | 6008671c-2f9d-48de-94f3-cc7d6273de31
>> 4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> 6e5cce71-3438-4045-9d54-607123e0557e |
>> bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab | 6008671c-2f9d-4
>> 8de-94f3-cc7d6273de31 | ----
>>
>>
>> output the script vm-disk-info.py
>>
>>
>>   Disk bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab
>> (sd:6e5cce71-3438-4045-9d54-607123e0557e)
>> Warning: volume 1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4 is in chain but
>> illegal
>>  Volumes:
>>  6008671c-2f9d-48de-94f3-cc7d6273de31
>>  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>
>>
>> output the  command md5sum :
>> volume :   1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>> 4c05c8258ed5746da6ac2cdb80c8974e  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>
>> ec74d4d8189a5ea24720349868ff7ab7  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
>>
>> the volume change
>>
>> output the command md5sum :
>> volume: 6008671c-2f9d-48de-94f3-cc7d6273de31
>>
>> 86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31
>>
>> 86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31
>>
>> the volume not change
>>
>> Thanks.
>>
>>
>> ___
>> 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] Problem remove snapshot

2016-05-11 Thread Marcelo Leandro
hello,
i have problem for delete one snapshot.
i see the  error:
Due to partial snapshot removal, Snapshot 'Backup the VM' of VM 'vmname'
now contains only the following disks: 'vmdiskname'.


Failed to delete snapshot 'Backup the VM' for VM 'vmname'.

information in db :
 imagestatus |   storage_pool_id|
 storage_domain_id   |image_group_id|
   im
age_guid  |   parentid
-+--+--+--+
--+--
   1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
6e5cce71-3438-4045-9d54-607123e0557e | bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab
| 1bb7bd08-5ee8-4
a3b-8978-c15e15d1c5e4 | 6008671c-2f9d-48de-94f3-cc7d6273de31
   4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
6e5cce71-3438-4045-9d54-607123e0557e | bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab
| 6008671c-2f9d-4
8de-94f3-cc7d6273de31 | ----


output the script vm-disk-info.py


 Disk bfb1e6b5-7a06-41e4-b8b4-2e237ed0c7ab
(sd:6e5cce71-3438-4045-9d54-607123e0557e)
Warning: volume 1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4 is in chain but illegal
Volumes:
6008671c-2f9d-48de-94f3-cc7d6273de31
1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4


output the  command md5sum :
volume :   1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4
4c05c8258ed5746da6ac2cdb80c8974e  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4

ec74d4d8189a5ea24720349868ff7ab7  1bb7bd08-5ee8-4a3b-8978-c15e15d1c5e4

the volume change

output the command md5sum :
volume: 6008671c-2f9d-48de-94f3-cc7d6273de31

86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31

86daf229ad0b65fb8be3a3de6b0ee840  6008671c-2f9d-48de-94f3-cc7d6273de31

the volume not change

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


Re: [ovirt-users] Can't remove snapshot

2016-05-01 Thread Marcelo Leandro
hello,
i have problem for delete one snapshot.
output the script vm-disk-info.py

Warning: volume 023110fa-7d24-46ec-ada8-d617d7c2adaf is in chain but illegal
Volumes:
a09bfb5d-3922-406d-b4e0-daafad96ffec

after running the md5sum command I realized that the volume change is the
base:
a09bfb5d-3922-406d-b4e0-daafad96ffec

the disk  023110fa-7d24-46ec-ada8-d617d7c2adaf does not change.

Thanks.



2016-03-18 16:50 GMT-03:00 Greg Padgett <gpadg...@redhat.com>:

> On 03/18/2016 03:10 PM, Nir Soffer wrote:
>
>> On Fri, Mar 18, 2016 at 7:55 PM, Nathanaël Blanchet <blanc...@abes.fr>
>> wrote:
>>
>>> Hello,
>>>
>>> I can create snapshot when no one exists but I'm not able to remove it
>>> after.
>>>
>>
>> Do you try to remove it when the vm is running?
>>
>> It concerns many of my vms, and when stopping them, they can't boot
>>> anymore
>>> because of the illegal status of the disks, this leads me in a critical
>>> situation
>>>
>>> VM fedora23 is down with error. Exit message: Unable to get volume size
>>> for
>>> domain 5ef8572c-0ab5-4491-994a-e4c30230a525 volume
>>> e5969faa-97ea-41df-809b-cc62161ab1bc
>>>
>>> As far as I didn't initiate any live merge, am I concerned by this bug
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1306741?
>>> I'm running 3.6.2, will upgrade to 3.6.3 solve this issue?
>>>
>>
>> If you tried to remove a snapshot while the vm is running you did
>> initiate live merge, and this bug may effect you.
>>
>> Adding Greg for adding more info about this.
>>
>>
> Hi Nathanaël,
>
> From the logs you pasted below, showing RemoveSnapshotSingleDiskCommand
> (not ..SingleDiskLiveCommand), it looks like a non-live snapshot.  In that
> case, bug 1306741 would not affect you.
>
> To dig deeper, we'd need to know the root cause of why the image could not
> be deleted.  You should be able to find some clues in your engine log above
> the snippet you pasted below, or perhaps something in the vdsm log will
> reveal the reason.
>
> Thanks,
> Greg
>
>
>
>>> 2016-03-18 18:26:57,652 ERROR
>>> [org.ovirt.engine.core.bll.RemoveSnapshotCommand]
>>> (org.ovirt.thread.pool-8-thread-39) [a1e222d] Ending command
>>> 'org.ovirt.engine.core.bll.RemoveSnapshotCommand' with failure.
>>> 2016-03-18 18:26:57,663 ERROR
>>> [org.ovirt.engine.core.bll.RemoveSnapshotCommand]
>>> (org.ovirt.thread.pool-8-thread-39) [a1e222d] Could not delete image
>>> '46e9ecc8-e168-4f4d-926c-e769f5df1f2c' from snapshot
>>> '88fcf167-4302-405e-825f-ad7e0e9f6564'
>>> 2016-03-18 18:26:57,678 WARN
>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>>> (org.ovirt.thread.pool-8-thread-39) [a1e222d] Correlation ID: a1e222d,
>>> Job
>>> ID: 00d3e364-7e47-4022-82ff-f772cd79d4a1, Call Stack: null, Custom Event
>>> ID:
>>> -1, Message: Due to partial snapshot removal, Snapshot 'test' of VM
>>> 'fedora23' now contains only the following disks: 'fedora23_Disk1'.
>>> 2016-03-18 18:26:57,695 ERROR
>>> [org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskCommand]
>>> (org.ovirt.thread.pool-8-thread-39) [724e99fd] Ending command
>>> 'org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskCommand' with failure.
>>> 2016-03-18 18:26:57,708 ERROR
>>> [org.ovirt.engine.core.dal.dbbroker.auditloghandlin
>>>
>>> Thank you for your help.
>>>
>>>
>>> Le 23/02/2016 19:51, Greg Padgett a écrit :
>>>
>>>>
>>>> On 02/22/2016 07:10 AM, Marcelo Leandro wrote:
>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> The bug with snapshot  it will be fixed in ovirt 3.6.3?
>>>>>
>>>>> thanks.
>>>>>
>>>>>
>>>> Hi Marcelo,
>>>>
>>>> Yes, the bug below (bug 1301709) is now targeted to 3.6.3.
>>>>
>>>> Thanks,
>>>> Greg
>>>>
>>>> 2016-02-18 11:34 GMT-03:00 Adam Litke <ali...@redhat.com>:
>>>>>
>>>>>>
>>>>>> On 18/02/16 10:37 +0100, Rik Theys wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> On 02/17/2016 05:29 PM, Adam Litke wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 17/0

Re: [ovirt-users] Consult actual size the disk vm

2016-04-21 Thread Marcelo Leandro
Hi Amit,
the value is disk.get_actual_size(), but i see that after create snapshot
the value is the disk snapshot e not base. right?

Thanks.

2016-04-21 8:40 GMT-03:00 Amit Aviram <aavi...@redhat.com>:

> Hi Marcelo.
>
> Using the API:
> -   "disk.get_actual_size()" will return the actual size in bytes, which
> is the value you can find as "Actual size" in GB in oVirt's webadmin, where
> Idan wrote (Virtual Machines tab -> Disks sub tab -> actual size, Thanks
> Idan)
>
> - "disk.get_provisioned_size()" will return the size in bytes which is the
> value you can find as "Virtual size" in GB also under the disks sub tab.
>
> After transforming the value you got to GB, does the values seem correct?
>
> Thanks, Amit.
>
>
> On Thu, Apr 21, 2016 at 1:08 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
>
>> Thanks for reply, but for my script is necessary consult the actual size
>> with python-api or database.
>> Hi Marcelo,
>>
>> Please note that under the Virtual Machines tab -> Disks sub tab,
>> assuming we are talking about an image, you can click on the Images radio
>> button and see the disk's virtual and actual size.
>> Hope it helps.
>>
>>
>> Regards,
>> Idan
>>
>> On Thu, Apr 21, 2016 at 6:06 AM, Marcelo Leandro <marcelol...@gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> i am try automate an task, i am try consult the actual size the disk of
>>> vm, but not have success, i try in database in table imagens, i try with
>>> python-api with command:
>>>
>>> vm = api.vms.get(vmname)
>>> disk =  vm.disks.get(diskname)
>>> disk.get_actual_size()
>>>
>>> but the informations  not is equal with that shown in the dashboard.
>>>
>>> Can someone help me?
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Consult actual size the disk vm

2016-04-21 Thread Marcelo Leandro
Thanks for reply, but for my script is necessary consult the actual size
with python-api or database.
Hi Marcelo,

Please note that under the Virtual Machines tab -> Disks sub tab, assuming
we are talking about an image, you can click on the Images radio button and
see the disk's virtual and actual size.
Hope it helps.


Regards,
Idan

On Thu, Apr 21, 2016 at 6:06 AM, Marcelo Leandro <marcelol...@gmail.com>
wrote:

> Hello,
>
> i am try automate an task, i am try consult the actual size the disk of
> vm, but not have success, i try in database in table imagens, i try with
> python-api with command:
>
> vm = api.vms.get(vmname)
> disk =  vm.disks.get(diskname)
> disk.get_actual_size()
>
> but the informations  not is equal with that shown in the dashboard.
>
> Can someone help me?
>
>
>
> ___
> 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] Consult actual size the disk vm

2016-04-20 Thread Marcelo Leandro
Hello,

i am try automate an task, i am try consult the actual size the disk of vm,
but not have success, i try in database in table imagens, i try with
python-api with command:

vm = api.vms.get(vmname)
disk =  vm.disks.get(diskname)
disk.get_actual_size()

but the informations  not is equal with that shown in the dashboard.

Can someone help me?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cleanup Ovirt Node

2016-04-11 Thread Marcelo Leandro
Good Morning ,
how do I clear the configurations of oVirt node?

Thanks,

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


Re: [ovirt-users] ovirt node 3.6 stable

2016-04-08 Thread Marcelo Leandro
Yes, but i cant see the ovirt node 3.6

Thanks.
Em 08/04/2016 16:47, "Arman Khalatyan"  escreveu:

> Are you looking for this ?
> http://www.ovirt.org/download/
> Or
> sudo yum localinstall
> http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm ?
> hello,
>
> which link to download the stable version of oVirt node 3.6?
>
> Thanks
>
> ___
> 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] ovirt node 3.6 stable

2016-04-08 Thread Marcelo Leandro
hello,

which link to download the stable version of oVirt node 3.6?

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


Re: [ovirt-users] Disks Snapshot

2016-03-24 Thread Marcelo Leandro
The bug created,
https://bugzilla.redhat.com/show_bug.cgi?id=1321018

Sorry for the delay, I had trouble opening the bug in Bugzilla.

Thanks.

2016-03-14 13:40 GMT-03:00 Nir Soffer <nsof...@redhat.com>:

> On Mon, Mar 14, 2016 at 6:11 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
> > All the disks in the
> >
> /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
> > are deleted snapshots that were not removed. The disk no contain
> snapshot.
> > In
> >
> /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
> > it must have just one disk after the merge.
> >
> > Right?
>
> Yes, this seems to be a bug when doing a merge on a host which is not
> the spm.
>
> According to the log you attached (vdsm.log.5):
> - we do not deactivate the lv after the merge
> - therefore the link /dev/vgname/lvname is not deleted
> - we don't delete the link at /rhev/data-center
> - we don't delete the links at /run/vdsm/storage
>
> The links under /run/vdsm/storage and /rhev/data-center should will
> be deleted when hotunpluging this disk, or when stopping the vm.
>
> Please file a ovirt/vdsm bug for this and include the information
> from this thread.
>
> Nir
>
> >
> > Em 14/03/2016 12:41, "Marcelo Leandro" <marcelol...@gmail.com> escreveu:
> >>
> >> Are you talking about /dev/vgname/lvname link or the links under
> >> /run/vdsm/storage/domain/image/volume,
> >> or /rhev/data-center/pull/domain/image/volume?
> >>
> >> in  /rhev/data-center/pull/domain/image/volume
> >>
> >>
> >> /dev/vgname/lvname is created by udev rules when lv is activated or
> >> deactivated.
> >> To understand if this is the issue, can you show the output of:
> >>
> >> pvscan --cache
> >> return:
> >> [root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# pvscan --cache
> >> [root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]#
> >>
> >>
> >> lvs vgname
> >> return:
> >>   06d35bed-445f-453b-a1b5-cf1a26e21d57
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  19.00g
> >>   0bad7a90-e6d5-4f80-9e77-276092989ec3
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   1.00g
> >>   12e1c2eb-2e4e-4714-8358-0a8f1bf44b2f
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 502.00g
> >>   191eb95f-2604-406b-ad90-1387cd4df7aa
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  10.00g
> >>   235da77a-8713-4bdf-bb3b-4c6478b0ffe2
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---   1.68t
> >>   289b1789-e65a-4725-95fe-7b1a59208b45
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  15.00g
> >>   2d1cd019-f547-47c9-b360-0247f5283563
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  14.00g
> >>   2e59f7f2-9e30-460e-836a-5e0d3d625059
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  27.50g
> >>   2ff7d36e-2ff9-466a-ad26-c1c67ba34dc6
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  21.00g
> >>   3d01ae03-ee4e-4fc2-aedd-6fc757f84f22
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 202.00g
> >>   4626025f-53ab-487a-9f95-35ae65393f03
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   6.00g
> >>   5dbb5762-6828-4c95-9cd1-d05896758af7
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 100.00g
> >>   5e1461fc-c609-479d-9627-e88936fb15ed
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  11.00g
> >>   64800fa4-85c2-4567-9605-6dc8ed5fec52
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  39.00g
> >>   661293e4-26ef-4c2c-903b-442a2b7fb5c6
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  13.00g
> >>   79e4e84b-370a-4d6d-9683-197dabb591c2
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   5.12g
> >>   7a3a6929-973e-4eec-bef0-1b99101e850d
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  20.00g
> >>   7a79ae4f-4a47-4ce2-8570-95efc7774f7b
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  80.00g
> >>   828d4c13-62c5-4d23-b0cc-e4ec88928c1f
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 128.00m
> >>   871874e8-0d89-4f13-962a-3d8175194130
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  54.00g
> >>   a0a9aac2-d387-4148-a8a0-a906cfc1b513
> >> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 240.00g
> >>   aa397814-43d4-42f7-9151-fd6d9f6d0b

Re: [ovirt-users] Disks Snapshot

2016-03-14 Thread Marcelo Leandro
All the disks in the
/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
are deleted snapshots that were not removed. The disk no contain snapshot.
In
/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
it must have just one disk after the merge.

Right?
Em 14/03/2016 12:41, "Marcelo Leandro" <marcelol...@gmail.com> escreveu:

>
>
> *Are you talking about /dev/vgname/lvname link or the links
> under/run/vdsm/storage/domain/image/volume,or
> /rhev/data-center/pull/domain/image/volume?*
>
> in  /rhev/data-center/pull/domain/image/volume
>
>
>
> */dev/vgname/lvname is created by udev rules when lv is activated or
> deactivated.To understand if this is the issue, can you show the output of:*
>
> *pvscan --cache*
> *return:*
> [root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# pvscan --cache
> [root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]#
>
>
> *lvs vgname*
> *return:*
>   06d35bed-445f-453b-a1b5-cf1a26e21d57
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  19.00g
>   0bad7a90-e6d5-4f80-9e77-276092989ec3
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   1.00g
>   12e1c2eb-2e4e-4714-8358-0a8f1bf44b2f
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 502.00g
>   191eb95f-2604-406b-ad90-1387cd4df7aa
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  10.00g
>   235da77a-8713-4bdf-bb3b-4c6478b0ffe2
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---   1.68t
>   289b1789-e65a-4725-95fe-7b1a59208b45
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  15.00g
>   2d1cd019-f547-47c9-b360-0247f5283563
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  14.00g
>   2e59f7f2-9e30-460e-836a-5e0d3d625059
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  27.50g
>   2ff7d36e-2ff9-466a-ad26-c1c67ba34dc6
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  21.00g
>   3d01ae03-ee4e-4fc2-aedd-6fc757f84f22
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 202.00g
>   4626025f-53ab-487a-9f95-35ae65393f03
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   6.00g
>   5dbb5762-6828-4c95-9cd1-d05896758af7
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 100.00g
>   5e1461fc-c609-479d-9627-e88936fb15ed
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  11.00g
>   64800fa4-85c2-4567-9605-6dc8ed5fec52
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  39.00g
>   661293e4-26ef-4c2c-903b-442a2b7fb5c6
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  13.00g
>   79e4e84b-370a-4d6d-9683-197dabb591c2
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   5.12g
>   7a3a6929-973e-4eec-bef0-1b99101e850d
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  20.00g
>   7a79ae4f-4a47-4ce2-8570-95efc7774f7b
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  80.00g
>   828d4c13-62c5-4d23-b0cc-e4ec88928c1f
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 128.00m
>   871874e8-0d89-4f13-962a-3d8175194130
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  54.00g
>   a0a9aac2-d387-4148-a8a0-a906cfc1b513
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 240.00g
>   aa397814-43d4-42f7-9151-fd6d9f6d0b7f
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  22.00g
>   b3433da9-e6b5-4ab4-9aed-47a698079a62
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  55.00g
>   b47f58e0-d576-49be-b8aa-f30581a0373a
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 124.00g
>   b5174aaa-b4ed-48e2-ab60-4bd51edde175
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---   4.00g
>   b8027a73-2d37-4df6-a2ac-4782859b749f
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi--- 128.00m
>   b86ed4a4-c922-4567-98b4-bace49d258f6
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  13.00g
>   ba8a3a28-1dd5-4072-bcd1-f8155fade47a
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi---  21.00g
>   bb1bb92b-a8a7-486a-b171-18317e5d8095
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 534.00g
>   c7b5ca51-7ec5-467c-95c6-64bda2cb1fa7
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao  13.00g
>   e88dfa8a-a9dc-4843-8c46-cc57ad700a04
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao   4.00g
>   f2ca34b7-c2b5-4072-b539-d1ee91282652
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 137.00g
>   ids
>  c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao 128.00m
>   inbox
>  c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a- 128.00m
>   leases
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a-   2.00g
>   master
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a-   1.00g
>   metadata
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a- 512.00m
>   outbox
> c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a- 128.00m
>
>
>
> *ls -l /dev/vgn

Re: [ovirt-users] Disks Snapshot

2016-03-14 Thread Marcelo Leandro
c-d7d2028bc4e6 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6
├── 9faf4687-48e7-48fa-9aad-50ed89ee1f8a ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9faf4687-48e7-48fa-9aad-50ed89ee1f8a
├── a9f65abe-4514-4873-aca7-3e2a04bd4448 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/a9f65abe-4514-4873-aca7-3e2a04bd4448
├── b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf
├── b3433da9-e6b5-4ab4-9aed-47a698079a62 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b3433da9-e6b5-4ab4-9aed-47a698079a62
├── bba70ecf-0d97-4a1a-bff5-d1fba4706602 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/bba70ecf-0d97-4a1a-bff5-d1fba4706602
├── d24715dd-32a5-404e-bc57-fe11b99f1fb9 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d24715dd-32a5-404e-bc57-fe11b99f1fb9
├── d963aba9-3d3a-489d-91ed-ea4465537495 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d963aba9-3d3a-489d-91ed-ea4465537495
└── da77b987-aaa4-4f9f-9300-4f73d6fb103e ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/da77b987-aaa4-4f9f-9300-4f73d6fb103e

0 directories, 17 files



*tree /run/vdsm/stoage/domain/image*
*return after:*
[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree
/run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/
/run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/
└── b47f58e0-d576-49be-b8aa-f30581a0373a ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a

0 directories, 1 file


*tree /rhev/data-center/pool/domain/images/image*
*return after:*
[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree
/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/
├── 0569a2e0-275b-4702-8500-dff732fea13c ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0569a2e0-275b-4702-8500-dff732fea13c
├── 0bad7a90-e6d5-4f80-9e77-276092989ec3 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0bad7a90-e6d5-4f80-9e77-276092989ec3
├── 1196d06c-d3ea-40ee-841a-a3de379b09f9 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/1196d06c-d3ea-40ee-841a-a3de379b09f9
├── 48e81eda-fa1e-4788-95a5-7d99974d4b3f ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/48e81eda-fa1e-4788-95a5-7d99974d4b3f
├── 5f484058-1fa7-496e-8525-4ad52e5c0c9c ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5f484058-1fa7-496e-8525-4ad52e5c0c9c
├── 61e3c3de-55d1-42e8-8098-eccef7319cac ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/61e3c3de-55d1-42e8-8098-eccef7319cac
├── 77204a10-1ce3-442a-9571-3a6a19649224 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/77204a10-1ce3-442a-9571-3a6a19649224
├── 8b14431f-52b5-42ba-977a-ec8401f7ddea ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/8b14431f-52b5-42ba-977a-ec8401f7ddea
├── 9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6
├── 9faf4687-48e7-48fa-9aad-50ed89ee1f8a ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9faf4687-48e7-48fa-9aad-50ed89ee1f8a
├── a9f65abe-4514-4873-aca7-3e2a04bd4448 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/a9f65abe-4514-4873-aca7-3e2a04bd4448
├── b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf
├── b3433da9-e6b5-4ab4-9aed-47a698079a62 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b3433da9-e6b5-4ab4-9aed-47a698079a62
├── bba70ecf-0d97-4a1a-bff5-d1fba4706602 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/bba70ecf-0d97-4a1a-bff5-d1fba4706602
├── d24715dd-32a5-404e-bc57-fe11b99f1fb9 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d24715dd-32a5-404e-bc57-fe11b99f1fb9
├── d963aba9-3d3a-489d-91ed-ea4465537495 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d963aba9-3d3a-489d-91ed-ea4465537495
└── da77b987-aaa4-4f9f-9300-4f73d6fb103e ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/da77b987-aaa4-4f9f-9300-4f73d6fb103e

0 directories, 17 files


Thanks.

2016-03-14 12:23 GMT-03:00 Nir Soffer <nsof...@redhat.com>:

> On Mon, Mar 14, 2016 at 5:05 PM, Marcelo Leandro <marcelol...@gmail.com>
> wrote:
> >
> >
> > Is it cold (the VM is down) or live (the VM is up) merge (snapshot
> > deletion)?
> >
> > VM is up
> >
> > What version are you running?
> >
> > oVirt Engine Version: 3.6.3.4-1.el7.centos
> >
> >
> > Can you please share engine and vdsm logs?
> >
> > yes.
> >
> > Please note that at some point we try to verify that image was removed by
> > running getVolumeInfo hence, the volume not found is expected. The thing
> is,
> > that you say that volume does exist.
> > Can you run following command on the host:
> >
> > 

[ovirt-users] Disks Snapshot

2016-03-12 Thread Marcelo Leandro
Good morning

I have a doubt, when i do a snapshot, a new lvm is generated, however
when I delete this snapshot the lvm not off, that's right?

[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# ls
27a8bca3-f984-4f67-9dd2-9e2fc5a5f366  7d9b6ed0-1125-4215-ab76-37bcda3f6c2d
3fba372c-4c39-4843-be9e-b358b196331d  b47f58e0-d576-49be-b8aa-f30581a0373a
5097df27-c676-4ee7-af89-ecdaed2c77be  c598bb22-a386-4908-bfa1-7c44bd764c96
5aaf9ce9-d7ad-4607-aab9-2e239ebaed51
[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# ls -l
total 0
lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:28
27a8bca3-f984-4f67-9dd2-9e2fc5a5f366 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/27a8bca3-f984-4f67-9dd2-9e2fc5a5f366
lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:31
3fba372c-4c39-4843-be9e-b358b196331d ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/3fba372c-4c39-4843-be9e-b358b196331d
lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 08:44
5097df27-c676-4ee7-af89-ecdaed2c77be ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5097df27-c676-4ee7-af89-ecdaed2c77be
lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:23
5aaf9ce9-d7ad-4607-aab9-2e239ebaed51 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5aaf9ce9-d7ad-4607-aab9-2e239ebaed51
lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:12
7d9b6ed0-1125-4215-ab76-37bcda3f6c2d ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/7d9b6ed0-1125-4215-ab76-37bcda3f6c2d
lrwxrwxrwx. 1 vdsm kvm 78 Nov 27 22:30
b47f58e0-d576-49be-b8aa-f30581a0373a ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a
lrwxrwxrwx. 1 vdsm kvm 78 Mar 11 22:01
c598bb22-a386-4908-bfa1-7c44bd764c96 ->
/dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/c598bb22-a386-4908-bfa1-7c44bd764c96



disks snapshot:
[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info
27a8bca3-f984-4f67-9dd2-9e2fc5a5f366
image: 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366
file format: qcow2
virtual size: 112G (120259084288 bytes)
disk size: 0
cluster_size: 65536
backing file: 
../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a
backing file format: raw
Format specific information:
compat: 0.10
refcount bits: 16


[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info
3fba372c-4c39-4843-be9e-b358b196331d
image: 3fba372c-4c39-4843-be9e-b358b196331d
file format: qcow2
virtual size: 112G (120259084288 bytes)
disk size: 0
cluster_size: 65536
backing file: 
../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a
backing file format: raw
Format specific information:
compat: 0.10
refcount bits: 16

[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info
5aaf9ce9-d7ad-4607-aab9-2e239ebaed51
image: 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51
file format: qcow2
virtual size: 112G (120259084288 bytes)
disk size: 0
cluster_size: 65536
backing file: 
../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a
backing file format: raw
Format specific information:
compat: 0.10
refcount bits: 16


disk base:
[root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info
b47f58e0-d576-49be-b8aa-f30581a0373a
image: b47f58e0-d576-49be-b8aa-f30581a0373a
file format: raw
virtual size: 112G (120259084288 bytes)
disk size: 0


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


Re: [ovirt-users] Can't remove snapshot

2016-02-22 Thread Marcelo Leandro
Hello,

The bug with snapshot  it will be fixed in ovirt 3.6.3?

thanks.

2016-02-18 11:34 GMT-03:00 Adam Litke :
> On 18/02/16 10:37 +0100, Rik Theys wrote:
>>
>> Hi,
>>
>> On 02/17/2016 05:29 PM, Adam Litke wrote:
>>>
>>> On 17/02/16 11:14 -0500, Greg Padgett wrote:

 On 02/17/2016 03:42 AM, Rik Theys wrote:
>
> Hi,
>
> On 02/16/2016 10:52 PM, Greg Padgett wrote:
>>
>> On 02/16/2016 08:50 AM, Rik Theys wrote:
>>>
>>>  From the above I conclude that the disk with id that ends with
>>
>> Similar to what I wrote to Marcelo above in the thread, I'd recommend
>> running the "VM disk info gathering tool" attached to [1].  It's the
>> best way to ensure the merge was completed and determine which image
>> is
>> the "bad" one that is no longer in use by any volume chains.
>
>
> I've ran the disk info gathering tool and this outputs (for the
> affected
> VM):
>
> VM lena
> Disk b2390535-744f-4c02-bdc8-5a897226554b
> (sd:a7ba2db3-517c-408a-8b27-ea45989d6416)
> Volumes:
> 24d78600-22f4-44f7-987b-fbd866736249
>
> The id of the volume is the ID of the snapshot that is marked
> "illegal".
> So the "bad" image would be the dc39 one, which according to the UI is
> in use by the "Active VM" snapshot. Can this make sense?


 It looks accurate.  Live merges are "backwards" merges, so the merge
 would have pushed data from the volume associated with "Active VM"
 into the volume associated with the snapshot you're trying to remove.

 Upon completion, we "pivot" so that the VM uses that older volume, and
 we update the engine database to reflect this (basically we
 re-associate that older volume with, in your case, "Active VM").

 In your case, it seems the pivot operation was done, but the database
 wasn't updated to reflect it.  Given snapshot/image associations e.g.:

  VM Name  Snapshot Name  Volume
  ---  -  --
  My-VMActive VM  123-abc
  My-VMMy-Snapshot789-def

 My-VM in your case is actually running on volume 789-def.  If you run
 the db fixup script and supply ("My-VM", "My-Snapshot", "123-abc")
 (note the volume is the newer, "bad" one), then it will switch the
 volume association for you and remove the invalid entries.

 Of course, I'd shut down the VM, and back up the db beforehand.
>>
>>
>> I've executed the sql script and it seems to have worked. Thanks!
>>
 "Active VM" should now be unused; it previously (pre-merge) was the
 data written since the snapshot was taken.  Normally the larger actual
 size might be from qcow format overhead.  If your listing above is
 complete (ie one volume for the vm), then I'm not sure why the base
 volume would have a larger actual size than virtual size.

 Adam, Nir--any thoughts on this?
>>>
>>>
>>> There is a bug which has caused inflation of the snapshot volumes when
>>> performing a live merge.  We are submitting fixes for 3.5, 3.6, and
>>> master right at this moment.
>>
>>
>> Which bug number is assigned to this bug? Will upgrading to a release
>> with a fix reduce the disk usage again?
>
>
> See https://bugzilla.redhat.com/show_bug.cgi?id=1301709 for the bug.
> It's about a clone disk failure after the problem occurs.
> Unfortunately, there is not an automatic way to repair the raw base
> volumes if they were affected by this bug.  They will need to be
> manually shrunk using lvreduce if you are certain that they are
> inflated.
>
>
> --
> Adam Litke
>
> ___
> 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] Can't remove snapshot

2016-02-16 Thread Marcelo Leandro
Thank Greg,

My problem was resolved.

2016-02-16 20:07 GMT-03:00 Greg Padgett <gpadg...@redhat.com>:
> On 02/16/2016 05:51 PM, Marcelo Leandro wrote:
>>
>> Hello Greg,
>> I not see disk image at the storage:
>>
>> [root@srv-qemu01 ~]# cd
>>
>> /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/b7a27d0c-57cc-490e-a3f8-b4981310a9b0/
>> [root@srv-qemu01 b7a27d0c-57cc-490e-a3f8-b4981310a9b0]# ls
>> 2e59f7f2-9e30-460e-836a-5e0d3d625059
>>
>> But in DB i see :
>>
>> SELECT imagestatus,storage_pool_id, storage_domain_id, image_group_id,
>> image_guid, parentid FROM
>> storage_domains,image_storage_domain_map,images,vm_static,vm_device
>> WHERE image_storage_domain_map.image_id = images.image_guid AND
>> storage_domains.id = image_storage_domain_map.storage_domain_id AND
>> vm_static.vm_guid = vm_device.vm_id AND images.image_group_id =
>> vm_device.device_id AND vm_device.device = 'disk' AND
>> vm_static.vm_name = 'Servidor-Cliente';
>>   imagestatus |   storage_pool_id|
>> storage_domain_id   |image_group_id|
>> image_guid  |   parentid
>>
>>
>> -+--+--+--+--+---
>> ---
>> 1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> c2dc0101-748e-4a7b-9913-47993eaa52bd |
>> b7a27d0c-57cc-490e-a3f8-b4981310a9b0 |
>>  | 2e59f7f2-9e30-460e-836
>> a-5e0d3d625059
>> 4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
>> c2dc0101-748e-4a7b-9913-47993eaa52bd |
>> b7a27d0c-57cc-490e-a3f8-b4981310a9b0 |
>> 2e59f7f2-9e30-460e-836a-5e0d3d625059 | ---000
>> 0-
>>
>> in this case I have that update the imagem with you describe?
>>
>> """Arguments in your case would be the VM name, snapshot name, and the
>> UUID of the image that is missing from your storage.  (You may need to
>> manually mark the image as illegal first, [2]). ""
>>
>> Thanks.
>
>
> I believe it would still be prudent to verify that image
> 7f8bb099-9a18-4e89-bf48-57e56e5770d2 is supposed to be missing, by running
> the disk info tool from:
>   https://bugzilla.redhat.com/show_bug.cgi?id=1306741.
>
> Once we verify that it's ok to remove the image, then I'd proceed to clean
> up the db records via the image cleanup sql script.
>
> Thanks,
> Greg
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't remove snapshot

2016-02-16 Thread Marcelo Leandro
Hello Greg,
I not see disk image at the storage:

[root@srv-qemu01 ~]# cd
/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/b7a27d0c-57cc-490e-a3f8-b4981310a9b0/
[root@srv-qemu01 b7a27d0c-57cc-490e-a3f8-b4981310a9b0]# ls
2e59f7f2-9e30-460e-836a-5e0d3d625059

But in DB i see :

SELECT imagestatus,storage_pool_id, storage_domain_id, image_group_id,
image_guid, parentid FROM
storage_domains,image_storage_domain_map,images,vm_static,vm_device
WHERE image_storage_domain_map.image_id = images.image_guid AND
storage_domains.id = image_storage_domain_map.storage_domain_id AND
vm_static.vm_guid = vm_device.vm_id AND images.image_group_id =
vm_device.device_id AND vm_device.device = 'disk' AND
vm_static.vm_name = 'Servidor-Cliente';
 imagestatus |   storage_pool_id|
storage_domain_id   |image_group_id|
   image_guid  |   parentid

-+--+--+--+--+---
---
   1 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
c2dc0101-748e-4a7b-9913-47993eaa52bd |
b7a27d0c-57cc-490e-a3f8-b4981310a9b0 |
7f8bb099-9a18-4e89-bf48-57e56e5770d2 | 2e59f7f2-9e30-460e-836
a-5e0d3d625059
   4 | 77e24b20-9d21-4952-a089-3c5c592b4e6d |
c2dc0101-748e-4a7b-9913-47993eaa52bd |
b7a27d0c-57cc-490e-a3f8-b4981310a9b0 |
2e59f7f2-9e30-460e-836a-5e0d3d625059 | ---000
0-

in this case I have that update the imagem with you describe?

"""Arguments in your case would be the VM name, snapshot name, and the
UUID of the image that is missing from your storage.  (You may need to
manually mark the image as illegal first, [2]). ""

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


Re: [ovirt-users] Can't remove snapshot

2016-02-16 Thread Marcelo Leandro
Hello,
I have the same  problem, i tried delete snapshot but  it did not
success, the status snapshot as illegal , look the engine.log follow
you can see the messages error:


2016-02-16 08:46:20,059 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotCommandCallback]
(DefaultQuartzScheduler_Worker-57) [46dd2ef7] Waiting on Live Merge
child commands to complete
2016-02-16 08:46:21,069 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand]
(DefaultQuartzScheduler_Worker-40) [15b703ee] Waiting on Live Merge
command step 'MERGE' to complete
2016-02-16 08:46:22,072 INFO
[org.ovirt.engine.core.bll.MergeCommandCallback]
(DefaultQuartzScheduler_Worker-65) [30cdf6ed] Waiting on merge command
to complete
2016-02-16 08:46:23,670 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-48)
[5e0c088f] Lock Acquired to object
'EngineLock:{exclusiveLocks='[94d788f4-eba4-49ee-8091-80028cc46627=]', sharedLocks='null'}'
2016-02-16 08:46:23,795 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-48)
[5e0c088f] Running command: RemoveSnapshotCommand internal: false.
Entities affected :  ID: 94d788f4-eba4-49ee-8091-80028cc46627 Type:
VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER
2016-02-16 08:46:23,824 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-48)
[5e0c088f] Lock freed to object
'EngineLock:{exclusiveLocks='[94d788f4-eba4-49ee-8091-80028cc46627=]', sharedLocks='null'}'
2016-02-16 08:46:23,876 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand]
(pool-7-thread-5) [1be123ac] Running command:
RemoveSnapshotSingleDiskLiveCommand internal: true. Entities affected
:  ID: ---- Type: Storage
2016-02-16 08:46:23,921 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-48) [] Correlation ID: 5e0c088f, Job ID:
aa811e83-24fb-4658-b849-d36439f58d95, Call Stack: null, Custom Event
ID: -1, Message: Snapshot 'BKP the VM' deletion for VM
'Servidor-Cliente' was initiated by admin@internal.
2016-02-16 08:46:24,093 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand]
(DefaultQuartzScheduler_Worker-14) [1be123ac] Executing Live Merge
command step 'EXTEND'
2016-02-16 08:46:24,122 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotCommandCallback]
(DefaultQuartzScheduler_Worker-14) [] Waiting on Live Merge child
commands to complete
2016-02-16 08:46:24,133 INFO
[org.ovirt.engine.core.bll.MergeExtendCommand] (pool-7-thread-6)
[766ffc9f] Running command: MergeExtendCommand internal: true.
Entities affected :  ID: c2dc0101-748e-4a7b-9913-47993eaa52bd Type:
Storage
2016-02-16 08:46:24,134 INFO
[org.ovirt.engine.core.bll.MergeExtendCommand] (pool-7-thread-6)
[766ffc9f] Base and top image sizes are the same; no image size update
required
2016-02-16 08:46:25,133 INFO
[org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskLiveCommand]
(DefaultQuartzScheduler_Worker-16) [1be123ac] Executing Live Merge
command step 'MERGE'
2016-02-16 08:46:25,168 INFO  [org.ovirt.engine.core.bll.MergeCommand]
(pool-7-thread-7) [1b7bc421] Running command: MergeCommand internal:
true. Entities affected :  ID: c2dc0101-748e-4a7b-9913-47993eaa52bd
Type: Storage
2016-02-16 08:46:25,169 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(pool-7-thread-7) [1b7bc421] START, MergeVDSCommand(HostName = Host01,
MergeVDSCommandParameters:{runAsync='true',
hostId='d4f29978-1540-44d9-ab22-1e6ff750059f',
vmId='94d788f4-eba4-49ee-8091-80028cc46627',
storagePoolId='77e24b20-9d21-4952-a089-3c5c592b4e6d',
storageDomainId='c2dc0101-748e-4a7b-9913-47993eaa52bd',
imageGroupId='b7a27d0c-57cc-490e-a3f8-b4981310a9b0',
imageId='7f8bb099-9a18-4e89-bf48-57e56e5770d2',
baseImageId='2e59f7f2-9e30-460e-836a-5e0d3d625059',
topImageId='7f8bb099-9a18-4e89-bf48-57e56e5770d2', bandwidth='0'}),
log id: 2a7ab7b7
2016-02-16 08:46:25,176 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(pool-7-thread-7) [1b7bc421] Failed in 'MergeVDS' method
2016-02-16 08:46:25,179 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-7-thread-7) [1b7bc421] Correlation ID: null, Call Stack: null,
Custom Event ID: -1, Message: VDSM Host01 command failed: Drive image
file could not be found
2016-02-16 08:46:25,179 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(pool-7-thread-7) [1b7bc421] Command
'org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand' return
value 'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=13,
message=Drive image file could not be found]]'
2016-02-16 08:46:25,179 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(pool-7-thread-7) [1b7bc421] HostName = Host01
2016-02-16 08:46:25,179 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(pool-7-thread-7) [1b7bc421] Command 'MergeVDSCommand(HostName =
Host01, MergeVDSCommandParameters:{runAsync='true',

Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-05 Thread Marcelo Leandro
Thanks Martin,
my problem resolved after the command :

su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""

i haven't  ideia what  started the problem,
i restore backup following the link:
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration

very thanks.

2016-02-05 7:00 GMT-03:00 Martin Perina <mper...@redhat.com>:
> Hi,
>
> I'm not sure what you did to your setup, but looking at all setup logs
> there's one big issue:
>
>   ERROR:  must be owner of database engine
>
> So, in over to by pass this you need to make sure that owner of db
> 'engine' is user 'engine'. To do that please execute:
>
> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>
> When done, please make sure you perform upgrade from 3.5 yo 3.6 properly:
>
> 1. Add 3.6 repo to your machine
>
> 2. Execute:
>  yum update 'ovirt-engine-setup*'
>
> 3. Execute:
>  engine-setup
>
>
> If it still doesn't work please send latest setup log.
>
> Thanks
>
> Martin Perina
>
>
>
> - Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Darrell Budic" <bu...@onholyground.com>
>> Cc: "Martin Perina" <mper...@redhat.com>, "Eli Mesika" <emes...@redhat.com>, 
>> "users" <users@ovirt.org>
>> Sent: Friday, February 5, 2016 2:44:16 AM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>> i try update, but the problem persists and now the ovirt not start.
>>
>> attached the setup.log, I tried three times:
>>
>> 1- i have problem with connection and the process closed
>> 2-return erro :
>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>> failed to execute
>> i see that que yum have problem :
>> run command:
>> yum clean expire-cache
>> and yum it's ok now.
>> 3- return erro:
>> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>> failed to execute
>>
>> now the ovirt not start.
>>
>> erro the boot.log
>>
>> 22:15:55,237 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
>> 22:16:05,538 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
>> 22:16:05,614 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final
>> "Brontes" starting
>> 22:16:05,988 ERROR [org.jboss.as.server] JBAS015956: Caught exception
>> during boot:
>> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
>> JBAS014676: Failed to parse configuration
>> at
>> 
>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>> at org.jboss.as.server.ServerService.boot(ServerService.java:266)
>> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>> at
>> 
>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]
>> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,1]
>> Message: Unexpected element '{urn:jboss:domain:2.1}server'
>> at
>> 
>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>> at
>> 
>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>> [staxmapper-1.1.0.Final.jar:1.1.0.Final]
>> at
>> 
>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>> ... 3 more
>>
>> 22:16:06,012 FATAL [org.jboss.as.server] JBAS015957: Server boot has
>> failed in an unrecoverable manner; exiting. See previous messages for
>> details.
>> 22:16:06,040 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final
>> "Brontes" stopped in 3ms
>>
>> additional information:
>> [root@srv-ovirt01 ~]# cat /etc/ovirt-engine/engine.conf.d/10-setup-jboss.conf
>> JBOSS_HOME="/usr/share/ovirt-engine-jboss-as"
>>  i try this https://bugzilla.redhat.com/show_bug.cgi?id=1062318 but no
>> have success
>>
>>
>> thanks.
>>
>> 2016-02-04 18:40 GMT-03:

Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-05 Thread Marcelo Leandro
I had the same problem from the other server , I had to wheel the command:

psql -U engine -c "DELETE from command_entities;" 

after the update.
but now it's ok.

2016-02-05 10:11 GMT-03:00 Martin Perina <mper...@redhat.com>:
> Great to hear! Let me know if there are still any other issues with the 
> upgrade.
>
> Thanks
>
> Martin Perina
>
>
> ----- Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Martin Perina" <mper...@redhat.com>
>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>
>> Sent: Friday, February 5, 2016 1:02:37 PM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>> Thanks Martin,
>> my problem resolved after the command :
>>
>> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO engine;\""
>>
>> i haven't  ideia what  started the problem,
>> i restore backup following the link:
>> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
>>
>> very thanks.
>>
>> 2016-02-05 7:00 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> > Hi,
>> >
>> > I'm not sure what you did to your setup, but looking at all setup logs
>> > there's one big issue:
>> >
>> >   ERROR:  must be owner of database engine
>> >
>> > So, in over to by pass this you need to make sure that owner of db
>> > 'engine' is user 'engine'. To do that please execute:
>> >
>> > su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO
>> > engine;\""
>> >
>> > When done, please make sure you perform upgrade from 3.5 yo 3.6 properly:
>> >
>> > 1. Add 3.6 repo to your machine
>> >
>> > 2. Execute:
>> >  yum update 'ovirt-engine-setup*'
>> >
>> > 3. Execute:
>> >  engine-setup
>> >
>> >
>> > If it still doesn't work please send latest setup log.
>> >
>> > Thanks
>> >
>> > Martin Perina
>> >
>> >
>> >
>> > - Original Message -
>> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> To: "Darrell Budic" <bu...@onholyground.com>
>> >> Cc: "Martin Perina" <mper...@redhat.com>, "Eli Mesika"
>> >> <emes...@redhat.com>, "users" <users@ovirt.org>
>> >> Sent: Friday, February 5, 2016 2:44:16 AM
>> >> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> >> 6.2.6-1.el7
>> >>
>> >> i try update, but the problem persists and now the ovirt not start.
>> >>
>> >> attached the setup.log, I tried three times:
>> >>
>> >> 1- i have problem with connection and the process closed
>> >> 2-return erro :
>> >> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> >> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>> >> failed to execute
>> >> i see that que yum have problem :
>> >> run command:
>> >> yum clean expire-cache
>> >> and yum it's ok now.
>> >> 3- return erro:
>> >> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> >> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>> >> failed to execute
>> >>
>> >> now the ovirt not start.
>> >>
>> >> erro the boot.log
>> >>
>> >> 22:15:55,237 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
>> >> 22:16:05,538 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
>> >> 22:16:05,614 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final
>> >> "Brontes" starting
>> >> 22:16:05,988 ERROR [org.jboss.as.server] JBAS015956: Caught exception
>> >> during boot:
>> >> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
>> >> JBAS014676: Failed to parse configuration
>> >> at
>> >> 
>> >> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>> >> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
>> >> at org.jboss.as.server.ServerService.boot(ServerService.java:266)
>> >> [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>> >> at
>> >>

Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-05 Thread Marcelo Leandro
Thank you all for help.

2016-02-05 10:35 GMT-03:00 Martin Perina <mper...@redhat.com>:
>
>
> - Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Martin Perina" <mper...@redhat.com>
>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>
>> Sent: Friday, February 5, 2016 2:28:55 PM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>> I had the same problem from the other server , I had to wheel the command:
>>
>> psql -U engine -c "DELETE from command_entities;" 
>>
>> after the update.
>> but now it's ok.
>
> Thanks to your report this is covered by [1] and it will be fixed in 3.6.3.
>
> Martin Perina
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1303163
>
>>
>> 2016-02-05 10:11 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> > Great to hear! Let me know if there are still any other issues with the
>> > upgrade.
>> >
>> > Thanks
>> >
>> > Martin Perina
>> >
>> >
>> > - Original Message -
>> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> To: "Martin Perina" <mper...@redhat.com>
>> >> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>
>> >> Sent: Friday, February 5, 2016 1:02:37 PM
>> >> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> >> 6.2.6-1.el7
>> >>
>> >> Thanks Martin,
>> >> my problem resolved after the command :
>> >>
>> >> su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO
>> >> engine;\""
>> >>
>> >> i haven't  ideia what  started the problem,
>> >> i restore backup following the link:
>> >> http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
>> >>
>> >> very thanks.
>> >>
>> >> 2016-02-05 7:00 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> >> > Hi,
>> >> >
>> >> > I'm not sure what you did to your setup, but looking at all setup logs
>> >> > there's one big issue:
>> >> >
>> >> >   ERROR:  must be owner of database engine
>> >> >
>> >> > So, in over to by pass this you need to make sure that owner of db
>> >> > 'engine' is user 'engine'. To do that please execute:
>> >> >
>> >> > su - postgres -c "psql --command=\"ALTER DATABASE engine OWNER TO
>> >> > engine;\""
>> >> >
>> >> > When done, please make sure you perform upgrade from 3.5 yo 3.6
>> >> > properly:
>> >> >
>> >> > 1. Add 3.6 repo to your machine
>> >> >
>> >> > 2. Execute:
>> >> >  yum update 'ovirt-engine-setup*'
>> >> >
>> >> > 3. Execute:
>> >> >  engine-setup
>> >> >
>> >> >
>> >> > If it still doesn't work please send latest setup log.
>> >> >
>> >> > Thanks
>> >> >
>> >> > Martin Perina
>> >> >
>> >> >
>> >> >
>> >> > - Original Message -
>> >> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> >> To: "Darrell Budic" <bu...@onholyground.com>
>> >> >> Cc: "Martin Perina" <mper...@redhat.com>, "Eli Mesika"
>> >> >> <emes...@redhat.com>, "users" <users@ovirt.org>
>> >> >> Sent: Friday, February 5, 2016 2:44:16 AM
>> >> >> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> >> >> 6.2.6-1.el7
>> >> >>
>> >> >> i try update, but the problem persists and now the ovirt not start.
>> >> >>
>> >> >> attached the setup.log, I tried three times:
>> >> >>
>> >> >> 1- i have problem with connection and the process closed
>> >> >> 2-return erro :
>> >> >> [ ERROR ] Failed to execute stage 'Misc configuration': Command
>> >> >> '/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
>> >> >> failed to execute
>> >> >>

Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-04 Thread Marcelo Leandro
This worked for me, thanks.
command:su - postgres -c "psql --command=\"GRANT ALL ON DATABASE
@ENGINE_DB_DATABASE@ TO @ENGINE_DB_USER@;\""

output:
GRANT

after it:

command:
LC_ALL="C" PGPASSWORD="@ENGINE_DB_PASSWORD@" psql -w
--pset=tuples_only=on --host="@ENGINE_DB_HOST@"
--port="@ENGINE_DB_PORT@" --username="@ENGINE_DB_USER@"
--dbname="@ENGINE_DB_DATABASE@" --set ON_ERROR_STOP=1 --no-psqlrc
--command="CREATE SCHEMA aaa_jdbc_x AUTHORIZATION @ENGINE_DB_USER@;"
|| die "Cannot execute sql command"

output:
"CREATE SCHEMA"

tonight i try  update and reply if worked.

thanks.

2016-02-04 13:22 GMT-03:00 Martin Perina <mper...@redhat.com>:
>
>
> - Original Message -
>> From: "Eli Mesika" <emes...@redhat.com>
>> To: "Martin Perina" <mper...@redhat.com>
>> Cc: "Marcelo Leandro" <marcelol...@gmail.com>, "Darrell Budic" 
>> <bu...@onholyground.com>, "users" <users@ovirt.org>
>> Sent: Thursday, February 4, 2016 5:17:24 PM
>> Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7
>>
>>
>>
>> - Original Message -
>> > From: "Martin Perina" <mper...@redhat.com>
>> > To: "Marcelo Leandro" <marcelol...@gmail.com>
>> > Cc: "Darrell Budic" <bu...@onholyground.com>, "Eli Mesika"
>> > <emes...@redhat.com>, "users" <users@ovirt.org>
>> > Sent: Thursday, February 4, 2016 6:12:34 PM
>> > Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> > 6.2.6-1.el7
>> >
>> > Hi,
>> >
>> > so it seems, that for some strange reason, user 'engine' cannot create
>> > schema in 'engine' database although it should be an owner of this db.
>> > I double checked that on all our testing databases this works fine and
>> > also if you created engine db according to doc (either automatically
>> > by engine-setup or manually in case of remote db) this should work.
>> >
>> > So you can try to execute following command which adds proper
>> > permissions to 'engine' db user (please adapt according to you setup):
>> >
>> >
>> >  su - postgres -c "psql --command=\"GRANT ALL ON DATABASE
>> >  @ENGINE_DB_DATABASE@ TO @ENGINE_DB_USER@;\""
>> >
>> > The correct output should be:
>> >
>> >  GRANT
>> >
>> > If it's successful, please execute engine-setup again to verify that
>> > above step fixed the issue.
>>
>> Martin, should that be added to engine-setup ?
>
> I don't this so, because for all other users I know of this works fine
> (if engine db is created according to doc, engine db user is an owner
> of db so he can create new schemas).
>
> But let's wait for reply ...
>
>>
>> >
>> > Thanks
>> >
>> > Martin Perina
>> >
>> > - Original Message -
>> > > From: "Marcelo Leandro" <marcelol...@gmail.com>
>> > > To: "Martin Perina" <mper...@redhat.com>
>> > > Sent: Thursday, February 4, 2016 1:40:36 PM
>> > > Subject: Re: [ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to
>> > > 6.2.6-1.el7
>> > >
>> > > Hello Martin,
>> > >
>> > > Indeed there´s an issue here. Runnig your command, I got this error:
>> > > ERROR:  permission denied for database engine ,  I'm investigating
>> > > deeper
>> > >
>> > > Thanks
>> > >
>> > > 2016-02-04 6:18 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> > > > Hi,
>> > > >
>> > > > I just verified that upgrades on both Centos 6.7 and Centos 7.2 works
>> > > > fine,
>> > > > so there's something bad with psql on you machines :-(
>> > > >
>> > > > Could you please execute following steps and send me result?
>> > > >
>> > > > 1. Please take a look at your engine db configuration in
>> > > >/etc/ovirt-engine/engine.conf.d/10-setup-database.conf
>> > > >
>> > > > 2. Please replace variables (@VAR@) with real values according to your
>> > > >db setup and execute following command on engine host (or VM in
>> > > >case of hosted engine):
>> > > >
>> > > >LC_ALL="C" PGPASSWORD="@ENGINE

[ovirt-users] Problem update ovirt 3.5.6.2-1.el7 to 6.2.6-1.el7

2016-02-02 Thread Marcelo Leandro
hello,
i have problem for update with ovirt.
erro msg:

[ ERROR ] Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine-extension-aaa-jdbc/dbscripts/schema.sh'
failed to execute


setup.log:
https://copy.com/nOhoxwI8kPzm6fO0

anybody can help me ?

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


[ovirt-users] Cannot add new host

2016-02-01 Thread Marcelo Leandro
ess$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]

2016-02-01 11:15:45,908 ERROR
[org.ovirt.engine.core.bll.InstallerMessages]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Installation
srv-qemu02.hybriddc.com.br: Certificate enrollment failed
2016-02-01 11:15:45,919 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Correlation ID:
56ddaf28, Call Stack: null, Custom Event ID: -1, Message: Failed to
install Host srv-qemu02.hybriddc.com.br. Certificate enrollment
failed.
2016-02-01 11:15:45,920 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Error during host
srv-qemu02.hybriddc.com.br install, prefering first exception:
java.lang.RuntimeException: Certificate enrollment failed
at 
org.ovirt.engine.core.utils.hostinstall.OpenSslCAWrapper.signCertificateRequest(OpenSslCAWrapper.java:56)
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:927)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]

2016-02-01 11:15:45,922 ERROR
[org.ovirt.engine.core.bll.InstallVdsInternalCommand]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Host installation
failed for host a5495397-eab7-413e-8d4c-7c5f6518dff7,
srv-qemu02.hybriddc.com.br.: java.lang.RuntimeException: Certificate
enrollment failed
at 
org.ovirt.engine.core.utils.hostinstall.OpenSslCAWrapper.signCertificateRequest(OpenSslCAWrapper.java:56)
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:927)
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_95]

2016-02-01 11:15:45,936 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] START,
SetVdsStatusVDSCommand(HostName = srv-qemu02.hybriddc.com.br, HostId =
a5495397-eab7-413e-8d4c-7c5f6518dff7, status=InstallFailed,
nonOperationalReason=NONE, stopSpmFailureLogged=false), log id:
77b90c7c
2016-02-01 11:15:45,953 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] FINISH,
SetVdsStatusVDSCommand, log id: 77b90c7c
2016-02-01 11:15:45,961 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Correlation ID:
56ddaf28, Call Stack: null, Custom Event ID: -1, Message: Host
srv-qemu02.hybriddc.com.br installation failed. Certificate enrollment
failed.
2016-02-01 11:15:45,962 INFO
[org.ovirt.engine.core.bll.InstallVdsInternalCommand]
(org.ovirt.thread.pool-8-thread-16) [56ddaf28] Lock freed to object
EngineLock [exclusiveLocks= key: a5495397-eab7-413e-8d4c-7c5f6518dff7
value: VDS
, sharedLocks= ]



Can someone help me?
Thanks

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


Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-28 Thread Marcelo Leandro
Hello,
Yes i can.

It's here:
https://copy.com/OmnU13SAPXh13ZiR

Thanks.

2016-01-28 8:17 GMT-03:00 Amador Pahim <apa...@redhat.com>:
> On 01/28/2016 09:10 AM, Eli Mesika wrote:
>>
>>
>> - Original Message -
>>>
>>> From: "Martin Perina" <mper...@redhat.com>
>>> To: "Eli Mesika" <emes...@redhat.com>
>>> Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
>>> <amure...@redhat.com>, "users" <users@ovirt.org>, "Amador
>>> Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
>>> Sent: Thursday, January 28, 2016 12:59:02 PM
>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>
>>>
>>>
>>> - Original Message -
>>>>
>>>> From: "Eli Mesika" <emes...@redhat.com>
>>>> To: "Martin Perina" <mper...@redhat.com>
>>>> Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
>>>> <amure...@redhat.com>, "users" <users@ovirt.org>, "Amador
>>>> Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
>>>> Sent: Thursday, January 28, 2016 11:55:56 AM
>>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>>
>>>>
>>>>
>>>> - Original Message -
>>>>>
>>>>> From: "Martin Perina" <mper...@redhat.com>
>>>>> To: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
>>>>> <amure...@redhat.com>
>>>>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
>>>>> "Amador
>>>>> Pahim" <apa...@redhat.com>, "Marcelo
>>>>> Leandro" <marcelol...@gmail.com>
>>>>> Sent: Wednesday, January 27, 2016 2:31:20 PM
>>>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>>>
>>>>> So now I finally understand the issue:
>>>>>
>>>>> When you try to login, CommandBase tries to execute LoginCommand, but
>>>>> before the command execution it loads content of commands cache and
>>>>> here comes the issue: there's stored AddVmFromSnapshotCommand which
>>>>> contains DiskImage as a parameter and DiskImage implementation has
>>>>> changed between 3.5 and 3.6.
>>>>>
>>>>> Moti, is there some way how to clean up commands cache so it doesn't
>>>>> contain those 3.5 commands?
>>>>>
>>>>> Also should those situation be covered during engine upgrades?
>>>>
>>>> Martin, is this a left over in the command_entities table that caused
>>>> the
>>>> failure while the entity is deserialized ?
>>>
>>> Probably, because this DiskImage.Id serialization exception started to
>>> appear
>>> after upgrade from 3.5. Is there any way how to verify and clean up?
>>
>> I suggest having a bug on the taskcleaner code which is called upon
>> upgrade, then I will try to reproduce
>> Amador, Is there a chance we can get a backup of that 3.5 DB in order to
>> reproduce ?
>
>
> Yes, I was talking to Marcelo off-list and he has the dump taken by
> engine-setup. Marcelo, could you send the tar.gz'ed 3.5 dump download link
> off-list to Eli?
> Thank you.
>
>
>>
>>>>> Thanks
>>>>>
>>>>> Martin
>>>>>
>>>>>
>>>>> - Original Message -
>>>>>>
>>>>>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>>>>>> To: "Martin Perina" <mper...@redhat.com>
>>>>>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
>>>>>> "Amador
>>>>>> Pahim" <apa...@redhat.com>
>>>>>> Sent: Wednesday, January 27, 2016 1:08:19 PM
>>>>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>>>>
>>>>>> The server  just in time  isolate from the network,is it a problem?
>>>>>> thats ok?
>>>>>>
>>>>>> follows the logs:
>>>>>>
>>>>>> serve

Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-27 Thread Marcelo Leandro
The server  just in time  isolate from the network,is it a problem?
thats ok?

follows the logs:

server.log:
https://copy.com/Eni9adZSCjyMZNFN

engine.log:
https://copy.com/ayczW9ipHdW4BWni

2016-01-27 5:32 GMT-03:00 Martin Perina <mper...@redhat.com>:
> Hi,
>
> according to the test of login by ovirt-engine-extensions-tool you were 
> logged in
> successfully, so there shouldn't be any issues logging into engine using
> admin@internal ...
>
> Unfortunately both engine.log and server.log ends on Jan 22th and I'd really
> like to see up-to-date logs.
>
> So if you still cannot login into webadmin please do following:
>
> 1. Stop engine service
>
>  systemctl stop ovirt-engine
>
>or
>
>  service ovirt-engine stop
>
>
> 2. Rotate logs
>
>cd /var/log/ovirt-engine
>mv engine.log engine-20160127.log
>mv server.log server-20160127.log
>
>
> 3. Start engine
>
>  systemctl start ovirt-engine
>
>or
>
>  service ovirt-engine start
>
>
> 4. Try to login as admin with domain internal using webadmin
>
>
> 5. Try to login as admin@internal using REST API by
>accessing
>
>  http://SERVER/ovirt-engine/api/datacenters
>
>Into user please enter full username: admin@internal
>
>
> When done please attach latest server.log and engine.log
>
>
> Thanks a lot
>
> Martin Perina
>
>
> - Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Martin Perina" <mper...@redhat.com>
>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>, "Amador 
>> Pahim" <apa...@redhat.com>
>> Sent: Tuesday, January 26, 2016 8:46:12 PM
>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>
>> hello,
>>
>> setup.log:
>> https://copy.com/lIYzccOnwCiW7e9q
>>
>> and output the command :
>> https://copy.com/7psvpyUzUq0FKW31
>>
>> error screen when i try to login on webadmin:
>> https://copy.com/CfKZePnGFmIwF7B8
>>
>> Thanks
>>
>> 2016-01-26 12:24 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> > And also could you try to login using extension test tool:
>> >
>> >   ovirt-engine-extensions-tool aaa login-user --profile=internal
>> >   --user-name=admin --password=interactive:
>> >
>> > and post the output of the command.
>> >
>> > Thanks a lot
>> >
>> > Martin Perina
>> >
>> > - Original Message -
>> >> From: "Martin Perina" <mper...@redhat.com>
>> >> To: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>, "Amador
>> >> Pahim" <apa...@redhat.com>
>> >> Sent: Tuesday, January 26, 2016 4:12:21 PM
>> >> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >>
>> >> Could you please share also your server.log?
>> >>
>> >> Thanks
>> >>
>> >> Martin Perina
>> >>
>> >> - Original Message -
>> >> > From: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> > To: "Martin Perina" <mper...@redhat.com>
>> >> > Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
>> >> > "Amador
>> >> > Pahim" <apa...@redhat.com>
>> >> > Sent: Tuesday, January 26, 2016 4:03:16 PM
>> >> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >> >
>> >> > And here the engine.log:
>> >> > https://copy.com/TWjgIu7KwSkcmRZ8
>> >> >
>> >> > the log started 2016-01-19.
>> >> >
>> >> > 2016-01-26 11:57 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:
>> >> > > I didn't change nothing on jan 20th and it happened on 22th.
>> >> > > I can't login into the web admin.
>> >> > >
>> >> > > Thanks
>> >> > >
>> >> > > 2016-01-26 9:55 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> >> > >> Hi Marcelo,
>> >> > >>
>> >> > >> sorry for late response, too many tasks on me at the moment :-(
>> >> > >>
>> >> > >> As Eli said important is

Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Marcelo Leandro
Martins, can you help me ? I can't administer my environment.

2016-01-25 8:30 GMT-03:00 Eli Mesika <emes...@redhat.com>:
> Adding Martin
>
> There are some aaa errors before that, but first significant error is in 
> 2016-01-20 00:14:55,002
> Can you take a look ?
>
> - Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Eli Mesika" <emes...@redhat.com>
>> Cc: users@ovirt.org, "Amador Pahim" <apa...@redhat.com>
>> Sent: Sunday, January 24, 2016 1:48:04 PM
>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>
>> It's here : https://copy.com/TWjgIu7KwSkcmRZ8
>>
>>
>> - Original Message -
>> > From: "Amador Pahim" <apa...@redhat.com>
>> > To: "Marcelo Leandro" <marcelol...@gmail.com>, users@ovirt.org
>> > Cc: emes...@redhat.com
>> > Sent: Friday, January 22, 2016 7:08:20 PM
>> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >
>> > On 01/22/2016 03:03 PM, Marcelo Leandro wrote:
>> > > After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
>> > > ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
>> > > engine.log say
>> > > Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
>> > > id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
>> > > type 'Id.class'): no such class found (through reference chain:
>> > >
>> org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])
>> >
>> > hmm, I see a similar msg here:
>> > http://lists.ovirt.org/pipermail/devel/2015-July/010976.html
>> >
>> > Not sure if related. Eli? Any thoughts here?
>>
>> I don't think it is related ...
>> Amador, can you please attach a full engine log ?
>>
>> >
>> > >
>> > > Here the setup log:
>> > > https://copy.com/YBddV8bg3tnjHnwp
>> > >
>> > > And here the engine.log:
>> > > https://copy.com/TWjgIu7KwSkcmRZ8
>> > >
>> > > Need urgent assistance. Thank you in advance.
>> > >
>> > > Best Regards,
>> > > Marcelo Leandro
>> > > ___
>> > > Users mailing list
>> > > Users@ovirt.org
>> > > http://lists.ovirt.org/mailman/listinfo/users
>> >
>> >
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Marcelo Leandro
I didn't change nothing on jan 20th and it happened on 22th.
I can't login into the web admin.

Thanks

2016-01-26 9:55 GMT-03:00 Martin Perina <mper...@redhat.com>:
> Hi Marcelo,
>
> sorry for late response, too many tasks on me at the moment :-(
>
> As Eli said important issues started at 2016-01-20, but engine-setup
> log you posted is dated at 2016-01-22. So, did you perform any
> upgrade on important configuration changed on Jan 20th? If so could
> you please share also this setup log?
>
> Regarding login: I haven't found any issue logging, I see many successful
> logins of admin@internal in the log. So are you able to login into webadmin
> or not?
>
> Thanks
>
> Martin Perina
>
> - Original Message -
>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> To: "Eli Mesika" <emes...@redhat.com>
>> Cc: "Martin Perina" <mper...@redhat.com>, "users" <users@ovirt.org>, "Amador 
>> Pahim" <apa...@redhat.com>
>> Sent: Tuesday, January 26, 2016 12:27:55 PM
>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>
>> Martins, can you help me ? I can't administer my environment.
>>
>> 2016-01-25 8:30 GMT-03:00 Eli Mesika <emes...@redhat.com>:
>> > Adding Martin
>> >
>> > There are some aaa errors before that, but first significant error is in
>> > 2016-01-20 00:14:55,002
>> > Can you take a look ?
>> >
>> > - Original Message -
>> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> >> To: "Eli Mesika" <emes...@redhat.com>
>> >> Cc: users@ovirt.org, "Amador Pahim" <apa...@redhat.com>
>> >> Sent: Sunday, January 24, 2016 1:48:04 PM
>> >> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >>
>> >> It's here : https://copy.com/TWjgIu7KwSkcmRZ8
>> >>
>> >>
>> >> - Original Message -
>> >> > From: "Amador Pahim" <apa...@redhat.com>
>> >> > To: "Marcelo Leandro" <marcelol...@gmail.com>, users@ovirt.org
>> >> > Cc: emes...@redhat.com
>> >> > Sent: Friday, January 22, 2016 7:08:20 PM
>> >> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >> >
>> >> > On 01/22/2016 03:03 PM, Marcelo Leandro wrote:
>> >> > > After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
>> >> > > ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
>> >> > > engine.log say
>> >> > > Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
>> >> > > id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
>> >> > > type 'Id.class'): no such class found (through reference chain:
>> >> > >
>> >> org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])
>> >> >
>> >> > hmm, I see a similar msg here:
>> >> > http://lists.ovirt.org/pipermail/devel/2015-July/010976.html
>> >> >
>> >> > Not sure if related. Eli? Any thoughts here?
>> >>
>> >> I don't think it is related ...
>> >> Amador, can you please attach a full engine log ?
>> >>
>> >> >
>> >> > >
>> >> > > Here the setup log:
>> >> > > https://copy.com/YBddV8bg3tnjHnwp
>> >> > >
>> >> > > And here the engine.log:
>> >> > > https://copy.com/TWjgIu7KwSkcmRZ8
>> >> > >
>> >> > > Need urgent assistance. Thank you in advance.
>> >> > >
>> >> > > Best Regards,
>> >> > > Marcelo Leandro
>> >> > > ___
>> >> > > Users mailing list
>> >> > > Users@ovirt.org
>> >> > > http://lists.ovirt.org/mailman/listinfo/users
>> >> >
>> >> >
>> >>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Marcelo Leandro
And here the engine.log:
https://copy.com/TWjgIu7KwSkcmRZ8

the log started 2016-01-19.

2016-01-26 11:57 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:
> I didn't change nothing on jan 20th and it happened on 22th.
> I can't login into the web admin.
>
> Thanks
>
> 2016-01-26 9:55 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> Hi Marcelo,
>>
>> sorry for late response, too many tasks on me at the moment :-(
>>
>> As Eli said important issues started at 2016-01-20, but engine-setup
>> log you posted is dated at 2016-01-22. So, did you perform any
>> upgrade on important configuration changed on Jan 20th? If so could
>> you please share also this setup log?
>>
>> Regarding login: I haven't found any issue logging, I see many successful
>> logins of admin@internal in the log. So are you able to login into webadmin
>> or not?
>>
>> Thanks
>>
>> Martin Perina
>>
>> - Original Message -
>>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>>> To: "Eli Mesika" <emes...@redhat.com>
>>> Cc: "Martin Perina" <mper...@redhat.com>, "users" <users@ovirt.org>, 
>>> "Amador Pahim" <apa...@redhat.com>
>>> Sent: Tuesday, January 26, 2016 12:27:55 PM
>>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>>
>>> Martins, can you help me ? I can't administer my environment.
>>>
>>> 2016-01-25 8:30 GMT-03:00 Eli Mesika <emes...@redhat.com>:
>>> > Adding Martin
>>> >
>>> > There are some aaa errors before that, but first significant error is in
>>> > 2016-01-20 00:14:55,002
>>> > Can you take a look ?
>>> >
>>> > - Original Message -
>>> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>>> >> To: "Eli Mesika" <emes...@redhat.com>
>>> >> Cc: users@ovirt.org, "Amador Pahim" <apa...@redhat.com>
>>> >> Sent: Sunday, January 24, 2016 1:48:04 PM
>>> >> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>> >>
>>> >> It's here : https://copy.com/TWjgIu7KwSkcmRZ8
>>> >>
>>> >>
>>> >> - Original Message -
>>> >> > From: "Amador Pahim" <apa...@redhat.com>
>>> >> > To: "Marcelo Leandro" <marcelol...@gmail.com>, users@ovirt.org
>>> >> > Cc: emes...@redhat.com
>>> >> > Sent: Friday, January 22, 2016 7:08:20 PM
>>> >> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>> >> >
>>> >> > On 01/22/2016 03:03 PM, Marcelo Leandro wrote:
>>> >> > > After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
>>> >> > > ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
>>> >> > > engine.log say
>>> >> > > Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid 
>>> >> > > type
>>> >> > > id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
>>> >> > > type 'Id.class'): no such class found (through reference chain:
>>> >> > >
>>> >> org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])
>>> >> >
>>> >> > hmm, I see a similar msg here:
>>> >> > http://lists.ovirt.org/pipermail/devel/2015-July/010976.html
>>> >> >
>>> >> > Not sure if related. Eli? Any thoughts here?
>>> >>
>>> >> I don't think it is related ...
>>> >> Amador, can you please attach a full engine log ?
>>> >>
>>> >> >
>>> >> > >
>>> >> > > Here the setup log:
>>> >> > > https://copy.com/YBddV8bg3tnjHnwp
>>> >> > >
>>> >> > > And here the engine.log:
>>> >> > > https://copy.com/TWjgIu7KwSkcmRZ8
>>> >> > >
>>> >> > > Need urgent assistance. Thank you in advance.
>>> >> > >
>>> >> > > Best Regards,
>>> >> > > Marcelo Leandro
>>> >> > > ___
>>> >> > > Users mailing list
>>> >> > > Users@ovirt.org
>>> >> > > http://lists.ovirt.org/mailman/listinfo/users
>>> >> >
>>> >> >
>>> >>
>>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Marcelo Leandro
hello,

setup.log:
https://copy.com/lIYzccOnwCiW7e9q

and output the command :
https://copy.com/7psvpyUzUq0FKW31

error screen when i try to login on webadmin:
https://copy.com/CfKZePnGFmIwF7B8

Thanks

2016-01-26 12:24 GMT-03:00 Martin Perina <mper...@redhat.com>:
> And also could you try to login using extension test tool:
>
>   ovirt-engine-extensions-tool aaa login-user --profile=internal 
> --user-name=admin --password=interactive:
>
> and post the output of the command.
>
> Thanks a lot
>
> Martin Perina
>
> - Original Message -
>> From: "Martin Perina" <mper...@redhat.com>
>> To: "Marcelo Leandro" <marcelol...@gmail.com>
>> Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>, "Amador 
>> Pahim" <apa...@redhat.com>
>> Sent: Tuesday, January 26, 2016 4:12:21 PM
>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>>
>> Could you please share also your server.log?
>>
>> Thanks
>>
>> Martin Perina
>>
>> - Original Message -
>> > From: "Marcelo Leandro" <marcelol...@gmail.com>
>> > To: "Martin Perina" <mper...@redhat.com>
>> > Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>, "Amador
>> > Pahim" <apa...@redhat.com>
>> > Sent: Tuesday, January 26, 2016 4:03:16 PM
>> > Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> >
>> > And here the engine.log:
>> > https://copy.com/TWjgIu7KwSkcmRZ8
>> >
>> > the log started 2016-01-19.
>> >
>> > 2016-01-26 11:57 GMT-03:00 Marcelo Leandro <marcelol...@gmail.com>:
>> > > I didn't change nothing on jan 20th and it happened on 22th.
>> > > I can't login into the web admin.
>> > >
>> > > Thanks
>> > >
>> > > 2016-01-26 9:55 GMT-03:00 Martin Perina <mper...@redhat.com>:
>> > >> Hi Marcelo,
>> > >>
>> > >> sorry for late response, too many tasks on me at the moment :-(
>> > >>
>> > >> As Eli said important issues started at 2016-01-20, but engine-setup
>> > >> log you posted is dated at 2016-01-22. So, did you perform any
>> > >> upgrade on important configuration changed on Jan 20th? If so could
>> > >> you please share also this setup log?
>> > >>
>> > >> Regarding login: I haven't found any issue logging, I see many
>> > >> successful
>> > >> logins of admin@internal in the log. So are you able to login into
>> > >> webadmin
>> > >> or not?
>> > >>
>> > >> Thanks
>> > >>
>> > >> Martin Perina
>> > >>
>> > >> - Original Message -----
>> > >>> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> > >>> To: "Eli Mesika" <emes...@redhat.com>
>> > >>> Cc: "Martin Perina" <mper...@redhat.com>, "users" <users@ovirt.org>,
>> > >>> "Amador Pahim" <apa...@redhat.com>
>> > >>> Sent: Tuesday, January 26, 2016 12:27:55 PM
>> > >>> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>> > >>>
>> > >>> Martins, can you help me ? I can't administer my environment.
>> > >>>
>> > >>> 2016-01-25 8:30 GMT-03:00 Eli Mesika <emes...@redhat.com>:
>> > >>> > Adding Martin
>> > >>> >
>> > >>> > There are some aaa errors before that, but first significant error is
>> > >>> > in
>> > >>> > 2016-01-20 00:14:55,002
>> > >>> > Can you take a look ?
>> > >>> >
>> > >>> > - Original Message -
>> > >>> >> From: "Marcelo Leandro" <marcelol...@gmail.com>
>> > >>> >> To: "Eli Mesika" <emes...@redhat.com>
>> > >>> >> Cc: users@ovirt.org, "Amador Pahim" <apa...@redhat.com>
>> > >>> >> Sent: Sunday, January 24, 2016 1:48:04 PM
>> > >>> >> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to
>> > >>> >> 3.6
>> > >>> >>
>> > >>> >> It's here

[ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-26 Thread Marcelo Leandro
After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to 
ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The 
engine.log say
Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type id 
'org.ovirt.engine.core.common.businessentities.DiskImage' (for id type 
'Id.class'): no such class found (through reference chain: 
org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])

Here the setup log:
https://copy.com/YBddV8bg3tnjHnwp

And here the engine.log:
https://copy.com/TWjgIu7KwSkcmRZ8

Need urgent assistance. Thank you in advance.

Best Regards,
Marcelo Leandro


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


Re: [ovirt-users] moving db

2016-01-25 Thread Marcelo Leandro
check this out:
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#engine-setup_Database

2016-01-25 11:59 GMT-03:00 Giorgio Bart :
> Hi all,
> is this the correct way to move engine db from one server to another?
>
> 1) service engine stop
> 2) dump db
> 3) restore dump on new db server
> 4) modify /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
> 5) run engine-setup
>
> Thanks,
> Giorgio
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-24 Thread Marcelo Leandro
It's here : https://copy.com/TWjgIu7KwSkcmRZ8


- Original Message -
> From: "Amador Pahim" <apa...@redhat.com>
> To: "Marcelo Leandro" <marcelol...@gmail.com>, users@ovirt.org
> Cc: emes...@redhat.com
> Sent: Friday, January 22, 2016 7:08:20 PM
> Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6
>
> On 01/22/2016 03:03 PM, Marcelo Leandro wrote:
> > After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
> > ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
> > engine.log say
> > Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
> > id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
> > type 'Id.class'): no such class found (through reference chain:
> >
org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])
>
> hmm, I see a similar msg here:
> http://lists.ovirt.org/pipermail/devel/2015-July/010976.html
>
> Not sure if related. Eli? Any thoughts here?

I don't think it is related ...
Amador, can you please attach a full engine log ?

>
> >
> > Here the setup log:
> > https://copy.com/YBddV8bg3tnjHnwp
> >
> > And here the engine.log:
> > https://copy.com/TWjgIu7KwSkcmRZ8
> >
> > Need urgent assistance. Thank you in advance.
> >
> > Best Regards,
> > Marcelo Leandro
> > ___
> > 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] Cannot login after upgrade from 3.5 to 3.6

2016-01-22 Thread Marcelo Leandro
After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
engine.log say
Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
type 'Id.class'): no such class found (through reference chain:
org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])

Here the setup log:
https://copy.com/YBddV8bg3tnjHnwp

And here the engine.log:
https://copy.com/TWjgIu7KwSkcmRZ8

Need urgent assistance. Thank you in advance.

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