[ovirt-users] Re: Get Disk used size

2019-04-10 Thread Eyal Shenitzky
Sure,

You can navigate using the REST-API to the relevant disk, for e.g:

http:///ovirt-engine/api/disks/

You have there 3 relevant disk attribute:
 - actual_size - used / allocated size
 - provisioned_size - virtual size
 - total_size - used / allocated size + snapshots size


On Wed, Apr 10, 2019 at 3:04 PM  wrote:

> Hi
> Can i have way to  know the  allocated/used  size of the VM disk , without
> install any agent on the VM ?
> ___
> 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/IAQPQLKHNZ5QSNZS7MTB23GK4IQMFCLJ/
>


-- 
Regards,
Eyal Shenitzky
___
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/DEJRX3ISF4MCWGJHMNILAK2KXMVN5IOL/


[ovirt-users] Re: Disk Locked

2019-04-10 Thread Sahina Bose
On Wed, Apr 3, 2019 at 5:33 PM Николаев Алексей
 wrote:
>
> Hi comminuty!
>
> I have issue like this https://bugzilla.redhat.com/show_bug.cgi?id=1506373 on 
> ovirt-engine 4.2.8.2-1.el7.
>
> Description of problem:
> VM disk left in LOCKED state when added.
>
> Version-Release number of selected component (if applicable):
>
> ovirt-engine 4.2.8.2-1.el7
> glusterfs 3.12.15
>
> How reproducible:
>
>
> Steps to Reproduce:
> 1.  Create a VM
> 2.  Add disks on Gluster Data Domain size of 4 TB.

Are the disks pre-allocated? What's the shard size property on the
gluster volume?

Any errors in vdsm log?

> 3.
>
> Actual results:
>
> VM disks are in LOCKED state and task never finished
>
> Expected results:
>
> VM disks shouldn't be in LOCKED state.
>
> Additional info:
>
> Stuck Task was found by
> /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select * from job;"
>
> and deleted by
> /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select 
> DeleteJob('0ad3ead5-8b99-404f-a671-069dfbbdbcb7');"
>
> But now disk in LOCKED state and can't be unlocked. How I can fix it?
> Thx.
>
> ___
> 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/5H7B5BHEUD3YOZ6J23LZLL4Q7RQ4X6JN/
___
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/TZMDG4GVTDFVVK2LGMVMN7F7BCL7DPPY/


[ovirt-users] Re: change self-hosted engine storage domain

2019-04-10 Thread Sahina Bose
On Wed, Apr 10, 2019 at 8:51 PM  wrote:
>
> Is it possible to change a self-hosted engine's storage domain's settings?
>
> I setup a 3-node ovirt + gluster cluster with a dedicated 'engine' storage 
> domain. I can see through the administration portal that the engine storage 
> domain is using a single gluster host and no backup volfile servers. The 
> single gluster host that the engine storage domain settings refer to had to 
> be removed, so now I'm getting issues where VDSM is reporting that it cannot 
> get the volume file information for the engine storage domain.
> I'm not sure how to go about changing the settings since the only way I've 
> seen how to do this is through the administration portal, which relies on the 
> engine VM (and its storage) being available.
>
> What I'd like to do is change the storage domain's path and add mount options 
> for the backup volfile servers.

You can use -

 hosted-engine --set-shared-config storage :/engine

hosted-engine --set-shared-config mnt_options
backup-volfile-servers=:

> ___
> 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/3NCQ5F7QDNSBQAJV7OEABKZTBI62KADM/
___
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/JK4ZPDCQX7DUG3QITSY7KIYN7EW7ZNOB/


[ovirt-users] Install of oVirt.hosted-engine-setup from galaxy fails

2019-04-10 Thread Vrgotic, Marko
Dear oVirt team,

Install of role oVirt.hosted-engine-setup from Galaxy repo fails:
- downloading role 'hosted-engine-setup', owned by oVirt
[WARNING]: - oVirt.hosted-engine-setup was NOT installed successfully: - sorry, 
oVirt.hosted-engine-setup was not found on https://galaxy.ansible.com.

Apparently it fails due to name of the repo in the Galaxy which is with “_” 
instead of expected “-” .

Marko Vrgotic
___
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/UDLG5Q3U73VNVL6V5YJ3ZUZGOSBB2PKY/


[ovirt-users] Re: Get Disk used size

2019-04-10 Thread Strahil
What type of storage is being used.
If it's file based (NFS,Cluster , other POSIX compliant) you can use qemu-img 
info to check virtual and actual size of the disk.
Still ,this method can be inaccurate.

Best Regards,
Strahil NikolovOn Apr 10, 2019 15:02, mustafa.taha.m...@gmail.com wrote:
>
> Hi 
> Can i have way to  know the  allocated/used  size of the VM disk , without 
> install any agent on the VM ? 
> ___
> 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/IAQPQLKHNZ5QSNZS7MTB23GK4IQMFCLJ/
___
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/EU7UTVSXD4CY6BJYCMYALHUEFNRXKTHO/


[ovirt-users] change self-hosted engine storage domain

2019-04-10 Thread jason . cox
Is it possible to change a self-hosted engine's storage domain's settings?

I setup a 3-node ovirt + gluster cluster with a dedicated 'engine' storage 
domain. I can see through the administration portal that the engine storage 
domain is using a single gluster host and no backup volfile servers. The single 
gluster host that the engine storage domain settings refer to had to be 
removed, so now I'm getting issues where VDSM is reporting that it cannot get 
the volume file information for the engine storage domain.
I'm not sure how to go about changing the settings since the only way I've seen 
how to do this is through the administration portal, which relies on the engine 
VM (and its storage) being available.

What I'd like to do is change the storage domain's path and add mount options 
for the backup volfile servers.
___
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/3NCQ5F7QDNSBQAJV7OEABKZTBI62KADM/


[ovirt-users] Re: Different credentials ovirt_vm module

2019-04-10 Thread Ondra Machacek

Hello,

this seems ok to me. Can you please check the engine.log, for some error?

On 09/04/2019 22:26, Florian Rädler wrote:

Hi,

how can i use other credentials (run once) in the ansible playbook for 
Sysprep domain join?


My playbook:

User_name and root_password does not sound like it’s the right option.

How can I realize that?

BR

Florian




Pflichtangaben anzeigen 



Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie 
hier: http://www.deutschebahn.com/de/konzern/datenschutz


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


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


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
Hi Milan

Nothing special. We did the upgrade on two clusters. One is fine and this one 
is broken. Is there a way to rescan the cluster with all its VM's to pull 
information

I did notice also that there is no NIC showing under the VM's network. When you 
trying to add one it complains that it exists but it is not showing.

Thanks

Nardus
___
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/PDCCB5C2YXSEBXDFJNFD6EKUVJATXUOT/


[ovirt-users] Re: Second host fail to activate (hosted-engine)

2019-04-10 Thread Sahina Bose
On Wed, Apr 10, 2019 at 1:45 AM Ricardo Alonso  wrote:
>
> After installing the second host via the web gui (4.3.2.1-1.el7), it fails to 
> activate telling that wasn't possible to connect to the storage pool default 
> (glusterfs). Those are the logs:
>
> vdsm.log
>
> 2019-04-09 15:54:07,409-0400 INFO  (Reactor thread) 
> [ProtocolDetector.AcceptorImpl] Accepted connection from ::1:58130 
> (protocoldetector:61)
> 2019-04-09 15:54:07,419-0400 INFO  (Reactor thread) 
> [ProtocolDetector.Detector] Detected protocol stomp from ::1:58130 
> (protocoldetector:125)
> 2019-04-09 15:54:07,419-0400 INFO  (Reactor thread) [Broker.StompAdapter] 
> Processing CONNECT request (stompserver:95)
> 2019-04-09 15:54:07,420-0400 INFO  (JsonRpc (StompReactor)) 
> [Broker.StompAdapter] Subscribe command received (stompserver:124)
> 2019-04-09 15:54:07,461-0400 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC 
> call Host.ping2 succeeded in 0.00 seconds (__init__:312)
> 2019-04-09 15:54:07,466-0400 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC 
> call Host.ping2 succeeded in 0.00 seconds (__init__:312)
> 2019-04-09 15:54:07,469-0400 INFO  (jsonrpc/0) [vdsm.api] START 
> getStorageDomainInfo(sdUUID=u'd99fb087-66d5-4adf-9c0c-80e60de17917', 
> options=None) from=::1,58130, task_id=00c843c2-ab43-4813-9ded-29f6742c33b2 
> (api:48)
> 2019-04-09 15:54:07,484-0400 INFO  (jsonrpc/0) [vdsm.api] FINISH 
> getStorageDomainInfo error='VERSION' from=::1,58130, 
> task_id=00c843c2-ab43-4813-9ded-29f6742c33b2 (api:52)
> 2019-04-09 15:54:07,484-0400 ERROR (jsonrpc/0) [storage.TaskManager.Task] 
> (Task='00c843c2-ab43-4813-9ded-29f6742c33b2') 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 "", line 2, in getStorageDomainInfo
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in 
> method
> ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2741, in 
> getStorageDomainInfo
> dom = self.validateSdUUID(sdUUID)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 305, in 
> validateSdUUID
> sdDom = sdCache.produce(sdUUID=sdUUID)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 110, in 
> produce
> domain.getRealDomain()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 51, in 
> getRealDomain
> return self._cache._realProduce(self._sdUUID)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 134, in 
> _realProduce
> domain = self._findDomain(sdUUID)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 151, in 
> _findDomain
> return findMethod(sdUUID)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/glusterSD.py", line 56, 
> in findDomain
> return GlusterStorageDomain(GlusterStorageDomain.findDomainPath(sdUUID))
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/fileSD.py", line 394, 
> in __init__
> manifest = self.manifestClass(domainPath)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/fileSD.py", line 179, 
> in __init__
> sd.StorageDomainManifest.__init__(self, sdUUID, domaindir, metadata)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 332, in 
> __init__
> self._domainLock = self._makeDomainLock()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 553, in 
> _makeDomainLock
> domVersion = self.getVersion()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 424, in 
> getVersion
> return self.getMetaParam(DMDK_VERSION)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 421, in 
> getMetaParam
> return self._metadata[key]
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/persistent.py", line 
> 91, in __getitem__
> return dec(self._dict[key])
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/persistent.py", line 
> 202, in __getitem__
> return self._metadata[key]
> KeyError: 'VERSION'
> 2019-04-09 15:54:07,484-0400 INFO  (jsonrpc/0) [storage.TaskManager.Task] 
> (Task='00c843c2-ab43-4813-9ded-29f6742c33b2') aborting: Task is aborted: 
> u"'VERSION'" - code 100 (task:1181)
> 2019-04-09 15:54:07,484-0400 ERROR (jsonrpc/0) [storage.Dispatcher] FINISH 
> getStorageDomainInfo error='VERSION' (dispatcher:87)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/dispatcher.py", line 
> 74, in wrapper
> result = ctask.prepare(func, *args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 108, in 
> wrapper
> return m(self, *a, **kw)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 1189, in 
> prepare
> raise self.error
> KeyError: 'VERSION'
> 2019-04-09 15:54:07,484-0400 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC 
> call StorageDomain.getInfo failed (error 350) in 0.01 seconds (_

[ovirt-users] Get Disk used size

2019-04-10 Thread mustafa . taha . mu95
Hi 
Can i have way to  know the  allocated/used  size of the VM disk , without 
install any agent on the VM ? 
___
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/IAQPQLKHNZ5QSNZS7MTB23GK4IQMFCLJ/


[ovirt-users] Hosted-engine inaccessible

2019-04-10 Thread Tau Makgaile
Hi,

I am currently experiencing a problem with my Hosted-engine. Hosted-engine
disconnected after increasing / partition. The increase went well but after
some time the hosted-enigine VM disconnected and has since been giving
alerts such as* re-initializingFSM*.

Though VMs underneth are running, Hosted-engine --vm-status:


*"reason": "failed liveliness check", "health": "bad", "vm": "up", "detail"*

There is no backup to restore at the moment. I am looking for a way to
bring it up without redeploying the hosted engine.

Thanks in advance for your help.

Kind regards,
Tau
___
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/32U2DORMVIRF7FWHQ3HGAG67AXBWU2TI/


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Milan Zamazal
Nardus Geldenhuys  writes:

> attached is the engine.log

> Can't find any logs containing the VM name on the host it was supposed
> to start. Seems that it does not even get to the host and that it
> fails in the ovirt engine

Thank you for the info.  The problem looks completely unrelated to the
cited bug.

The VM fails to start already in Engine due to a NullPointerException
when putting network interfaces into the VM domain XML.  So it's
probably unrelated to storage as well.  Something probably broke during
the upgrade regarding network interfaces attached to the VM.

Is there anything special about your network interfaces or is there
anything suspicious about them in Engine when the VM fails to start?

> On Wed, 10 Apr 2019 at 10:39, Milan Zamazal  wrote:
>
>> nard...@gmail.com writes:
>>
>> > Wonder if this issue is related to our problem and if there is a way
>> > around it. We upgraded from 4.2.8. to 4.3.2. Now when we start some of
>> > the VM's fail to start. You need to deattach the disks, create new VM,
>> > reattach the disks to the new VM and then the new VM starts.
>>
>> Hi, were those VMs previously migrated from a 4.2.8 to a 4.3.2 host or
>> to a 4.3.[01] host (which have the given bug)?
>>
>> Would it be possible to provide Vdsm logs from some of the failed and
>> successful (with the new VM) starts with the same storage and also from
>> the destination host of the preceding migration of the VM to a 4.3 host
>> (if the VM was migrated)?
>>
>> Thanks,
>> Milan
___
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/YS7IUTJKLYEG3EHFGT64MMHNL7R5AI6L/


[ovirt-users] accessing ovirt-image-repository from behind proxy?

2019-04-10 Thread Jarosław Prokopowski
Hi,

Is there a way to connect to  ovirt-image-repository from ovirt-engine through 
proxy server?
I tried to set http_proxy in /etc/profile of the hosted-engine VM and restarted 
the VM but it does not help...

Errors I get while testing the connection:
2019-04-10 12:36:49,590+03 ERROR 
[org.ovirt.engine.core.bll.storage.repoimage.GetImagesListQuery] (default 
task-3) [58f90541-0212-4f1e-9b14-eafc9a8237b9] Failed to retrieve image list: 
Connec   tion timed out (Connection timed out)
...
2019-04-10 12:57:40,609+03 ERROR 
[org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default 
task-3) [3c3baa28-c1ac-4783-b362-44b21d7430b5] Command 
'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed: 
EngineException: (Failed with error PROVIDER_FAILURE and code 5050)


Thanks
Jarek
___
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/OGDD4FTTBQAXJRGEEEJURQIWQ3QZVJVD/


[ovirt-users] Re: Installing VM - Fedora installer stuck on "Setting up installation source..."

2019-04-10 Thread Jarosław Prokopowski
Unfortunately I do not know about the ovirt-image-repository. I haven't been 
able to make ovirt-image-repository working behind proxy server. Setting system 
wide proxy in ovirt-engine VM does not help :-(
___
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/JI5WPTCZZSRACFDT46DCGNGCDAXIZ3OX/


[ovirt-users] Re: Vagrant Plugin

2019-04-10 Thread Staniforth, Paul
Hello Jeremy,

you should have been contacted via your github issue.


The current version of SecGen is at https://github.com/cliffe/SecGen/


and in oVirt you need to create templates as there isn't an online repository 
like there is with VirtualBox.


Regards,

   Paul S.


From: Jeremy Tourville 
Sent: 30 March 2019 18:50
To: users@ovirt.org
Cc: Luca 'remix_tj' Lorenzetto
Subject: [ovirt-users] Re: Vagrant Plugin

Thanks for your reply Luca,
I confirmed the cluster name, it is "Default".  I even tried to run the script 
again and I made sure the D in default was upper case because linux is case 
sensitive.  It still fails in the same way as before.


[cid:c5758639-8ce0-46d1-ad0b-900af9cc138e]

From: Luca 'remix_tj' Lorenzetto 
Sent: Saturday, March 30, 2019 3:34 AM
To: Jeremy Tourville
Subject: Re: [ovirt-users] Vagrant Plugin




Il ven 29 mar 2019, 19:12 Jeremy Tourville 
mailto:jeremy_tourvi...@hotmail.com>> ha scritto:
I am having some trouble getting the Ovirt Vagrant plugin working.  I was able 
to get Vagrant installed and could even run the example scenario listed in the 
blog. 
https://www.ovirt.org/blog/2017/02/using-oVirt-vagrant.html

My real issue is getting a vm generated by the SecGen project 
https://github.com/SecGen/SecGen
  to come up.  If I use the VirtualBox provider everything works as expected 
and I can launch the vm with vagrant up.  If I try to run using Ovirt provider 
it fails.

I had originally posted this over in Google groups /  Vagrant forums and it was 
suggested to take it to Ovirt.  Hopefully, somebody here has some insights.

The process fails quickly with the following output.  Can anyone give some 
suggestions on how to fix the issue?  I have also included a copy of my 
vagrantfile below. Thanks in advance for your assistance!

***Output***

Bringing machine 'escalation' up with 'ovirt4' provider...
==> escalation: Creating VM with the following settings...
==> escalation:  -- Name:  SecGen-default-scenario-escalation
==> escalation:  -- Cluster:   default
==> escalation:  -- Template:  debian_stretch_server_291118
==> escalation:  -- Console Type:  spice
==> escalation:  -- Memory:
==> escalation:   Memory:  512 MB
==> escalation:   Maximum: 512 MB
==> escalation:   Guaranteed:  512 MB
==> escalation:  -- Cpu:
==> escalation:   Cores:   1
==> escalation:   Sockets: 1
==> escalation:   Threads: 1
==> escalation:  -- Cloud-Init:false
==> escalation: An error occured. Recovering..
==> escalation: VM is not created. Please run `vagrant up` first.
/home/secgenadmin/.vagrant.d/gems/2.4.4/gems/ovirt-engine-sdk-4.0.12/lib/ovirtsdk4/service.rb:52:in
 `raise_error': Fault reason is "Operation Failed". Fault detail is "Entity not 
found: Cluster: name=default". HTTP response code is 404.

Hello Jeremy,

Looks like you have no cluster called default in your setup. Edit your vagrant 
file accordingly to your setup.

Luca
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
___
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/CX3EDETELKCKXHU5PWQQ725TREBEOZAU/


[ovirt-users] Re: Import of VMs failing - 0% progress on qemu-img

2019-04-10 Thread Callum Smith
Creating a disk on the target share works fine. - This seems to specifically be 
an issue to do with moving a disk to/from a share.

Regards,
Callum

--

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

On 10 Apr 2019, at 09:53, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

gdb -p $(pidof qemu-img convert) -batch -ex "t a a bt"
289444: No such file or directory.

Regards,
Callum

--

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

On 10 Apr 2019, at 09:36, Benny Zlotnik 
mailto:bzlot...@redhat.com>> wrote:

Can you run:
$ gdb -p $(pidof qemu-img convert) -batch -ex "t a a bt"


On Wed, Apr 10, 2019 at 11:26 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

Further to this, I can't migrate a disk to different storage using the GUI. 
Both disks are configured identically and on the same physical NFS provider.

Regards,
Callum

--

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

On 9 Apr 2019, at 12:12, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

It would seem this is a bug in 4.3.? - As upgrading the old oVirt HE to 4.3 
(from 4.2.latest) now means that the export of VMs to export domain no longer 
works.

Again qemu-img convert is using some cpu, but no network. Progress is 0.

Regards,
Callum

--

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

On 8 Apr 2019, at 15:42, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

We've exported some VMs from our old oVirt infrastructure and want to import 
them into the new one, but qemu-img appears to be failing. We have mounted an 
export domain populated from the old oVirt in the new hosted engine and are 
using the GUI to import the VM. Manually running the command sits at 16% CPU, 
0% network usage and no progress. It appears to lock the NFS mount and ls and 
lsof both hang.

sudo -u vdsm /usr/bin/qemu-img convert -p -t none -T none -f raw  -O raw 

Conversely a simple cp will work (ruling out file permissions errors):
sudo -u vddm cp  

What might we be doing wrong?

Regards,
Callum

--

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

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


___
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/6EE6X43GTAJ6L4QBH2XQJ4LVPIXCZC3T/


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

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

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


[ovirt-users] Why the need to investigate egg-the-minister case?

2019-04-10 Thread 827403zvzsz
I would have hoped that the police had better judgment than to follow up on the 
report lodged against an online comment about throwing an egg at a minister and 
commencing investigation (Remark about throwing egg at minister a joke, says 
20-year-old, March 27).

Seen in context, it seems pretty clear that it was nothing more than a 
tongue-in-cheek remark. The police should have quickly determined that no 
offence was disclosed, and closed the case. https://www.nana1004.com

Mobilising scarce police resources to launch an investigation into something 
like this is not just a waste of money, but it also makes Singapore an 
international laughing stock.
___
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/KTCZPNCBMICVCCKJIZ3XHFYWJGZO4DAJ/


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
It seems that ovirt-engine thinks that the storage is attached to a running VM. 
But it is not. Is there away to refresh these stats ?
___
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/RAD6THJISCDZBQHIBCVBUHYACXRJB7LS/


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
Can't find any logs containing the VM name on the host it was supposed to 
start. Seems that it does not even get to the host and that it fails in the 
ovirt engine
___
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/TYTJ7SLSJTZH54AERIWEMYKUDM7PLW2F/


[ovirt-users] Re: Import of VMs failing - 0% progress on qemu-img

2019-04-10 Thread Callum Smith
gdb -p $(pidof qemu-img convert) -batch -ex "t a a bt"
289444: No such file or directory.

Regards,
Callum

--

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

On 10 Apr 2019, at 09:36, Benny Zlotnik 
mailto:bzlot...@redhat.com>> wrote:

Can you run:
$ gdb -p $(pidof qemu-img convert) -batch -ex "t a a bt"


On Wed, Apr 10, 2019 at 11:26 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

Further to this, I can't migrate a disk to different storage using the GUI. 
Both disks are configured identically and on the same physical NFS provider.

Regards,
Callum

--

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

On 9 Apr 2019, at 12:12, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

It would seem this is a bug in 4.3.? - As upgrading the old oVirt HE to 4.3 
(from 4.2.latest) now means that the export of VMs to export domain no longer 
works.

Again qemu-img convert is using some cpu, but no network. Progress is 0.

Regards,
Callum

--

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

On 8 Apr 2019, at 15:42, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

We've exported some VMs from our old oVirt infrastructure and want to import 
them into the new one, but qemu-img appears to be failing. We have mounted an 
export domain populated from the old oVirt in the new hosted engine and are 
using the GUI to import the VM. Manually running the command sits at 16% CPU, 
0% network usage and no progress. It appears to lock the NFS mount and ls and 
lsof both hang.

sudo -u vdsm /usr/bin/qemu-img convert -p -t none -T none -f raw  -O raw 

Conversely a simple cp will work (ruling out file permissions errors):
sudo -u vddm cp  

What might we be doing wrong?

Regards,
Callum

--

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

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


___
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/6EE6X43GTAJ6L4QBH2XQJ4LVPIXCZC3T/


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

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


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
Can a moderator delete this post please. Can't find the option to delete it. 
___
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/SOLZQMJPFU6G3QY3BVLCCYREB3O3F2QQ/


[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
attached is the engine.log

On Wed, 10 Apr 2019 at 10:39, Milan Zamazal  wrote:

> nard...@gmail.com writes:
>
> > Wonder if this issue is related to our problem and if there is a way
> > around it. We upgraded from 4.2.8. to 4.3.2. Now when we start some of
> > the VM's fail to start. You need to deattach the disks, create new VM,
> > reattach the disks to the new VM and then the new VM starts.
>
> Hi, were those VMs previously migrated from a 4.2.8 to a 4.3.2 host or
> to a 4.3.[01] host (which have the given bug)?
>
> Would it be possible to provide Vdsm logs from some of the failed and
> successful (with the new VM) starts with the same storage and also from
> the destination host of the preceding migration of the VM to a 4.3 host
> (if the VM was migrated)?
>
> Thanks,
> Milan
>
2019-04-10 10:09:46,786+02 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Lock Acquired to object 'EngineLock:{exclusiveLocks='[81a82c39-4786-46db-b719-2808f736e359=VM]', sharedLocks=''}'
2019-04-10 10:09:46,831+02 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='81a82c39-4786-46db-b719-2808f736e359'}), log id: 2cbbd903
2019-04-10 10:09:46,832+02 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 2cbbd903
2019-04-10 10:09:46,922+02 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Candidate host 's4-cluster-05.abc.co.za' ('e2e277d0-1fcb-4c39-8b43-f7931c18abf5') was filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: null)
2019-04-10 10:09:47,125+02 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Running command: RunVmCommand internal: false. Entities affected :  ID: 81a82c39-4786-46db-b719-2808f736e359 Type: VMAction group RUN_VM with role type USER
2019-04-10 10:09:47,196+02 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Candidate host 's4-cluster-05.abc.co.za' ('e2e277d0-1fcb-4c39-8b43-f7931c18abf5') was filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: bcc741ae-2fc3-4c21-8fcd-e5d69c48946b)
2019-04-10 10:09:47,366+02 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, UpdateVmDynamicDataVDSCommand( UpdateVmDynamicDataVDSCommandParameters:{hostId='null', vmId='81a82c39-4786-46db-b719-2808f736e359', vmDynamic='org.ovirt.engine.core.common.businessentities.VmDynamic@7b441365'}), log id: 1387e426
2019-04-10 10:09:47,394+02 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, UpdateVmDynamicDataVDSCommand, return: , log id: 1387e426
2019-04-10 10:09:47,397+02 INFO  [org.ovirt.engine.core.vdsbroker.CreateVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, CreateVDSCommand( CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'}), log id: 1935c97c
2019-04-10 10:09:47,398+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, CreateBrokerVDSCommand(HostName = s4-cluster-06.abc.co.za, CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'}), log id: 18e44d16
2019-04-10 10:09:47,415+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Failed in 'CreateBrokerVDS' method, for vds: 's4-cluster-06.abc.co.za'; host: 's4-cluster-06.abc.co.za': null
2019-04-10 10:09:47,416+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Command 'CreateBrokerVDSCommand(HostName = s4-cluster-06.abc.co.za, CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'})' execution failed: null
2019-04-10 10:09:47,416+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, CreateBrokerVDSCommand, return: , log id: 18e44d16
2019-04-10 10:09:47,416+02 ERRO

[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Nardus Geldenhuys
attaching ovirt engine.log
2019-04-10 10:09:46,786+02 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Lock Acquired to object 'EngineLock:{exclusiveLocks='[81a82c39-4786-46db-b719-2808f736e359=VM]', sharedLocks=''}'
2019-04-10 10:09:46,831+02 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, IsVmDuringInitiatingVDSCommand( IsVmDuringInitiatingVDSCommandParameters:{vmId='81a82c39-4786-46db-b719-2808f736e359'}), log id: 2cbbd903
2019-04-10 10:09:46,832+02 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 2cbbd903
2019-04-10 10:09:46,922+02 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (default task-331) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Candidate host 's4-cluster-05.abc.co.za' ('e2e277d0-1fcb-4c39-8b43-f7931c18abf5') was filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: null)
2019-04-10 10:09:47,125+02 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Running command: RunVmCommand internal: false. Entities affected :  ID: 81a82c39-4786-46db-b719-2808f736e359 Type: VMAction group RUN_VM with role type USER
2019-04-10 10:09:47,196+02 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Candidate host 's4-cluster-05.abc.co.za' ('e2e277d0-1fcb-4c39-8b43-f7931c18abf5') was filtered out by 'VAR__FILTERTYPE__INTERNAL' filter 'Memory' (correlation id: bcc741ae-2fc3-4c21-8fcd-e5d69c48946b)
2019-04-10 10:09:47,366+02 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, UpdateVmDynamicDataVDSCommand( UpdateVmDynamicDataVDSCommandParameters:{hostId='null', vmId='81a82c39-4786-46db-b719-2808f736e359', vmDynamic='org.ovirt.engine.core.common.businessentities.VmDynamic@7b441365'}), log id: 1387e426
2019-04-10 10:09:47,394+02 INFO  [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, UpdateVmDynamicDataVDSCommand, return: , log id: 1387e426
2019-04-10 10:09:47,397+02 INFO  [org.ovirt.engine.core.vdsbroker.CreateVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, CreateVDSCommand( CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'}), log id: 1935c97c
2019-04-10 10:09:47,398+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] START, CreateBrokerVDSCommand(HostName = s4-cluster-06.abc.co.za, CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'}), log id: 18e44d16
2019-04-10 10:09:47,415+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Failed in 'CreateBrokerVDS' method, for vds: 's4-cluster-06.abc.co.za'; host: 's4-cluster-06.abc.co.za': null
2019-04-10 10:09:47,416+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Command 'CreateBrokerVDSCommand(HostName = s4-cluster-06.abc.co.za, CreateVDSCommandParameters:{hostId='69e69c67-49a5-4af6-a754-ddbed3e11f03', vmId='81a82c39-4786-46db-b719-2808f736e359', vm='VM [s4-grandmama-db-01]'})' execution failed: null
2019-04-10 10:09:47,416+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] FINISH, CreateBrokerVDSCommand, return: , log id: 18e44d16
2019-04-10 10:09:47,416+02 ERROR [org.ovirt.engine.core.vdsbroker.CreateVDSCommand] (EE-ManagedThreadFactory-engine-Thread-47) [bcc741ae-2fc3-4c21-8fcd-e5d69c48946b] Failed to create VM: java.lang.NullPointerException
at org.ovirt.engine.core.vdsbroker.builder.vminfo.LibvirtVmXmlBuilder.lambda$writeInterfaces$30(LibvirtVmXmlBuilder.java:1250) [vdsbroker.jar:]
at java.util.Comparator.lambda$comparing$77a9974f$1(Comparator.java:469) [rt.jar:1.8.0_201]
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) [rt.jar:1.8.0_201]
at java.util.TimSort.sort(TimSort.java:220) [rt.jar:1.8.0_201]
at java.util.Arrays.sort(Arrays.java:1512) [rt.jar:1.8.0_201]
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348) [rt.jar:1.8.0_2

[ovirt-users] Re: Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread Milan Zamazal
nard...@gmail.com writes:

> Wonder if this issue is related to our problem and if there is a way
> around it. We upgraded from 4.2.8. to 4.3.2. Now when we start some of
> the VM's fail to start. You need to deattach the disks, create new VM,
> reattach the disks to the new VM and then the new VM starts.

Hi, were those VMs previously migrated from a 4.2.8 to a 4.3.2 host or
to a 4.3.[01] host (which have the given bug)?

Would it be possible to provide Vdsm logs from some of the failed and
successful (with the new VM) starts with the same storage and also from
the destination host of the preceding migration of the VM to a 4.3 host
(if the VM was migrated)?

Thanks,
Milan
___
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/YTD2JB33JHP4ENVUMWVAOVZQXVRPAKJX/


[ovirt-users] Re: Import of VMs failing - 0% progress on qemu-img

2019-04-10 Thread Benny Zlotnik
Can you run:
$ gdb -p $(pidof qemu-img convert) -batch -ex "t a a bt"


On Wed, Apr 10, 2019 at 11:26 AM Callum Smith  wrote:
>
> Dear All,
>
> Further to this, I can't migrate a disk to different storage using the GUI. 
> Both disks are configured identically and on the same physical NFS provider.
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 9 Apr 2019, at 12:12, Callum Smith  wrote:
>
> Dear All,
>
> It would seem this is a bug in 4.3.? - As upgrading the old oVirt HE to 4.3 
> (from 4.2.latest) now means that the export of VMs to export domain no longer 
> works.
>
> Again qemu-img convert is using some cpu, but no network. Progress is 0.
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 8 Apr 2019, at 15:42, Callum Smith  wrote:
>
> Dear All,
>
> We've exported some VMs from our old oVirt infrastructure and want to import 
> them into the new one, but qemu-img appears to be failing. We have mounted an 
> export domain populated from the old oVirt in the new hosted engine and are 
> using the GUI to import the VM. Manually running the command sits at 16% CPU, 
> 0% network usage and no progress. It appears to lock the NFS mount and ls and 
> lsof both hang.
>
> sudo -u vdsm /usr/bin/qemu-img convert -p -t none -T none -f raw  source> -O raw 
>
> Conversely a simple cp will work (ruling out file permissions errors):
> sudo -u vddm cp  
>
> What might we be doing wrong?
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> ___
> 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/ZUBKWQIGGSJETPVRWN42R4J7COPFV6GS/
>
>
> ___
> 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/6EE6X43GTAJ6L4QBH2XQJ4LVPIXCZC3T/
>
>
> ___
> 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/GD2XCKEIPNCXXQWMR4OP5IKGCORJQEGB/
___
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/UYRP6ZFG2IZXBDVIPCJZ7WGARUL5KT4F/


[ovirt-users] Re: Import of VMs failing - 0% progress on qemu-img

2019-04-10 Thread Callum Smith
Dear All,

Further to this, I can't migrate a disk to different storage using the GUI. 
Both disks are configured identically and on the same physical NFS provider.

Regards,
Callum

--

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

On 9 Apr 2019, at 12:12, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

It would seem this is a bug in 4.3.? - As upgrading the old oVirt HE to 4.3 
(from 4.2.latest) now means that the export of VMs to export domain no longer 
works.

Again qemu-img convert is using some cpu, but no network. Progress is 0.

Regards,
Callum

--

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

On 8 Apr 2019, at 15:42, Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:

Dear All,

We've exported some VMs from our old oVirt infrastructure and want to import 
them into the new one, but qemu-img appears to be failing. We have mounted an 
export domain populated from the old oVirt in the new hosted engine and are 
using the GUI to import the VM. Manually running the command sits at 16% CPU, 
0% network usage and no progress. It appears to lock the NFS mount and ls and 
lsof both hang.

sudo -u vdsm /usr/bin/qemu-img convert -p -t none -T none -f raw  -O raw 

Conversely a simple cp will work (ruling out file permissions errors):
sudo -u vddm cp  

What might we be doing wrong?

Regards,
Callum

--

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

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

___
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/6EE6X43GTAJ6L4QBH2XQJ4LVPIXCZC3T/

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


[ovirt-users] Bug 1666795 - Related? - VM's don't start after shutdown on FCP

2019-04-10 Thread nardusg
Hi There

Wonder if this issue is related to our problem and if there is a way around it. 
We upgraded from 4.2.8. to 4.3.2. Now when we start some of the VM's fail to 
start. You need to deattach the disks, create new VM, reattach the disks to the 
new VM and then the new VM starts. 

Thanks

Nar
___
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/DYPBUQYBGMGOCOLVP6RYO2VXSNNHYXTW/


[ovirt-users] Re: virt-v2v from Fedora 29 to oVirt 4.3 and ovirtsdk4

2019-04-10 Thread Gianluca Cecchi
On Tue, Apr 9, 2019 at 7:18 PM  wrote:

> Hello
>
> Have you tried installing using pip?
>
> https://pypi.org/project/ovirt-engine-sdk-python/
>
> Regards,
>Paul S.
> ___
>

I thought about it, but I don't like that way of proceeding, sort of out of
band...
Also, it was one time job so I decided to proceed with direct upload of the
disk file and then create a VM on oVirt and attach it.
I would prefer to be able to streamline run virt-v2v from a Fedora system,
but it seems it is difficult to compile necessary bits perhaps...

Thanks anyway,
Gianluca
___
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/7UB7YJDPQ5RY4QGKWA6P45UXUZB2RIXW/


[ovirt-users] Re: Host reinstall: ModuleNotFoundError: No module named 'rpmUtils'

2019-04-10 Thread Yedidyah Bar David
On Mon, Apr 8, 2019 at 1:06 AM John Florian  wrote:
>
> After mucking around trying to use jumbo MTU for my iSCSI storage nets (which 
> apparently I can't do because my Cisco 3560 switch only supports 1500 max for 
> its vlan interfaces) I got one of my Hosts screwed up.  I likely could 
> rebuild it from scratch but I suspect that's overkill.  I simply tried to do 
> a reinstall via the GUI.  That fails.  Looking at the ovirt-host-deploy log I 
> see several tracebacks with $SUBJECT.

Can you please share these logs?

>  Since Python pays my bills I figure this is an easy fix.  Except ... I see 
> this on the host:
>
> $ rpm -qf /usr/lib/python2.7/site-packages/rpmUtils/
> yum-3.4.3-161.el7.centos.noarch
> $ python
> Python 2.7.5 (default, Oct 30 2018, 23:45:53)
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> Tab completion has been enabled.
> >>> import rpmUtils
> >>>
>
> I'm guessing this must mean the tracebacks are from Python 3

Probably. Do you have it installed?

In 4.3 we default to python3 if found. This is currently broken on
EL7, and we decided to not fix. See also:

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

This one is specifically about python34, and causes a different
backtrace than yours.

Now that 4.3 is out, I don't mind reverting this decision (of
defaulting to python3) if it's considered premature, considering that
most developers probably use master branches (4.4) by now (and that
python3 support is still not finished :-(, although should work for
host-deploy on fedora).

> since I can clearly see the module doesn't exist for either Python 3.4 or 
> 3.6.  So this smells like a packaging bug somehow related to upgrading from 
> 4.2.  I mean, I can't imagine a brand new install fails this blatantly.  
> Either that or this import error has nothing to do with my reinstall failure.

It's not a packaging bug. The way 'Add host' works is:

1. The engine creates a tarfile containing otopi + all needed
modules/plugins (including host-deploy) and python libraries. This is
cached, and you can check it if you want, at:
/var/cache/ovirt-engine/ovirt-host-deploy.tar .

2. The engine ssh'es (is that a verb?) to the host, copies there the
tar file, opens it, and runs it. Then, the code in it runs. You can
find in engine.log the (long) command line it runs on the host via
ssh.

At this point, the code that runs there still can't do anything about
packaging. In particular, it can't Require: any specific versions of
anything, etc., because it's not installed by rpm but copied from the
engine.

But this is not really relevant. If you think this is a real bug,
please (re)open one, and we'll think what we can do. Opinions/ideas
are obviously welcome :-)

Thanks and best regards,
-- 
Didi
___
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/O5X4RPJSIPED6ZCBHYA4HTGMPUJLI3L6/


[ovirt-users] College assignment writing

2019-04-10 Thread Martin Stone
A college assignment writing can't be shorter than five passages; it is hard to 
remember proposal and three principle contentions while exchanging between the 
sections. What is the distinction between a framework and a list of contents? A 
chapter by chapter list is a nitty-gritty rundown of the topics the writer 
plans to cover in his work a framework is progressively broad, focusing on the 
primary concerns of the writing. Master writers propose that an understudy 
writes an outline to:

>Save the coherent stream of the paper 

>Decrease time spent on the writing procedure 

>Help with arranging thoughts 

>Make it conceivable to lead inside and out research 

>Divide a word tally into separate segments to make the reading easy


Get more information kindly visit: http://www.bestassignmentservice.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/K6C4UI2SLNARF3S2OZA7C3DFMGYPWJVK/