[ovirt-devel] Re: Doubt on Backing Up and Restoring Virtual Machines Using the Backup and Restore API:-

2019-07-18 Thread Germano Veit Michel
On Thu, Jul 18, 2019 at 6:50 PM  wrote:

> Doubt on Backing Up and Restoring Virtual Machines Using the Backup and
> Restore API:-
> In this link
> https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-and-restoring-virtual-machines-using-the-backup-and-restore-api
> in point 4 it is said that
>
>
>
> 4 .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
>  
>
> What does this ---- mean do we need to
> create a new   virtual machine and attach the snapshot to that.
>   Could you kindly explain it further
>

The ---- is the ID of the VM that the
backup solution runs. You will need a VM that does the actual backup. This
is the "Backup VM" copies the data from the other vm disk snapshot and
stores it somewhere safe. Other VMs snapshots will be attached to this VM,
which will do the backup, then detached.

If the Backup VM is doing the API requests, it can get its UUID by looking
for itself via the API or via dmidecode (UUID field).


> ___
> 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/OEXGCKKP4AYXAB7XVMNEMI4ERC6XV63A/
>
___
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/U3Z7QMSEC22Z3CCAU3U4LN6XPV6CGOZS/


[ovirt-devel] Re: Failed engine-setup role test

2019-07-18 Thread Yedidyah Bar David
Adding devel, so that I can link from https://gerrit.ovirt.org/98595 .

On Mon, Mar 18, 2019 at 1:21 PM Sandro Bonazzola 
wrote:

>
>
> Il dom 17 mar 2019, 11:41 Yedidyah Bar David  ha scritto:
>
>> On Fri, Mar 15, 2019 at 7:27 PM Sandro Bonazzola 
>> wrote:
>>
>>> Hi,
>>> I was trying to setup engine on my systems using ansible
>>>
>>> my playbook:
>>> ---
>>> - name: Setup oVirt
>>>   hosts: ovirt4.home
>>>   vars_files:
>>> # Contains encrypted `ovirt_engine_setup_admin_password` variable
>>> using ansible-vault
>>> - password.yml
>>>   vars:
>>> ovirt_engine_setup_version: '4.3'
>>> ovirt_engine_setup_product_type: oVirt
>>>   roles:
>>> - ovirt.engine-setup
>>>
>>
>> I think this happens when you run engine-setup and supply an ovn user but
>> no password.
>>
>> The bottom-of-the-stack failure reason is calling .decode on None, which
>> was done for supporting also python3. Fixing this can be done e.g. by
>> https://gerrit.ovirt.org/98595 . Didn't test and not sure that's enough.
>>
>> We might decide to fix by changing the logic upper in the stack, though,
>> or by fixing the role/playbook to supply also a password.
>>
>> At a minimum, someone needs to decide what we want the role to do wrt to
>> ovn. Do we want it to be set up automatically? Using engine admin
>> user/password? If so, please open a bug on the role.
>>
>>
>
>
> I will open the bug. in the meantime I confirm that adding ovn password to
> the vault fixes the problem
>

OK. Did you?


>
>
>
>
>
>
>>>
>>> Using 1.1.9
>>>
>>>
>>>
>>> Got this error:
>>> TASK [ovirt.engine-setup : Run engine-setup with answerfile]
>>> **
>>> fatal: [ovirt4.home]: FAILED! => {"changed": true, "cmd":
>>> ["engine-setup", "--accept-defaults",
>>> "--config-append=/tmp/answerfile-20190315180843Z.txt"], "delta":
>>> "0:09:54.716435", "end": "2019-03-15 18:18:44.658774", "msg": "non-zero
>>> return code", "rc": 1, "start": "2019-03-15 18:08:49.942339", "stderr": "",
>>> "stderr_lines": [], "stdout": "[ INFO  ] Stage: Initializing\n[ INFO  ]
>>> Stage: Environment setup\n  Configuration files:
>>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
>>> '/tmp/answerfile-20190315180843Z.txt']\n  Log file:
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20190315180850-ufar83.log\n
>>> Version: otopi-1.8.1 (otopi-1.8.1-1.el7)\n[ INFO  ] Stage:
>>> Environment packages setup\n[ INFO  ] Stage: Programs detection\n[ INFO  ]
>>> Stage: Environment setup (late)\n[ INFO  ] Stage: Environment
>>> customization\n \n  --== PRODUCT OPTIONS ==--\n \n
>>> Set up Cinderlib integration\n  (Currently in tech
>>> preview)\n  (Yes, No) [No]: \n  Configure Engine on this
>>> host (Yes, No) [Yes]: \n  Configure Image I/O Proxy on this host
>>> (Yes, No) [Yes]: \n  Configure WebSocket Proxy on this host (Yes,
>>> No) [Yes]: \n  Configure VM Console Proxy on this host (Yes, No)
>>> [Yes]: \n \n  --== PACKAGES ==--\n \n[ INFO  ]
>>> Checking for product updates...\n[ INFO  ] No product updates found\n
>>>\n  --== NETWORK CONFIGURATION ==--\n \n  Host
>>> fully qualified DNS name of this server [ovirt4.home]: \n[WARNING] Failed
>>> to resolve ovirt4.home using DNS, it can be resolved only locally\n[ INFO
>>> ] firewalld will be configured as firewall manager.\n \n
>>> --== DATABASE CONFIGURATION ==--\n \n  Where is the Engine
>>> database located? (Local, Remote) [Local]: \n  Setup can configure
>>> the local postgresql server automatically for the engine to run. This may
>>> conflict with existing applications.\n  Would you like Setup to
>>> automatically configure postgresql and create Engine database, or prefer to
>>> perform that manually? (Automatic, Manual) [Automatic]: \n \n
>>> --== OVIRT ENGINE CONFIGURATION ==--\n \n  Application
>>> mode (Virt, Gluster, Both) [Both]: \n \n  --== STORAGE
>>> CONFIGURATION ==--\n \n  Default SAN wipe after delete
>>> (Yes, No) [No]: \n \n  --== PKI CONFIGURATION ==--\n
>>>  \n  Organization name for certificate [home]: \n \n
>>>   --== APACHE CONFIGURATION ==--\n \n  Setup can configure
>>> the default page of the web server to present the application home page.
>>> This may conflict with existing applications.\n  Do you wish to set
>>> the application as the default page of the web server? (Yes, No) [Yes]: \n
>>> Setup can configure apache to use SSL using a certificate issued
>>> from the internal CA.\n  Do you wish Setup to configure that, or
>>> prefer to perform that manually? (Automatic, 

[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Sachidananda URS
On Thu, Jul 18, 2019 at 3:19 PM Eyal Edri  wrote:

>
>
> On Thu, Jul 18, 2019 at 12:44 PM Sachidananda URS  wrote:
>
>>
>>
>> On Thu, Jul 18, 2019 at 2:21 PM Sahina Bose  wrote:
>>
>>> +Sac as it's the repo maintained by him, but I doubt if it is this repo
>>> specific
>>>
>>> On Thu, Jul 18, 2019 at 2:11 PM Vojtech Juranek 
>>> wrote:
>>>
 Hi,
 OST fails with

 09:47:03
 https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
 epel-7-x86_64/repodata/repomd.xml
 :
 [Errno 14] curl#7 - "Failed connect to
 copr-be.cloud.fedoraproject.org:443; Connection refused"

 see e.g. [1] for full log. Stared to fail this morning.
 Can anyone take a look and fix it?


>> This sometimes happens with Copr repo. I've seen similar error.
>> But will work after some time. I don't know the reason for this
>> instability.
>>
>
> Can the pkg get hosted on a more stable repo like on CentOS storage sig
> repos?
> e.g http://mirror.centos.org/centos/7/storage/x86_64/gluster-6/
>

Eyal, yes. I've also been wanting to create fedora packages. But haven't
found time.
I'll look into hosting the packages at mirror.centos.org.


-sac
___
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/FD3OG4B74KHIMDHIXZVHG2YLMZTDOG3O/


[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Sachidananda URS
On Thu, Jul 18, 2019 at 2:21 PM Sahina Bose  wrote:

> +Sac as it's the repo maintained by him, but I doubt if it is this repo
> specific
>
> On Thu, Jul 18, 2019 at 2:11 PM Vojtech Juranek 
> wrote:
>
>> Hi,
>> OST fails with
>>
>> 09:47:03
>> https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
>> epel-7-x86_64/repodata/repomd.xml
>> :
>> [Errno 14] curl#7 - "Failed connect to
>> copr-be.cloud.fedoraproject.org:443; Connection refused"
>>
>> see e.g. [1] for full log. Stared to fail this morning.
>> Can anyone take a look and fix it?
>>
>>
This sometimes happens with Copr repo. I've seen similar error.
But will work after some time. I don't know the reason for this instability.

-sac
___
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/XOR5VOSPAF3TBACHPQLAY2TIRBQM4ARX/


[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Eyal Edri
On Thu, Jul 18, 2019 at 12:44 PM Sachidananda URS  wrote:

>
>
> On Thu, Jul 18, 2019 at 2:21 PM Sahina Bose  wrote:
>
>> +Sac as it's the repo maintained by him, but I doubt if it is this repo
>> specific
>>
>> On Thu, Jul 18, 2019 at 2:11 PM Vojtech Juranek 
>> wrote:
>>
>>> Hi,
>>> OST fails with
>>>
>>> 09:47:03
>>> https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
>>> epel-7-x86_64/repodata/repomd.xml
>>> :
>>> [Errno 14] curl#7 - "Failed connect to
>>> copr-be.cloud.fedoraproject.org:443; Connection refused"
>>>
>>> see e.g. [1] for full log. Stared to fail this morning.
>>> Can anyone take a look and fix it?
>>>
>>>
> This sometimes happens with Copr repo. I've seen similar error.
> But will work after some time. I don't know the reason for this
> instability.
>

Can the pkg get hosted on a more stable repo like on CentOS storage sig
repos?
e.g http://mirror.centos.org/centos/7/storage/x86_64/gluster-6/


>
> -sac
> ___
> 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/XOR5VOSPAF3TBACHPQLAY2TIRBQM4ARX/
>


-- 

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/OUEDTASUOMG5NEYQ3Z2QHAX5QEAJPJX5/


[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Sahina Bose
+Sac as it's the repo maintained by him, but I doubt if it is this repo
specific

On Thu, Jul 18, 2019 at 2:11 PM Vojtech Juranek  wrote:

> Hi,
> OST fails with
>
> 09:47:03
> https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
> epel-7-x86_64/repodata/repomd.xml
> :
> [Errno 14] curl#7 - "Failed connect to
> copr-be.cloud.fedoraproject.org:443; Connection refused"
>
> see e.g. [1] for full log. Stared to fail this morning.
> Can anyone take a look and fix it?
>
> Thanks in advance.
> Vojta
>
> [1] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5132/console
> ___
> 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/DXDNFFNWE3DC2IJTOH7CMXN7FD4PO4HU/
>
___
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/MOTEJVTFNYBDK32RG3SSNZH4S5W7B6G2/


[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Vojtech Juranek
> it seems like you are downloading from external mirror.
> please use local mirrors (this fix should be done in you project)

can you explain what actually I should fix? It fails to download gluster-
ansible. I work on vdsm and it has no dependency on gluster-ansible AFAICT, so 
I have no idea what I should fix in "my" project.

Thanks
 
> 
> On Thu, Jul 18, 2019 at 10:42 AM Vojtech Juranek 
> 
> wrote:
> > Hi,
> > OST fails with
> > 
> > 09:47:03
> > https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
> > epel-7-x86_64/repodata/repomd.xml
> >  
> > > 7-x86_64/repodata/repomd.xml>: [Errno 14] curl#7 - "Failed connect to
> > copr-be.cloud.fedoraproject.org:443; Connection refused"
> > 
> > see e.g. [1] for full log. Stared to fail this morning.
> > Can anyone take a look and fix it?
> > 
> > Thanks in advance.
> > Vojta
> > 
> > [1] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5132/console
> > ___
> > 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/DXDNFFNWE3DC
> > 2IJTOH7CMXN7FD4PO4HU/



signature.asc
Description: This is a digitally signed message part.
___
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/FXEMF6WA2GG457IFKFZEH422HZBE2YDA/


[ovirt-devel] Re: OST fails, cannot connect to repo

2019-07-18 Thread Dafna Ron
it seems like you are downloading from external mirror.
please use local mirrors (this fix should be done in you project)


On Thu, Jul 18, 2019 at 10:42 AM Vojtech Juranek 
wrote:

> Hi,
> OST fails with
>
> 09:47:03
> https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
> epel-7-x86_64/repodata/repomd.xml
> :
> [Errno 14] curl#7 - "Failed connect to
> copr-be.cloud.fedoraproject.org:443; Connection refused"
>
> see e.g. [1] for full log. Stared to fail this morning.
> Can anyone take a look and fix it?
>
> Thanks in advance.
> Vojta
>
> [1] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5132/console
> ___
> 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/DXDNFFNWE3DC2IJTOH7CMXN7FD4PO4HU/
>
___
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/PAEWFBQKS2TP6XJSDCTUUHNBWANWEWLC/


[ovirt-devel] OST fails, cannot connect to repo

2019-07-18 Thread Vojtech Juranek
Hi,
OST fails with

09:47:03 https://copr-be.cloud.fedoraproject.org/results/sac/gluster-ansible/
epel-7-x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 
copr-be.cloud.fedoraproject.org:443; Connection refused"

see e.g. [1] for full log. Stared to fail this morning.
Can anyone take a look and fix it?

Thanks in advance.
Vojta

[1] https://jenkins.ovirt.org/job/ovirt-system-tests_manual/5132/console

signature.asc
Description: This is a digitally signed message part.
___
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/DXDNFFNWE3DC2IJTOH7CMXN7FD4PO4HU/


[ovirt-devel] Doubt on Backing Up and Restoring Virtual Machines Using the Backup and Restore API:-

2019-07-18 Thread smidhunraj
Doubt on Backing Up and Restoring Virtual Machines Using the Backup and Restore 
API:-
In this link  
https://ovirt.org/documentation/admin-guide/chap-Backups_and_Migration.html#backing-up-and-restoring-virtual-machines-using-the-backup-and-restore-api
in point 4 it is said that 



4 .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
 

What does this ---- mean do we need to create a 
new   virtual machine and attach the snapshot to that.
  Could you kindly explain it further
___
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/OEXGCKKP4AYXAB7XVMNEMI4ERC6XV63A/