[ovirt-users] Import OVA or OVF file from other oVirt - oVirt 4.x

2016-11-27 Thread Victor Jose Acosta

Hello everyone, i got somes questions to you

Export domain will be deprecated so, how do i import a ova from another 
oVIrt to my own oVirt?


i will explain to you what I'm trying to do, i got oVirt in 3 different 
sites, and I'm creating a python based backup software for oVirt 4.x, 
what i want to do is create a OVA or OVF file as backup and send it to 
my other site, it's a kind of disaster recovery strategy.


With oVirt 3.x, i do it creating a ova file then import that .ova file 
using ovirt-image-uploader, but in oVirt 4 that tool will be deprecated 
also, so how do i export a .ova or .ovf file from other oVirt to my own


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


[ovirt-users] Import OVA or OVF file from other oVirt - oVirt 4.x

2016-11-27 Thread Victor Jose Acosta

Hello everyone, i got some questions to you

Export domain will be deprecated so, how do i import a ova from another 
oVIrt to my own oVirt?


i will explain to you what I'm trying to do, i got oVirt in 3 different 
sites, and I'm creating a python based backup software for oVirt 4.x, 
what i want to do is create a OVA or OVF file as backup and send it to 
my other site, it's a kind of disaster recovery strategy.


With oVirt 3.x, i do it creating a ova file then import that .ova file 
using ovirt-image-uploader, but in oVirt 4 that tool will be deprecated 
also, so how do i export a .ova or .ovf file from other oVirt to my own


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


Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Nir Soffer
On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella
 wrote:
> Looks like close to my own try :
>
> https://github.com/fbacchella/ovirtcmd

Looks cool.

But I think what we need is something like targetcli for ovirt.
http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree

With such tool we can see the ovirt setup as a file system tree:

/ovirt/vms/vm-id
/ovirt/storage/domain-id
...

And be able to query and operate on the entities.

Another crazy direction I discussed with Roy, is a fuse files system mapping
ovirt setup to a file system - imagine:

$ mount -t ovirtfs /ovirt

$ ls /ovirt/vms
vm-id-1
vm-id-2
...

$ cat /ovirt/vms/vm-ids/running
1

$ echo 0 > /ovirt/vms/vm-id/running

>
>
>> Le 26 nov. 2016 à 22:10, Chris Cowley  a écrit :
>>
>> Hi all
>>
>> I started hacking together something last night to use as a CLI to
>> manage my oVirt clusters.
>>
>> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
>>
>> Currently it can create/delete a VM, list the VMS, and I started a
>> function to show the details, but all that does for now is return the ID.
>>
>> The plan is for it to evolve with my own needs, but I am open to
>> ideas/PRs from the community.
>>
>> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
>> developer, what you see may cause you physical pain.
>>
>> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
>> patient and I withold the right to not respect any sort of SLA :-)
>>
>>
>> --
>> Regards
>>
>> Chris Cowley
>> http://about.me/chriscowley
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Fabrice Bacchella
Looks like close to my own try :

https://github.com/fbacchella/ovirtcmd


> Le 26 nov. 2016 à 22:10, Chris Cowley  a écrit :
> 
> Hi all
> 
> I started hacking together something last night to use as a CLI to
> manage my oVirt clusters.
> 
> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
> 
> Currently it can create/delete a VM, list the VMS, and I started a
> function to show the details, but all that does for now is return the ID.
> 
> The plan is for it to evolve with my own needs, but I am open to
> ideas/PRs from the community.
> 
> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
> developer, what you see may cause you physical pain.
> 
> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
> patient and I withold the right to not respect any sort of SLA :-)
> 
> 
> -- 
> Regards
> 
> Chris Cowley
> http://about.me/chriscowley
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Chris Cowley
Don't see what Ansible has to do with this. In any case, I do not
actually like Ansible. It is not a tool that follows my logic, nor do I
like that it always seems to nudging me towards Ansible Tower.

I wanted a simple CLI that I can use to scratch my own personal itch and
thought I would share it with you guys.

On 27/11/16 10:07, Moran Goldboim wrote:
> Guys, can you please check out Ansible integration work for those use cases:
> a base Auth/Vms/Disks modules were introduced with Ansible 2.2 -
> https://docs.ansible.com/ansible/ovirt_vms_module.html
> https://docs.ansible.com/ansible/ovirt_disks_module.html
> https://docs.ansible.com/ansible/ovirt_auth_module.html
> https://github.com/ansible/ansible-modules-extras/tree/stable-2.2/cloud/ovirt
> 
> with many improvements coming soon with Ansible 2.3:
> https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt
> https://github.com/ansible/ansible-modules-extras/pulls?utf8=%E2%9C%93=is%3Apr%20is%3Aopen%20ovirt
> 
> it sounds like that for this use case, Ansible modules should be a great
> answer.
> 
> Moran.
> 
> On Sat, Nov 26, 2016 at 11:40 PM, Chris Cowley  > wrote:
> 
> A few reasons really. I fancied playing around with Click, so I made
> this as I was also digging around the oVirt API. My workstation at work
> is running Ubuntu, and I do not believe that ovirt-shell is packaged
> for it.
> 
> Also, choice is good.
> 
> Finally: because I didn't think of it.
> 
> On 26/11/16 22:24, Derek Atkins wrote:
> > Hi Chris,
> >
> > Just a quick question, but, why not just use ovirt-shell?
> > Or make this a wrapper around ovirt-shell?
> >
> > -derek
> >
> > On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
> >> Hi all
> >>
> >> I started hacking together something last night to use as a CLI to
> >> manage my oVirt clusters.
> >>
> >> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
> 
> >>
> >> Currently it can create/delete a VM, list the VMS, and I started a
> >> function to show the details, but all that does for now is return
> the ID.
> >>
> >> The plan is for it to evolve with my own needs, but I am open to
> >> ideas/PRs from the community.
> >>
> >> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
> >> developer, what you see may cause you physical pain.
> >>
> >> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
> >> patient and I withold the right to not respect any sort of SLA :-)
> >>
> >>
> >> --
> >> Regards
> >>
> >> Chris Cowley
> >> http://about.me/chriscowley
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org 
> >> http://lists.ovirt.org/mailman/listinfo/users
> 
> >>
> >
> >
> 
> 
> --
> Regards
> 
> Chris Cowley
> http://about.me/chriscowley
> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 


-- 
Regards

Chris Cowley
http://about.me/chriscowley



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] about gluster to host HA

2016-11-27 Thread Moran Goldboim
Hello,

can you please specify what do you mean by host HA, what are the modules
you are expecting to have HA for. would be great if you can give the user
story around it.

Thanks,
Moran.

On Sat, Nov 26, 2016 at 5:22 PM, 张 余歌  wrote:

> hello,each senior..
> i know how to use nfs to achieve host ha,can i use gluster to achieve host
> HA?
> if it can, how many hosts do i need to ready at least ?i google but i
> don't get some useful message
> best regard
>
> 获取 Outlook for Android 
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Moran Goldboim
Guys, can you please check out Ansible integration work for those use cases:
a base Auth/Vms/Disks modules were introduced with Ansible 2.2 -
https://docs.ansible.com/ansible/ovirt_vms_module.html
https://docs.ansible.com/ansible/ovirt_disks_module.html
https://docs.ansible.com/ansible/ovirt_auth_module.html
https://github.com/ansible/ansible-modules-extras/tree/stable-2.2/cloud/ovirt

with many improvements coming soon with Ansible 2.3:
https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt
https://github.com/ansible/ansible-modules-extras/pulls?utf8=%E2%9C%93=is%3Apr%20is%3Aopen%20ovirt

it sounds like that for this use case, Ansible modules should be a great
answer.

Moran.

On Sat, Nov 26, 2016 at 11:40 PM, Chris Cowley 
wrote:

> A few reasons really. I fancied playing around with Click, so I made
> this as I was also digging around the oVirt API. My workstation at work
> is running Ubuntu, and I do not believe that ovirt-shell is packaged for
> it.
>
> Also, choice is good.
>
> Finally: because I didn't think of it.
>
> On 26/11/16 22:24, Derek Atkins wrote:
> > Hi Chris,
> >
> > Just a quick question, but, why not just use ovirt-shell?
> > Or make this a wrapper around ovirt-shell?
> >
> > -derek
> >
> > On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
> >> Hi all
> >>
> >> I started hacking together something last night to use as a CLI to
> >> manage my oVirt clusters.
> >>
> >> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
> >>
> >> Currently it can create/delete a VM, list the VMS, and I started a
> >> function to show the details, but all that does for now is return the
> ID.
> >>
> >> The plan is for it to evolve with my own needs, but I am open to
> >> ideas/PRs from the community.
> >>
> >> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper
> >> developer, what you see may cause you physical pain.
> >>
> >> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be
> >> patient and I withold the right to not respect any sort of SLA :-)
> >>
> >>
> >> --
> >> Regards
> >>
> >> Chris Cowley
> >> http://about.me/chriscowley
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
> >
>
>
> --
> Regards
>
> Chris Cowley
> http://about.me/chriscowley
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.0.5 create vm from template on cinder/ceph backed storage

2016-11-27 Thread Matteo Dacrema
Hi all,


same problem here.
I see the same error in the logs.

Matteo


> Il giorno 25 nov 2016, alle ore 15:27, Nir Soffer  ha 
> scritto:
> 
> On Thu, Nov 24, 2016 at 11:03 PM, Jordan Conway
>  wrote:
>> I've got a problem where since upgrading to 4.0.5 I am still unable to
>> create a vm from a template.
>> The issue now is that it seems to be stuck in a loop trying to and failing
>> to create the vm, which is making my logs explode with the following
>> 
>> https://paste.fedoraproject.org/489161/14799981/
>> 
>> And in the engine UI "Failed to complete VM fromtemplate-1 creation."
>> thousands of times.
>> 
>> The issue started I believe with this sql error
>> 
>> https://paste.fedoraproject.org/489183/00010131/
>> 
>> Any insight on how I can stop the persistent error would be appreciated, as
>> it is also preventng me from running engine-setup due to running jobs, even
>> though vdsclient shows nothing.
>> 
>> vdsClient -s 0 getAllTasksStatuses
>> {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
> 
> Vdsm is not in the loop when using cinder/ceph storage, engine
> is creating volumes in ceph via cinder, not via vdsm.
> 
> Can you file a engine bug about this?
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
> 
> Nir
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> --
> Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non 
> infetto.
> Seguire il link qui sotto per segnalarlo come spam: 
> http://mx01.enter.it/cgi-bin/learn-msg.cgi?id=F0D8F402C2.A7C79
> 
> 

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