[ovirt-devel] Re: Failed to add CentOS 7 host

2019-08-12 Thread Benny Zlotnik
try going to the network interfaces tab of your host, then click "setup
host networks" and make sure ovirtmgmt is connected to an interface,
usually you can just drag it if it isn't connected

On Mon, Aug 12, 2019 at 6:50 PM Fedor Gavrilov  wrote:

> Hi,
>
> Couple of days ago I had to refresh my dev environment to validate the
> issue and since support for Fedora 28 is no longer there I used CentOS 7
> for both engine and host.
> Vdsm and cockpit socket on host is from the package, engine is compiled
> from git master. As I try to add new host, installment proceeds for quite a
> while but fails in the end, setting host to non operational. I see the
> following in the engine logs:
>
> 2019-08-12 17:32:40,341+02 INFO
> [org.ovirt.engine.core.bll.host.HostConnectivityChecker]
> (EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Engine managed to
> communicate with VDSM agent on host 'banana' with address 'banana'
> ('bcabbd09-81ef-422d-811c-3a18ac97919f')
> 2019-08-12 17:32:42,163+02 WARN
> [org.ovirt.engine.core.bll.network.NetworkConfigurator]
> (EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Failed to find a valid
> interface for the management network of host banana. If the interface null
> is a bridge, it should be torn-down manually.
> 2019-08-12 17:32:42,166+02 ERROR
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Exception:
> org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
> Interface null is invalid for management network
> at
> org.ovirt.engine.core.bll.network.NetworkConfigurator.findNicToSetupManagementNetwork(NetworkConfigurator.java:159)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.network.NetworkConfigurator.createManagementNetworkIfRequired(NetworkConfigurator.java:82)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.configureManagementNetwork(InstallVdsInternalCommand.java:291)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:203)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:112)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1168)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1326)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2005)
> [bll.jar:]
> at
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:164)
> [utils.jar:]
> at
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:103)
> [utils.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1386)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:420)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:451)
> [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:433) [bll.jar:]
> at
> org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:639)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
> [:1.8.0_222]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_222]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_222]
> at
> org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
> at
> org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
> at
> org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
> [wildfly-ejb3-17.0.1.Final.jar:17.0.1.Final]
> at
> 

[ovirt-devel] Failed to add CentOS 7 host

2019-08-12 Thread Fedor Gavrilov
Hi,

Couple of days ago I had to refresh my dev environment to validate the issue 
and since support for Fedora 28 is no longer there I used CentOS 7 for both 
engine and host.
Vdsm and cockpit socket on host is from the package, engine is compiled from 
git master. As I try to add new host, installment proceeds for quite a while 
but fails in the end, setting host to non operational. I see the following in 
the engine logs:

2019-08-12 17:32:40,341+02 INFO  
[org.ovirt.engine.core.bll.host.HostConnectivityChecker] 
(EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Engine managed to 
communicate with VDSM agent on host 'banana' with address 'banana' 
('bcabbd09-81ef-422d-811c-3a18ac97919f')
2019-08-12 17:32:42,163+02 WARN  
[org.ovirt.engine.core.bll.network.NetworkConfigurator] 
(EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Failed to find a valid 
interface for the management network of host banana. If the interface null is a 
bridge, it should be torn-down manually.
2019-08-12 17:32:42,166+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-20) [9f80a7] Exception: 
org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
 Interface null is invalid for management network
at 
org.ovirt.engine.core.bll.network.NetworkConfigurator.findNicToSetupManagementNetwork(NetworkConfigurator.java:159)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.network.NetworkConfigurator.createManagementNetworkIfRequired(NetworkConfigurator.java:82)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.configureManagementNetwork(InstallVdsInternalCommand.java:291)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:203)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:112)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1168)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1326)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2005) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:164)
 [utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:103)
 [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1386) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:420) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
 [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:451) 
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:433) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:639) [bll.jar:]
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) 
[:1.8.0_222]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_222]
at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at 
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
at 
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
at 
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
at 
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
 [wildfly-ejb3-17.0.1.Final.jar:17.0.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
 [wildfly-ee-17.0.1.Final.jar:17.0.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
   

[ovirt-devel] Re: [OST Failure Report] [oVirt master&4.3] [09-08-2019] [verify_glance_import]

2019-08-12 Thread Amit Bawer
On Mon, Aug 12, 2019 at 2:35 PM Eyal Edri  wrote:

>
>
> On Mon, Aug 12, 2019 at 11:57 AM Amit Bawer  wrote:
>
>> I experience the same issue when running OST on mainstream [1].
>> Is there any possible resolution/workaround?
>>
>
> This should be solved now, we reverted to use the old Glance instance.
>

Indeed, Thanks!


>
>
>>
>> [1]
>> https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5330/testReport/(root)/004_basic_sanity/verify_glance_import/
>>
>>
>> On Sat, Aug 10, 2019 at 10:55 PM Dusan Fodor  wrote:
>>
>>> Hi,
>>> we have failures in test verify glance import appearing in both 4.3 and
>>> master.
>>> Api call to get the disk status times out.
>>>
>>> Example of failed job can be seen here:
>>>
>>> https://jenkins.ovirt.org/view/Change%20queue%20jobs/job/ovirt-4.3_change-queue-tester/1808/
>>>
>>> Can you please take a look?
>>> ___
>>> Devel mailing list -- devel@ovirt.org
>>> To unsubscribe send an email to devel-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/devel@ovirt.org/message/3HCLG3J7CFET5B5NEPDFMLH4PDQBP6G4/
>>>
>> ___
>> Infra mailing list -- in...@ovirt.org
>> To unsubscribe send an email to infra-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/in...@ovirt.org/message/3QL6MJDW4MJCRVWF4NCGLQJ3DBT5NMSK/
>>
>
>
> --
>
> Eyal edri
>
> He / Him / His
>
>
> MANAGER
>
> CONTINUOUS PRODUCTIZATION
>
> SYSTEM ENGINEERING
>
> Red Hat 
> 
> phone: +972-9-7692018
> irc: eedri (on #tlv #rhev-dev #rhev-integ #cp-devel)
>
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/VW4B7TFBHHDXCSQ6LOJESBPRNG2PGO5H/


[ovirt-devel] Re: Setting Start Running On Specific host radio button via the SDK

2019-08-12 Thread Kaustav Majumder
Hi,
On Mon, Aug 12, 2019 at 8:07 PM  wrote:

> Hi
>
> I'm looking to target the radio button for Specific host, Does anyone have
> info on

What exactly are you looking for?

> what SDK object controls this feature? Even better if anyone can point me
> towards some documentation that maps oVirt UI functionality to the SDK
> endpoints?
>
I don't think there is a anything as such. Maybe other can help.
You can go through the examples here [1].

>
> Best Regards
> Donagh
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-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/devel@ovirt.org/message/UU5BIFEVUW3XPZSFYORG6LLMAOIV3DA2/
>

[1] https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
-- 

Thanks,

Kaustav Majumder
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/QWZJBGJQN7MULPDEXJRSRHULCKCYYSLQ/


[ovirt-devel] Re: Setting Start Running On Specific host radio button via the SDK

2019-08-12 Thread donagh . moran
FYI I can set the specific host value with this REST command, but this doesn't 
set the radio button 

vms.update()
.vm(vm().placementPolicy(
vmPlacementPolicy()
.hosts(host()
.name(vdsmHostName;
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/UH4ZQD5SNTQ2QUC4QTM5X2DRGR3XI5PC/


[ovirt-devel] Setting Start Running On Specific host radio button via the SDK

2019-08-12 Thread donagh . moran
Hi

I'm looking to target the radio button for Specific host, Does anyone have info 
on what SDK object controls this feature? Even better if anyone can point me 
towards some documentation that maps oVirt UI functionality to the SDK 
endpoints?

Best Regards
Donagh  
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/UU5BIFEVUW3XPZSFYORG6LLMAOIV3DA2/


[ovirt-devel] Re: ovirt-host-deploy modifies the vdsm.conf

2019-08-12 Thread Ales Musil
On Mon, Aug 12, 2019 at 2:42 PM Ales Musil  wrote:

> Hi,
> I have tried:
>
> /etc/ovirt-host-deploy.conf.d/50-development.conf
>  [environment:enforce]
>  VDSM/configOverride=bool:False
>
>
> But the vdsm config is still being modified by the host deploy any idea
> what is wrong with this configuration?
>
> Thank you.
> Regards,
> Ales
>
> --
>
> Ales Musil
>
> Associate Software Engineer - RHV Network
>
> Red Hat EMEA 
>
> amu...@redhat.comIM: amusil
> 
>


Nevermind it has to be configured on the host and not on the engine.

-- 

Ales Musil

Associate Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/KJCSIA6EJIVCV2QUGGMZMCBLHA2ELINC/


[ovirt-devel] ovirt-host-deploy modifies the vdsm.conf

2019-08-12 Thread Ales Musil
Hi,
I have tried:

/etc/ovirt-host-deploy.conf.d/50-development.conf
 [environment:enforce]
 VDSM/configOverride=bool:False


But the vdsm config is still being modified by the host deploy any idea
what is wrong with this configuration?

Thank you.
Regards,
Ales

-- 

Ales Musil

Associate Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/CHSUCSU5QGDQA62IHLIHAPUREHMPJLLB/


[ovirt-devel] Re: [OST Failure Report] [oVirt master&4.3] [09-08-2019] [verify_glance_import]

2019-08-12 Thread Eyal Edri
On Mon, Aug 12, 2019 at 11:57 AM Amit Bawer  wrote:

> I experience the same issue when running OST on mainstream [1].
> Is there any possible resolution/workaround?
>

This should be solved now, we reverted to use the old Glance instance.


>
> [1]
> https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5330/testReport/(root)/004_basic_sanity/verify_glance_import/
>
>
> On Sat, Aug 10, 2019 at 10:55 PM Dusan Fodor  wrote:
>
>> Hi,
>> we have failures in test verify glance import appearing in both 4.3 and
>> master.
>> Api call to get the disk status times out.
>>
>> Example of failed job can be seen here:
>>
>> https://jenkins.ovirt.org/view/Change%20queue%20jobs/job/ovirt-4.3_change-queue-tester/1808/
>>
>> Can you please take a look?
>> ___
>> Devel mailing list -- devel@ovirt.org
>> To unsubscribe send an email to devel-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/devel@ovirt.org/message/3HCLG3J7CFET5B5NEPDFMLH4PDQBP6G4/
>>
> ___
> Infra mailing list -- in...@ovirt.org
> To unsubscribe send an email to infra-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/in...@ovirt.org/message/3QL6MJDW4MJCRVWF4NCGLQJ3DBT5NMSK/
>


-- 

Eyal edri

He / Him / His


MANAGER

CONTINUOUS PRODUCTIZATION

SYSTEM ENGINEERING

Red Hat 

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ #cp-devel)
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/SIRKL2HBBKYOBZDAMSOK6CJA25MGPEYE/


[ovirt-devel] Re: No response for post using curl for The Backup and Restore API oVirt API

2019-08-12 Thread Eyal Shenitzky
Hi Midhun,

In order to attach a snapshot to a VM you should use the following call:

 POST /api/vms/----/diskattachments HTTP/1.1
 Accept: application/xml
 Content-type: application/xml


 true
 
 
 




On Mon, Aug 12, 2019 at 10:34 AM  wrote:

> I have 2 virtual machines in my ovirt open virtualisation manager.The name
> of first virtual machine is backupvm and the name of second virtual machine
> is secondvm .I have created many snapshot shot of secondvm I want to
> convert a particular snapshot ofsecondvm using the ovirt api to secondvm
> backup and attach it to backupvm The link of the api is
> https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-a-virtual-machine
> .I want to run the fourth step which says.
>
> Attach the snapshot to the backup virtual machine and activate the disk:
>
>  POST /api/vms/----/disks/ HTTP/1.1
>  Accept: application/xml
>  Content-type: application/xml
>
>  
>  
>  true
>  
> .I want to attach this snapshots after converting them to backups of vms
> and then attach to vm named  backupvm.The api for this is mentioned as
>
> The id of secondvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d and the id of
> backupvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d.The id of snapshot is
> 804cb937-5961-4a55-a453-74932c508dd6 and id of disk is
> e6c623e3-31d8-4554-ad5a-2b581914494b
>
> I have written a curl command for this as
>
> curl -u 'username:password' -H "Accept: application/xml" -H "Content-type:
> application/xml"  -X POST -d ' id="e6c623e3-31d8-4554-ad5a-2b581914494b">
> 
>true
>'
>  https:/ovirt-engine/api/vms/a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d/disks/
> ;
> I expect the vm snapshot to be attached to backupvm.But i am not getting
> any response .Hence i am under the assumption that it is not working..
>
> What modification should i make in the curl command to get it working
>
> In the figure below secondvm is labelled as bobcarenewvm
>
> https://i.stack.imgur.com/LC3An.png
> https://i.stack.imgur.com/Lgozu.png
> https://i.stack.imgur.com/efQrf.png
> https://i.stack.imgur.com/3wAyA.png
>
> Please help me,
> Thanks and Regards,
> Midhun.
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-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/devel@ovirt.org/message/U2HYTU7AVHOVJT3DPPWZERM32EJGZ5OC/
>


-- 
Regards,
Eyal Shenitzky
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/KIXBVTAED6Z5MJCPCHXGJDBV75SZ2WCI/


[ovirt-devel] Re: [OST Failure Report] [oVirt master&4.3] [09-08-2019] [verify_glance_import]

2019-08-12 Thread Amit Bawer
I experience the same issue when running OST on mainstream [1].
Is there any possible resolution/workaround?

[1]
https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5330/testReport/(root)/004_basic_sanity/verify_glance_import/


On Sat, Aug 10, 2019 at 10:55 PM Dusan Fodor  wrote:

> Hi,
> we have failures in test verify glance import appearing in both 4.3 and
> master.
> Api call to get the disk status times out.
>
> Example of failed job can be seen here:
>
> https://jenkins.ovirt.org/view/Change%20queue%20jobs/job/ovirt-4.3_change-queue-tester/1808/
>
> Can you please take a look?
> ___
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-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/devel@ovirt.org/message/3HCLG3J7CFET5B5NEPDFMLH4PDQBP6G4/
>
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/3QL6MJDW4MJCRVWF4NCGLQJ3DBT5NMSK/


[ovirt-devel] Re: Setting Migration Mode via SDK

2019-08-12 Thread donagh . moran
Hi Fred

Yes this is exactly what I was looking for. Thanks for the help much 
appreciated.

Best Regards
Donagh
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/CQMFMFEMSTDDKSI5X7XL3CTT5O4WFBBK/


[ovirt-devel] No response for post using curl for The Backup and Restore API oVirt API

2019-08-12 Thread smidhunraj
I have 2 virtual machines in my ovirt open virtualisation manager.The name of 
first virtual machine is backupvm and the name of second virtual machine is 
secondvm .I have created many snapshot shot of secondvm I want to convert a 
particular snapshot ofsecondvm using the ovirt api to secondvm backup and 
attach it to backupvm The link of the api is 
https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-a-virtual-machine
 .I want to run the fourth step which says.

Attach the snapshot to the backup virtual machine and activate the disk:

 POST /api/vms/----/disks/ HTTP/1.1
 Accept: application/xml
 Content-type: application/xml

 
 
 true
 
.I want to attach this snapshots after converting them to backups of vms and 
then attach to vm named  backupvm.The api for this is mentioned as

The id of secondvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d and the id of 
backupvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d.The id of snapshot is 
804cb937-5961-4a55-a453-74932c508dd6 and id of disk is 
e6c623e3-31d8-4554-ad5a-2b581914494b

I have written a curl command for this as

curl -u 'username:password' -H "Accept: application/xml" -H "Content-type: 
application/xml"  -X POST -d '

   true
   '   
https:/ovirt-engine/api/vms/a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d/disks/ ;
I expect the vm snapshot to be attached to backupvm.But i am not getting any 
response .Hence i am under the assumption that it is not working..

What modification should i make in the curl command to get it working

In the figure below secondvm is labelled as bobcarenewvm

https://i.stack.imgur.com/LC3An.png
https://i.stack.imgur.com/Lgozu.png
https://i.stack.imgur.com/efQrf.png
https://i.stack.imgur.com/3wAyA.png

Please help me,
Thanks and Regards,
Midhun.
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/U2HYTU7AVHOVJT3DPPWZERM32EJGZ5OC/


[ovirt-devel] No response for post using curl for The Backup and Restore API oVirt API

2019-08-12 Thread smidhunraj
I have 2 virtual machines in my ovirt open virtualisation manager.The name of 
first virtual machine is backupvm and the name of second virtual machine is 
secondvm .I have created many snapshot shot of secondvm I want to convert a 
particular snapshot ofsecondvm using the ovirt api to secondvm backup and 
attach it to backupvm The link of the api is 
https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-a-virtual-machine
 .I want to run the fourth step which says.

Attach the snapshot to the backup virtual machine and activate the disk:

 POST /api/vms/----/disks/ HTTP/1.1
 Accept: application/xml
 Content-type: application/xml

 
 
 true
 
.I want to attach this snapshots after converting them to backups of vms and 
then attach to vm named  backupvm.The api for this is mentioned as

The id of secondvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d and the id of 
backupvm is a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d.The id of snapshot is 
804cb937-5961-4a55-a453-74932c508dd6 and id of disk is 
e6c623e3-31d8-4554-ad5a-2b581914494b

I have written a curl command for this as

curl -u 'username:password' -H "Accept: application/xml" -H "Content-type: 
application/xml"  -X POST -d '

   true
   '   
https:/ovirt-engine/api/vms/a88a79ab-1f0c-4f32-bdaa-abc8109b3c0d/disks/ ;
I expect the vm snapshot to be attached to backupvm.But i am not getting any 
response .Hence i am under the assumption that it is not working..

What modification should i make in the curl command to get it working

In the figure below secondvm is labelled as bobcarenewvm

https://i.stack.imgur.com/LC3An.png
https://i.stack.imgur.com/Lgozu.png
https://i.stack.imgur.com/efQrf.png
https://i.stack.imgur.com/3wAyA.png

Please help me,
Thanks and Regards,
Midhun.
___
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/LJGEF5B3GXAZGVIIB4DL75TOLS7EOV6F/