[ovirt-users] Re: Unable to export vm as ova

2018-10-26 Thread sangeetha . rathinavel
1. file permission

[root@ca-ovsx131 images]# ll 7af3ed03-9be5-4c29-b1f2-2566a00671ba/
total 1286
-rw-rw. 1 vdsm kvm  196624 Oct 26 13:40 f4a9a516-12b1-47ff-b2f9-e5d792669b3c
-rw-rw. 1 vdsm kvm 1048576 Oct 26 13:40 
f4a9a516-12b1-47ff-b2f9-e5d792669b3c.lease
-rw-r--r--. 1 vdsm kvm 267 Oct 26 13:40 
f4a9a516-12b1-47ff-b2f9-e5d792669b3c.meta
___
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/NRLECK4MIOTWLQWZCLGC4PGYP6WAEOWP/


[ovirt-users] Re: Unable to export vm as ova

2018-10-26 Thread sangeetha . rathinavel
Appreciate your quick reply.

1. File permission:
[root@ca-ovsx131 images]# ll
drwxr-xr-x. 2 vdsm kvm 5 Oct 26 13:40 7af3ed03-9be5-4c29-b1f2-2566a00671ba

[root@ca-ovsx131 images]# ll f83b2026-099d-4983-9130-fa999bd2a782/
total 1028
-rw-rw. 1 vdsm kvm 1073741824 Oct 26 13:31 
6eb8cd98-ec3f-47a4-908c-e17f45e6cf6a
-rw-rw. 1 vdsm kvm1048576 Oct 26 13:31 
6eb8cd98-ec3f-47a4-908c-e17f45e6cf6a.lease
-rw-r--r--. 1 vdsm kvm319 Oct 26 13:31 
6eb8cd98-ec3f-47a4-908c-e17f45e6cf6a.meta

this images gets deleted after the Export ova fails.

2.File Format:
bash-4.2$ qemu-img info 
7af3ed03-9be5-4c29-b1f2-2566a00671ba/f4a9a516-12b1-47ff-b2f9-e5d792669b3c
image: 7af3ed03-9be5-4c29-b1f2-2566a00671ba/f4a9a516-12b1-47ff-b2f9-e5d792669b3c
file format: qcow2
virtual size: 1.0G (1073741824 bytes)
disk size: 259K
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false


Error message:
writing disk: 
path=/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/7af3ed03-9be5-4c29-b1f2-2566a00671ba/f4a9a516-12b1-47ff-b2f9-e5d792669b3c
 size=196624
Traceback (most recent call last):
  File 
"/root/.ansible/tmp/ansible-tmp-1540582852.05-258889562906077/pack_ova.py", 
line 96, in 
write_disks(ova_path, disks_info.split('+'))
  File 
"/root/.ansible/tmp/ansible-tmp-1540582852.05-258889562906077/pack_ova.py", 
line 79, in write_disks
write_disk(ova_path, disk_path, disk_size)
  File 
"/root/.ansible/tmp/ansible-tmp-1540582852.05-258889562906077/pack_ova.py", 
line 59, in write_disk
fd = os.open(disk_path, os.O_RDONLY | os.O_DIRECT)
OSError: [Errno 13] Permission denied: 
'/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/7af3ed03-9be5-4c29-b1f2-2566a00671ba/f4a9a516-12b1-47ff-b2f9-e5d792669b3c'

I will try removing  os.O_DIRECT and test. 
___
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/QEYFL4B2UHTG2CLRI3FQV7PC3TEA42ED/


[ovirt-users] High frequency of getVolumeSize()

2018-10-26 Thread Markus Stockhausen
Hi,

we observed high count of getVolumeSize() calls in vdsm.log Looking
at the logs it seems as if this is done every minute for all disk that
are currently running on a node. 

Is this frequency normal and if yes why?

Best regards.

Markus




































Mit freundlichen Grüßen,



Markus Stockhausen

Head of Software Technology


Ubierring 11 · 50678 Köln



Telefon: +49 221 33 608 611

Mobil: +49 151 12040606



Mail: markus.stockhau...@collogia.de 

Web: www.collogia-it-services.de





















___
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/WYPXJYJ6YHNNEUI2SWPXCKDU46Z3XLFN/


[ovirt-users] Re: Unable to export vm as ova

2018-10-26 Thread Arik Hadas
On Fri, Oct 26, 2018 at 8:58 PM  wrote:

> When I try to export a vm to ova, get this below error in engine log
>
> 2018-10-26 12:11:36,657-04 ERROR
> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
> (EE-ManagedThreadFactory-engineScheduled-Thread-37) [484d3716]
> EngineException: ENGINE (Failed with error ENGINE and code 5001):
> org.ovirt.engine.core.common.errors.EngineException: EngineException:
> ENGINE (Failed with error ENGINE and code 5001)
> at
> org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.createOva(ExportOvaCommand.java:301)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.executeNextOperation(ExportOvaCommand.java:285)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.performNextOperation(ExportOvaCommand.java:277)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback.childCommandsExecutionEnded(SerialChildCommandsExecutionCallback.java:32)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.ChildCommandsCallbackBase.doPolling(ChildCommandsCallbackBase.java:68)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethodsImpl(CommandCallbacksPoller.java:146)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethods(CommandCallbacksPoller.java:107)
> [bll.jar:]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [rt.jar:1.8.0_181]
>
>
> In Ansible log
>
> writing disk:
> path=/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391
> size=196848
> Traceback (most recent call last):
>   File
> "/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py",
> line 96, in 
> write_disks(ova_path, disks_info.split('+'))
>   File
> "/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py",
> line 79, in write_disks
> write_disk(ova_path, disk_path, disk_size)
>   File
> "/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py",
> line 59, in write_disk
> fd = os.open(disk_path, os.O_RDONLY | os.O_DIRECT)
> OSError: [Errno 13] Permission denied:
> '/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391'
>

Can you please provide more information about image
d95c52e3-35d1-493e-ab2d-42577bdb0391 of disk
e1186fdb-3fc3-46ae-945c-dd19bb6d434c?
1. Its file permissions
2. What's its format (qemu-img info )
3. Whether or not it has a backing file

In light of the size of this image not being a multiply of 512, I suspect
this is an empty qcow2 file.
If that's the case, removing the O_DIRECT flag from pack_ova.py script
might solve this (although if that's the problem I would expect the error
to be "invalid argument" rather than "permission denied").

I see, according to your email, that you're from Oracle so if you're doing
that to test something or as part of an integration of oVirt with some
tool, I would propose doing that with the nightly build of 4.3 - the
process of exporting & importing OVAs was almost completely rewritten and
the new version is faster and more stable (the output of the process, the
OVA, remains the same as that in 4.2).


>
> I have my storage in NFS .
>
> Note: Export to Domain works fine.
> Thanks 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/75YC2O3RC3G5XZC57ANP7HSOAQYODZAU/
>
___
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/3DXIRSHSYDGBYIBZUZPZEGM6LSTQZXJB/


[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] Unable to export vm as ova

2018-10-26 Thread sangeetha . rathinavel
When I try to export a vm to ova, get this below error in engine log

2018-10-26 12:11:36,657-04 ERROR 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-37) [484d3716] EngineException: 
ENGINE (Failed with error ENGINE and code 5001): 
org.ovirt.engine.core.common.errors.EngineException: EngineException: ENGINE 
(Failed with error ENGINE and code 5001)
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.createOva(ExportOvaCommand.java:301)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.executeNextOperation(ExportOvaCommand.java:285)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.performNextOperation(ExportOvaCommand.java:277)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback.childCommandsExecutionEnded(SerialChildCommandsExecutionCallback.java:32)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.ChildCommandsCallbackBase.doPolling(ChildCommandsCallbackBase.java:68)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethodsImpl(CommandCallbacksPoller.java:146)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethods(CommandCallbacksPoller.java:107)
 [bll.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[rt.jar:1.8.0_181]


In Ansible log

writing disk: 
path=/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391
 size=196848
Traceback (most recent call last):
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 96, in 
write_disks(ova_path, disks_info.split('+'))
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 79, in write_disks
write_disk(ova_path, disk_path, disk_size)
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 59, in write_disk
fd = os.open(disk_path, os.O_RDONLY | os.O_DIRECT)
OSError: [Errno 13] Permission denied: 
'/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391'

I have my storage in NFS .

Note: Export to Domain works fine.
Thanks 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/75YC2O3RC3G5XZC57ANP7HSOAQYODZAU/


[ovirt-users] Unable to export vm as ova

2018-10-26 Thread sangeetha . rathinavel
When I try to export a vm to ova, get this below error in engine log

2018-10-26 12:11:36,657-04 ERROR 
[org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] 
(EE-ManagedThreadFactory-engineScheduled-Thread-37) [484d3716] EngineException: 
ENGINE (Failed with error ENGINE and code 5001): 
org.ovirt.engine.core.common.errors.EngineException: EngineException: ENGINE 
(Failed with error ENGINE and code 5001)
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.createOva(ExportOvaCommand.java:301)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.executeNextOperation(ExportOvaCommand.java:285)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.exportimport.ExportOvaCommand.performNextOperation(ExportOvaCommand.java:277)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback.childCommandsExecutionEnded(SerialChildCommandsExecutionCallback.java:32)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.ChildCommandsCallbackBase.doPolling(ChildCommandsCallbackBase.java:68)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethodsImpl(CommandCallbacksPoller.java:146)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller.invokeCallbackMethods(CommandCallbacksPoller.java:107)
 [bll.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[rt.jar:1.8.0_181]


In Ansible log

writing disk: 
path=/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391
 size=196848
Traceback (most recent call last):
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 96, in 
write_disks(ova_path, disks_info.split('+'))
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 79, in write_disks
write_disk(ova_path, disk_path, disk_size)
  File 
"/root/.ansible/tmp/ansible-tmp-1540570288.02-200413742597669/pack_ova.py", 
line 59, in write_disk
fd = os.open(disk_path, os.O_RDONLY | os.O_DIRECT)
OSError: [Errno 13] Permission denied: 
'/rhev/data-center/mnt/ca-ovmstor101:_export_sanrathi_brml11g04-oVirt-nfs-01/aec73d1f-ea3d-4228-a151-a41b20b6b67b/images/e1186fdb-3fc3-46ae-945c-dd19bb6d434c/d95c52e3-35d1-493e-ab2d-42577bdb0391'

I have my storage in NFS .

Note: Export to Domain works fine.
Thanks 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/OU6T4YMG32YW2OTKKNM7XAX2YHO6Q7PE/


[ovirt-users] Re: Ovirt - Bonded NICs - using as tagged and untagged at the same time

2018-10-26 Thread pslawrence
Correct. On the host i have 1 management interface (ovirtmngmt) and 1 bonded 
pair of 10GB interfaces (bond0)

Under Networks I have created the following networks.
VLAN70 - Tagged with 70
20GBBond - no tagging

In the host I added both VLAN70 and 20GBBond via the Setup Network. I dragged 
the two networks interfaces and dropped on the bond0 nics.

I created two VMs and assigned interfaces.
Test1 - Attached VLAN70
I ping 10.0.70.1 (the gateway) and it works.

Test2 - Attached 20GBBond and create a eth1.70 interface in the OS.
I can not ping 10.0.70.1, since VLAN70 is attached to Test1.
If I stop Test1, remove the VLAN70 and delete the VLAN70 network I can then 
ping 10.0.70.1 from the eth1.70 interface on Test2.
However, both can not exist at the same time.
___
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/RUXROJVCPYWH37EGY22OMPLF5RQJ6SFL/


[ovirt-users] Re: No network adapter in fresh pool

2018-10-26 Thread Администраторы
Hi again!
I found where I did mistake. So, I created custom instance type for vms, and 
there is no vNic. This strange, because there is no vNic available at all in 
instance. Should I create in some special way?

https://prnt.sc/lar8ph
https://prnt.sc/lar9dt

-Original Message-
From: Luca 'remix_tj' Lorenzetto [mailto:lorenzetto.l...@gmail.com] 
Sent: Friday, October 26, 2018 11:00 AM
To: Администраторы 
Cc: users 
Subject: Re: [ovirt-users] No network adapter in fresh pool

Hello,

the template seems good. How is the pool configured?
On Thu, Oct 25, 2018 at 5:13 PM Администраторы  wrote:
>
> Hello Luca,
> But there is an interface, as well as in a virtual machine that was a 
> template
> http://prntscr.com/ladwp9
> But after creating pool, no nic gonna been added, I tried to add it manually, 
> but its remove after reboot.
>
> http://prntscr.com/ladyod
>
> -Original Message-
> From: Luca 'remix_tj' Lorenzetto [mailto:lorenzetto.l...@gmail.com]
> Sent: Thursday, October 25, 2018 12:02 PM
> To: Администраторы 
> Cc: users 
> Subject: Re: [ovirt-users] No network adapter in fresh pool
>
> Hello Roman,
>
> as far as i know is because your template you're using in the pool 
> configuration is missing of network connections.
>
> Luca
> On Thu, Oct 25, 2018 at 10:52 AM Roman Last  wrote:
> >
> > Hi there!
> > I noticed, that at creating vm pool there is no section about vNIC on new 
> > vms, So all new fresh vms create without network intefaces, Is it normal 
> > behavior?
> >
> > Cheers!
> > ___
> > 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/PW5GMW
> > XH
> > OCVQYNSY4XR5YUMF6KTNHSP6/
>
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli 
> che potrebbero essere affidati a chiunque se si usassero delle macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
> 



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

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

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list -- users@ovirt.org
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/2JL6WLII4M24DBSZRKURMINUZO6TG4C7/


[ovirt-users] Re: Ovirt - Bonded NICs - using as tagged and untagged at the same time

2018-10-26 Thread Petr Horacek
Just to make it clear, by "make an interface" you mean you created new
logical VM networks, one without VLAN set, the rest with VLAN? You should
attach those networks to your bonding in Setup Networks dialog. Then you
should be able to connect VMs to any of these networks. On untagged VM NIC
you can create whatever VLAN interface you want.

What do you mean you can no longer use it. You are trying to ping from VM1
(connected to VLAN network) to VM2 (connected to untagged network, but with
VLAN interface inside VM)?

2018-10-25 22:17 GMT+02:00 :

> Hello,
>
> I have searched and have not found an answer with respects to Ovirt and
> VLAN tagging. I'm hoping someone will be able to assist.
>
> I am using two 10GB interfaces bonded 802.3ad for our second interface. I
> have created several interfaces that are tagged with specific VLANs and 1
> interface called 20GBBond that is untagged.
>
> The issue we are experiencing is when I assign a vlan to an interface I
> can no longer assign it to the 20GBBond on a VM.
>
> For example, ETH1 is tagged with VLAN70 is tagged and assigned to VM1.
> 20GBBond untagged interface is assigned to VM2 and within the VM i create
> the tagged sub interface eth1.70.
> Once I create the single ETH1 VLAN70 interface on VM1, I can no longer use
> the sub interface eth1.70 created on VM2.
>
> Is there a way to get around this if it is a limitation.
> ___
> 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/O23ICVSO5SHTK5PX6ZFB7XB3ROWJOHAL/
>
___
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/WTUL6DD4YCA3CQFAVJMTYPGQ6MRU7VGV/


[ovirt-users] Re: Engine restore failing

2018-10-26 Thread Simone Tiraboschi
Adding also Didi on this.
Brett, are you using the latest ovirt-engine-appliance?

On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett 
wrote:

> Hi Simone,
>
>   I'm seeing the same error with new hosted-engine0setup RPM...
> ...
> [ ERROR ] fatal: [ovirt.gh.ltresources.co.uk]: FAILED! => {"changed":
> true, "cmd": "engine-backup --mode=restore
> --log=/var/log/ovirt-engine/setup/restore-backup-$(date -u
> +%Y%m%d%H%M%S).log --file=/root/engine_backup --provision-all-databases
> --restore-permissions", "delta": "0:00:12.219742", "end": "2018-10-26
> 12:28:20.127547", "msg": "non-zero return code", "rc": 1, "start":
> "2018-10-26 12:28:07.907805", "stderr": "FATAL: Failed checking
> DbJustRestored", "stderr_lines": ["FATAL: Failed checking DbJustRestored"],
> "stdout": "Preparing to restore:\n- Unpacking file
> '/root/engine_backup'\nRestoring:\n- Files\nProvisioning PostgreSQL
> users/databases:\n- user 'engine', database 'engine'\n- user
> 'ovirt_engine_history', database 'ovirt_engine_history'\nRestoring:\n-
> Engine database 'engine'\n  - Cleaning up temporary tables in engine
> database 'engine'", "stdout_lines": ["Preparing to restore:", "- Unpacking
> file '/root/engine_backup'", "Restoring:", "- Files", "Provisioning
> PostgreSQL users/databases:", "- user 'engine', database 'engine'", "- user
> 'ovirt_engine_history', database 'ovirt_engine_history'", "Restoring:", "-
> Engine database 'engine'", "  - Cleaning up temporary tables in engine
> database 'engine'"]}
> ...
>
> On Fri, 26 Oct 2018 at 09:19, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 
>> wrote:
>>
>>> Hi Simone,
>>>
>>>   Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of the
>>> 4.2.6 installation on the node I'm using to redeploy SHE, or should I bump
>>> everything to the 4.2.7 pre-release ?
>>>
>>
>> You can simply update ovirt-hosted-engine-setup rpm
>>
>>
>>>
>>> Regards,
>>> Brett
>>>
>>> On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi 
>>> wrote:
>>>


 On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
 wrote:

> oVirt: 4.2.6.2-1
>
> I'm Moving hosted engine from one storage domain to another by backing
> up and restoring the engine.
>
> New VM provisioned in new storage domain, I get as far as trying to
> restore the backup:
>
> but am getting this DbJustRestored Error:
>

 Hi,
 you probably hit:
 https://bugzilla.redhat.com/show_bug.cgi?id=1620314

 That feature has been reworked for 4.2.7: with next release you will be
 able to run
   hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
 that will automatically inject your backup file.

 If you want to have a preview of that feature you can try with

 https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm



> engine-backup --mode=restore --file=engine.backup
> --log=engine-restore.log --provision-db --provision-dwh-db
> --restore-permissions
> Preparing to restore:
> - Unpacking file 'engine.backup'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> - user 'ovirt_engine_history', database 'ovirt_engine_history'
> Restoring:
> - Engine database 'engine'
>   - Cleaning up temporary tables in engine database 'engine'
> FATAL: Failed checking DbJustRestored
>
> restore log attached, any suggestions ?
> ___
> 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/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>

___
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/UCCVMVJTRPDT65JSSXV6YJWUTJE2HRAG/


[ovirt-users] Re: Engine restore failing

2018-10-26 Thread Maton, Brett
Hi Simone,

  I'm seeing the same error with new hosted-engine0setup RPM...
...
[ ERROR ] fatal: [ovirt.gh.ltresources.co.uk]: FAILED! => {"changed": true,
"cmd": "engine-backup --mode=restore
--log=/var/log/ovirt-engine/setup/restore-backup-$(date -u
+%Y%m%d%H%M%S).log --file=/root/engine_backup --provision-all-databases
--restore-permissions", "delta": "0:00:12.219742", "end": "2018-10-26
12:28:20.127547", "msg": "non-zero return code", "rc": 1, "start":
"2018-10-26 12:28:07.907805", "stderr": "FATAL: Failed checking
DbJustRestored", "stderr_lines": ["FATAL: Failed checking DbJustRestored"],
"stdout": "Preparing to restore:\n- Unpacking file
'/root/engine_backup'\nRestoring:\n- Files\nProvisioning PostgreSQL
users/databases:\n- user 'engine', database 'engine'\n- user
'ovirt_engine_history', database 'ovirt_engine_history'\nRestoring:\n-
Engine database 'engine'\n  - Cleaning up temporary tables in engine
database 'engine'", "stdout_lines": ["Preparing to restore:", "- Unpacking
file '/root/engine_backup'", "Restoring:", "- Files", "Provisioning
PostgreSQL users/databases:", "- user 'engine', database 'engine'", "- user
'ovirt_engine_history', database 'ovirt_engine_history'", "Restoring:", "-
Engine database 'engine'", "  - Cleaning up temporary tables in engine
database 'engine'"]}
...

On Fri, 26 Oct 2018 at 09:19, Simone Tiraboschi  wrote:

>
>
> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 
> wrote:
>
>> Hi Simone,
>>
>>   Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of the
>> 4.2.6 installation on the node I'm using to redeploy SHE, or should I bump
>> everything to the 4.2.7 pre-release ?
>>
>
> You can simply update ovirt-hosted-engine-setup rpm
>
>
>>
>> Regards,
>> Brett
>>
>> On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi 
>> wrote:
>>
>>>
>>>
>>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
>>> wrote:
>>>
 oVirt: 4.2.6.2-1

 I'm Moving hosted engine from one storage domain to another by backing
 up and restoring the engine.

 New VM provisioned in new storage domain, I get as far as trying to
 restore the backup:

 but am getting this DbJustRestored Error:

>>>
>>> Hi,
>>> you probably hit:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1620314
>>>
>>> That feature has been reworked for 4.2.7: with next release you will be
>>> able to run
>>>   hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
>>> that will automatically inject your backup file.
>>>
>>> If you want to have a preview of that feature you can try with
>>>
>>> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm
>>>
>>>
>>>
 engine-backup --mode=restore --file=engine.backup
 --log=engine-restore.log --provision-db --provision-dwh-db
 --restore-permissions
 Preparing to restore:
 - Unpacking file 'engine.backup'
 Restoring:
 - Files
 Provisioning PostgreSQL users/databases:
 - user 'engine', database 'engine'
 - user 'ovirt_engine_history', database 'ovirt_engine_history'
 Restoring:
 - Engine database 'engine'
   - Cleaning up temporary tables in engine database 'engine'
 FATAL: Failed checking DbJustRestored

 restore log attached, any suggestions ?
 ___
 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/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/

>>>
___
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/RETYBZH3W5AKYZBTDRAJ7FHQTL7XMGOJ/


[ovirt-users] [ANN] oVirt 4.2.7 Fifth Release Candidate is now available

2018-10-26 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the oVirt
4.2.7 Fifth Release Candidate, as of October 26th, 2018.

This update is a release candidate of the seventh in a series of
stabilization updates to the 4.2
series.
This is pre-release software. This pre-release should not to be used in
production.

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

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

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

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]
- oVirt Tools Setup ISO is available[2]

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

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

-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


___
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/4ZTHZZIAVHQRQ3VIZOMAO673YDKKKVWX/


[ovirt-users] Re: Engine restore failing

2018-10-26 Thread Simone Tiraboschi
On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 
wrote:

> Hi Simone,
>
>   Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of the
> 4.2.6 installation on the node I'm using to redeploy SHE, or should I bump
> everything to the 4.2.7 pre-release ?
>

You can simply update ovirt-hosted-engine-setup rpm


>
> Regards,
> Brett
>
> On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
>> wrote:
>>
>>> oVirt: 4.2.6.2-1
>>>
>>> I'm Moving hosted engine from one storage domain to another by backing
>>> up and restoring the engine.
>>>
>>> New VM provisioned in new storage domain, I get as far as trying to
>>> restore the backup:
>>>
>>> but am getting this DbJustRestored Error:
>>>
>>
>> Hi,
>> you probably hit:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1620314
>>
>> That feature has been reworked for 4.2.7: with next release you will be
>> able to run
>>   hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
>> that will automatically inject your backup file.
>>
>> If you want to have a preview of that feature you can try with
>>
>> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm
>>
>>
>>
>>> engine-backup --mode=restore --file=engine.backup
>>> --log=engine-restore.log --provision-db --provision-dwh-db
>>> --restore-permissions
>>> Preparing to restore:
>>> - Unpacking file 'engine.backup'
>>> Restoring:
>>> - Files
>>> Provisioning PostgreSQL users/databases:
>>> - user 'engine', database 'engine'
>>> - user 'ovirt_engine_history', database 'ovirt_engine_history'
>>> Restoring:
>>> - Engine database 'engine'
>>>   - Cleaning up temporary tables in engine database 'engine'
>>> FATAL: Failed checking DbJustRestored
>>>
>>> restore log attached, any suggestions ?
>>> ___
>>> 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/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>>>
>>
___
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/6C5OQNLNVU2ZHCZ2PPJ6263Y526J6C2L/


[ovirt-users] Re: No network adapter in fresh pool

2018-10-26 Thread Luca 'remix_tj' Lorenzetto
Hello,

the template seems good. How is the pool configured?
On Thu, Oct 25, 2018 at 5:13 PM Администраторы  wrote:
>
> Hello Luca,
> But there is an interface, as well as in a virtual machine that was a template
> http://prntscr.com/ladwp9
> But after creating pool, no nic gonna been added, I tried to add it manually, 
> but its remove after reboot.
>
> http://prntscr.com/ladyod
>
> -Original Message-
> From: Luca 'remix_tj' Lorenzetto [mailto:lorenzetto.l...@gmail.com]
> Sent: Thursday, October 25, 2018 12:02 PM
> To: Администраторы 
> Cc: users 
> Subject: Re: [ovirt-users] No network adapter in fresh pool
>
> Hello Roman,
>
> as far as i know is because your template you're using in the pool 
> configuration is missing of network connections.
>
> Luca
> On Thu, Oct 25, 2018 at 10:52 AM Roman Last  wrote:
> >
> > Hi there!
> > I noticed, that at creating vm pool there is no section about vNIC on new 
> > vms, So all new fresh vms create without network intefaces, Is it normal 
> > behavior?
> >
> > Cheers!
> > ___
> > 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/PW5GMWXH
> > OCVQYNSY4XR5YUMF6KTNHSP6/
>
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli 
> che potrebbero essere affidati a chiunque se si usassero delle macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
> 



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

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

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list -- users@ovirt.org
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/QVDV3V7B23LZFFNB2UW5HKNCWTZWKZBT/


[ovirt-users] Re: Engine restore failing

2018-10-26 Thread Maton, Brett
Hi Simone,

  Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of the
4.2.6 installation on the node I'm using to redeploy SHE, or should I bump
everything to the 4.2.7 pre-release ?

Regards,
Brett

On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi  wrote:

>
>
> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
> wrote:
>
>> oVirt: 4.2.6.2-1
>>
>> I'm Moving hosted engine from one storage domain to another by backing up
>> and restoring the engine.
>>
>> New VM provisioned in new storage domain, I get as far as trying to
>> restore the backup:
>>
>> but am getting this DbJustRestored Error:
>>
>
> Hi,
> you probably hit:
> https://bugzilla.redhat.com/show_bug.cgi?id=1620314
>
> That feature has been reworked for 4.2.7: with next release you will be
> able to run
>   hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
> that will automatically inject your backup file.
>
> If you want to have a preview of that feature you can try with
>
> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm
>
>
>
>> engine-backup --mode=restore --file=engine.backup
>> --log=engine-restore.log --provision-db --provision-dwh-db
>> --restore-permissions
>> Preparing to restore:
>> - Unpacking file 'engine.backup'
>> Restoring:
>> - Files
>> Provisioning PostgreSQL users/databases:
>> - user 'engine', database 'engine'
>> - user 'ovirt_engine_history', database 'ovirt_engine_history'
>> Restoring:
>> - Engine database 'engine'
>>   - Cleaning up temporary tables in engine database 'engine'
>> FATAL: Failed checking DbJustRestored
>>
>> restore log attached, any suggestions ?
>> ___
>> 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/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>>
>
___
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/7QIPAX45FPT6LAWEVQKHWLQPECZO2M5W/


[ovirt-users] Re: Diary of hosted engine install woes

2018-10-26 Thread Simone Tiraboschi
On Thu, Oct 25, 2018 at 4:29 PM Brendan Holmes  wrote:

> “The issue here is that it seams that your VM never got an address from
> libvirt default network DHCP” – but aren’t I obviating DHCP by using
> parameter:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24
>
> ?  VM should receive a static IP instead.
>
>
>
> Perhaps there is a bug in hosted-engine setup that forces it to require
> DHCP.
>

No, this is expected.
The deploy process will launch a bootstrap local VM that will get a
temporary address via DHCP over libvirt default natted network.
The engine running on that VM will be used to configure the environment and
create a VM on the shared storage.
Only at the end, the local VM will be shutdown and its disk moved over the
disk of the VM created by the engine on the shared storage.

In your case it seams that the bootstrap VMs for some reasons fails to get
an address from DHCP over libvirt default natted network.
I'd suggest to try connecting to that VM via VNC to see what's going on
there.

If you have no more suggestions, I will buy a new router with different
> DHCP server.
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Brendan Holmes 
> *Sent:* 24 October 2018 16:48
> *To:* 'Simone Tiraboschi' 
> *Cc:* 'users' 
> *Subject:* RE: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
> Hi Simone,
>
>
>
> [root@host ~]# virsh -r net-dhcp-leases default
>
> Expiry Time  MAC addressProtocol  IP
> addressHostnameClient ID or DUID
>
>
> ---
>
>
>
> [root@host ~]#
>
>
>
> No, node is running on bare-metal.  Node was installed by plugging in a
> bootable USB.
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 24 October 2018 16:11
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
>
>
> On Wed, Oct 24, 2018 at 4:56 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> My attempt to install the RPM output hundreds of lines similar to:
>
> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/__init__.pyc
> from install of ovirt-hosted-engine-setup-2.2.29-1.el7.noarch conflicts
> with file from package ovirt-hosted-engine-setup-2.2.26-1.el7.noarch
>
>
>
> Do I need to install the matching version of ovirt node?
>
>
>
> “using it interactively without manually filing an answerfile” – if you
> mean using command: hosted-engine –deploy
>
> and then manually typing each value, I tried this (choosing the static IP
> option) and the usual error occurs.  I attach the log from this attempt.
>
>
>
> The issue here is that it seams that your VM never got an address from
> libvirt default network DHCP:
>
> 2018-10-24 15:36:14,370+0100 DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:94 local_vm_ip: {'stderr_lines': [],
> u'changed': True, u'end': u'2018-10-24 15:36:13.196641', u'stdout': u'',
> u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:3d:13:d8 |
> awk '{ print $5 }' | cut -f1 -d'/'", 'failed': False, u'delta':
> u'0:00:00.054641', u'stderr': u'', u'rc': 0, 'stdout_lines': [], u'start':
> u'2018-10-24 15:36:13.142000'}
>
>
>
> Can you please share the output of
>
>   virsh -r net-dhcp-leases default
>
>
>
> Are you running nested on a different hypervisor?
>
>
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 24 October 2018 08:44
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
> Can you please retry installing
> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/157/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.29-1.el7.noarch.rpm
> and using it interactively without manually filing an answerfile?
>
> On Tue, Oct 23, 2018 at 11:19 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> I attempted to use a fixed IP address instead of DHCP.  I attach an
> attempt using answer-file parameter:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24
>
> which is in accordance with this example on your website:
>
>
> https://ovirt.org/develop/release-management/features/integration/heapplianceflow/
>
>
>
> However, instead of this, you will notice that the log has:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=bool:'False'
>
>
>
> The same error as usual occurred.  Is this:
>
>1. The wrong syntax\format for specifying a “cloudinitVMStaticCIDR” IP?
>2. ovirt setup is ignoring it: either failing to assign the IP to the
>engine VM or to variable “local_vm_ip.stdout_lines”?
>3. Something else?
>
>
>
> “You can also connect to that VM with VNC to check what's going on.” –
> Doesn’t work.  Port querying 10.0.0.109 on 5800\5900 fails, so I don’t
> think the VM is networked.  Which port does engine VNC use?
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 

[ovirt-users] Re: Engine restore failing

2018-10-26 Thread Simone Tiraboschi
On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
wrote:

> oVirt: 4.2.6.2-1
>
> I'm Moving hosted engine from one storage domain to another by backing up
> and restoring the engine.
>
> New VM provisioned in new storage domain, I get as far as trying to
> restore the backup:
>
> but am getting this DbJustRestored Error:
>

Hi,
you probably hit:
https://bugzilla.redhat.com/show_bug.cgi?id=1620314

That feature has been reworked for 4.2.7: with next release you will be
able to run
  hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
that will automatically inject your backup file.

If you want to have a preview of that feature you can try with
https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm



> engine-backup --mode=restore --file=engine.backup --log=engine-restore.log
> --provision-db --provision-dwh-db --restore-permissions
> Preparing to restore:
> - Unpacking file 'engine.backup'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> - user 'ovirt_engine_history', database 'ovirt_engine_history'
> Restoring:
> - Engine database 'engine'
>   - Cleaning up temporary tables in engine database 'engine'
> FATAL: Failed checking DbJustRestored
>
> restore log attached, any suggestions ?
> ___
> 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/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>
___
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/GBCZEALRUHVDSSMNG43ESNX35AGSS4UO/


[ovirt-users] Engine restore failing

2018-10-26 Thread Maton, Brett
oVirt: 4.2.6.2-1

I'm Moving hosted engine from one storage domain to another by backing up
and restoring the engine.

New VM provisioned in new storage domain, I get as far as trying to restore
the backup:

but am getting this DbJustRestored Error:

engine-backup --mode=restore --file=engine.backup --log=engine-restore.log
--provision-db --provision-dwh-db --restore-permissions
Preparing to restore:
- Unpacking file 'engine.backup'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
- user 'ovirt_engine_history', database 'ovirt_engine_history'
Restoring:
- Engine database 'engine'
  - Cleaning up temporary tables in engine database 'engine'
FATAL: Failed checking DbJustRestored

restore log attached, any suggestions ?


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


[ovirt-users] Re: Force VM delete API

2018-10-26 Thread Hari Prasanth Loganathan
Hi Benny,

As per the doc, I did the following, Is this the correct way to unlock the
VM ?

cd /usr/share/ovirt-engine/setup/dbutils
./unlock_entity.sh -t vm c002bf24-bd34-4954-83ce-03619d7438fd
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', 'c002bf24-bd34-4954-83ce-03619d7438fd',
false);


INSERT 0 1
unlock vm c002bf24-bd34-4954-83ce-03619d7438fd completed successfully.
[root@qcvm dbutils]# ./unlock_entity.sh -t vm
c002bf24-bd34-4954-83ce-03619d7438fd
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', 'c002bf24-bd34-4954-83ce-03619d7438fd',
false);


INSERT 0 1
unlock vm c002bf24-bd34-4954-83ce-03619d7438fd completed successfully.




But now when I try to delete the VM using ovirt rest API, I face the
following issue,




*{"detail": "[Cannot remove VM: VM is locked. Please try again in a few
minutes.]","reason": "Operation Failed"}*

NOTE : I used the force way to bring down


true


Could you let me know the reason for the issue?


On Fri, Oct 26, 2018 at 9:27 AM Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:

> Thank you so much Benny,
>
> I see a way to use the unlock_entity.sh, Could you provide the right
> method to remove the virtual machine which is there in some locked state?
>
> ./unlock_entity.sh -u "${ENGINE_DB_USER}" -d "${ENGINE_DB_DATABASE}" -t all
>
>
> On Thu, Oct 25, 2018 at 4:16 PM Benny Zlotnik  wrote:
>
>> You can use /us/share/ovirt-engine/setup/dbutils/unlock_entity.sh to
>> unlock it first, before removing
>> On Thu, Oct 25, 2018 at 1:40 PM Hari Prasanth Loganathan <
>> hariprasant...@msystechnologies.com> wrote:
>>
>>> Hi Team,
>>>
>>> Any update on this ?
>>>
>>> On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth Loganathan <
>>> hariprasant...@msystechnologies.com> wrote:
>>>
 I see an API in this doc for FORCE delete :
 https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions

 DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1
 Accept: application/xml
 Content-type: application/xml

 
 true
 

 I tried apply the same, but it doesn't seem to be working, I get the 
 following error message

 {
 "detail": "[Cannot remove VM. Template is being created from this 
 VM.]",
 "reason": "Operation Failed"
 }

 But it's status is there in IMAGE_LOCKED state so I need to delete it.


 Thanks,
 Hari

 On Tue, Oct 23, 2018 at 8:29 PM Hari Prasanth Loganathan <
 hariprasant...@msystechnologies.com> wrote:

> Hi Team,
>
> I have a VM which is moved to Image locked state in ovirt, I am not
> able to remove this VM from ovirt,
>
> So Is there a way to perform force delete of VM using ovirt API?
>
> Thanks,
> Hari
>

>>> DISCLAIMER - *MSysTechnologies LLC*
>>>
>>> This email message, contents and its attachments may contain
>>> confidential, proprietary or legally privileged information and is intended
>>> solely for the use of the individual or entity to whom it is actually
>>> intended. If you have erroneously received this message, please permanently
>>> delete it immediately and notify the sender. If you are not the intended
>>> recipient of the email message,you are notified strictly not to
>>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>>> guaranteed to be secure or error-free as Information could be intercepted,
>>> corrupted, lost, destroyed, incomplete or contain viruses and
>>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>>> this mail or for any damage caused by the limitations of the e-mail
>>> transmission.
>>>
>>> ___
>>> 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/3ES6M3SCBP7HLSNRYMI2GGKF3O2J7JWO/
>>>
>>

-- 


DISCLAIMER - *MSysTechnologies LLC* 



This email message, contents and 
its attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is actually intended. If you have erroneously received this 
message, please permanently delete it immediately and notify the sender. If 
you are not the intended recipient of the email message,you are notified 
strictly not to disseminate,distribute