Re: [ovirt-users] ovirt-engine failed to check for updates

2017-02-01 Thread Victor Jose Acosta
So, that's the problem, engine is looking for updates for version 4, it 
does not matter if your node is version 3.6, i think this is a bug. 
Engine should be looking for node version updates instead of engine version.



On 01/02/17 17:33, users-requ...@ovirt.org wrote:

Re:  ovirt-engine failed to check for updates


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


Re: [ovirt-users] ovirt-engine failed to check for updates

2017-02-01 Thread Victor Jose Acosta

Hello

ovirt-imageio-daemon is part of ovirt 4 repository, is your engine
version 4 or 3.6?


On 01/02/17 16:37, users-requ...@ovirt.org wrote:

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

1. Re:  ovirt-engine failed to check for updates (Nicolas
   Ecarnot) (Victor Jose Acosta)


--

Message: 1
Date: Wed, 1 Feb 2017 16:37:35 -0300
From: Victor Jose Acosta <vic.a...@gmail.com>
To: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-engine failed to check for updates
(NicolasEcarnot)
Message-ID: <205a0dae-7d8a-1239-36b6-490a0e520...@gmail.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Hello

ovirt-imageio-daemon is part of ovirt 4 repository, is your engine
version 4 or 3.6?


On 01/02/17 16:22, users-requ...@ovirt.org wrote:

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

 1. Re:  ovirt-engine failed to check for updates (Nicolas Ecarnot)
 2. Re:  NIC Teaming x Bonding (Fernando Frediani)
 3. Re:  NIC Teaming x Bonding (Yaniv Kaul)
 4. Re:  NIC Teaming x Bonding (Fernando Frediani)
 5. Re:  ovirt-engine failed to check for updates (Michael Watters)
 6. Re:  VM has been paused due to storage I/O problem
(Gianluca Cecchi)


--

Message: 1
Date: Wed, 1 Feb 2017 18:18:20 +0100
From: Nicolas Ecarnot <nico...@ecarnot.net>
To: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-engine failed to check for updates
Message-ID: <a2fcc701-96ed-2bdc-dd98-630e814b7...@ecarnot.net>
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 01/02/2017 ? 17:37, Michael Watters a ?crit :

I have ovirt-engine 3.6 set up on a dedicated host which is managing
two ovirt hosts.  I am seeing errors when the engine attempts to
check for updates as follows.

Failed to check for available updates on host ovirt-node-production2
with message 'Command returned failure code 1 during SSH session
'root@ovirt-node-production2''.

I checked the logs on the host and it appears to be an issue with
yum.

2017-01-30 10:21:05 ERROR
otopi.plugins.ovirt_host_mgmt.packages.update update.error:102 Yum:
Cannot queue package ovirt-imageio-daemon: Package
ovirt-imageio-daemon cannot be found

2017-01-30 10:21:05 ERROR otopi.context context._executeMethod:151
Failed to execute stage 'Package installation': Package
ovirt-imageio-daemon cannot be found

Is there a way to resolve this?  I don't see any package named
ovirt-imageio-daemon in my repos when running a yum search.



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


Hello Michael,

Last time we spoke about this issue, it was the fault of ipV6 that had
to be turn down (I let you search the relevant posts).

-
cat /etc/sysctl.d/noipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
-



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


Re: [ovirt-users] ovirt-engine failed to check for updates (Nicolas Ecarnot)

2017-02-01 Thread Victor Jose Acosta

Hello

ovirt-imageio-daemon is part of ovirt 4 repository, is your engine
version 4 or 3.6?


On 01/02/17 16:22, users-requ...@ovirt.org wrote:

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

1. Re:  ovirt-engine failed to check for updates (Nicolas Ecarnot)
2. Re:  NIC Teaming x Bonding (Fernando Frediani)
3. Re:  NIC Teaming x Bonding (Yaniv Kaul)
4. Re:  NIC Teaming x Bonding (Fernando Frediani)
5. Re:  ovirt-engine failed to check for updates (Michael Watters)
6. Re:  VM has been paused due to storage I/O problem
   (Gianluca Cecchi)


--

Message: 1
Date: Wed, 1 Feb 2017 18:18:20 +0100
From: Nicolas Ecarnot 
To: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-engine failed to check for updates
Message-ID: 
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 01/02/2017 ? 17:37, Michael Watters a ?crit :

I have ovirt-engine 3.6 set up on a dedicated host which is managing
two ovirt hosts.  I am seeing errors when the engine attempts to
check for updates as follows.

Failed to check for available updates on host ovirt-node-production2
with message 'Command returned failure code 1 during SSH session
'root@ovirt-node-production2''.

I checked the logs on the host and it appears to be an issue with
yum.

2017-01-30 10:21:05 ERROR
otopi.plugins.ovirt_host_mgmt.packages.update update.error:102 Yum:
Cannot queue package ovirt-imageio-daemon: Package
ovirt-imageio-daemon cannot be found

2017-01-30 10:21:05 ERROR otopi.context context._executeMethod:151
Failed to execute stage 'Package installation': Package
ovirt-imageio-daemon cannot be found

Is there a way to resolve this?  I don't see any package named
ovirt-imageio-daemon in my repos when running a yum search.



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


Hello Michael,

Last time we spoke about this issue, it was the fault of ipV6 that had
to be turn down (I let you search the relevant posts).

-
cat /etc/sysctl.d/noipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
-



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


[ovirt-users] a2fcc701-96ed-2bdc-dd98-630e814b7...@ecarnot.net

2017-02-01 Thread Victor Jose Acosta

Hello

ovirt-imageio-daemon is part of ovirt 4 repository, is your engine 
version 4 or 3.6?

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


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

2016-12-01 Thread Victor Jose Acosta
yes can cause corruption, but i don't want to modify file system 
externally, i just want to read it and then copy to the production host 
by agent/scp or something



On 01/12/16 09:43, Yaniv Dary wrote:

I understand, you mean a single file restore use case.
This is usually done by a agent in the VM and not externally, since 
changing the file system externally can cause corruption.


Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem 
Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 
7692306 8272306 Email: yd...@redhat.com <mailto:yd...@redhat.com> IRC 
: ydary


On Wed, Nov 30, 2016 at 3:47 PM, Victor Jose Acosta 
<vic.a...@gmail.com <mailto:vic.a...@gmail.com>> wrote:


Ok ok

When you make a full restore you have a whole new VM, but what if
you just need  just one directory? "/etc/puppet/environments" for
example

So there is where granular backup works, because if you don't have
that option you will have to restore the whole VM, copy that
directory, then delete the restored VM

I don't know if my english is good enough to explain perfectly,
but do you understand my point?


On 30/11/16 10:36, Yaniv Dary wrote:


I believe that both full and granular restore can be done via the
API as we support offset uploads, can you give more details on
the different between these options?


-- 





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


Re: [ovirt-users] Users Digest, Vol 62, Issue 211

2016-11-30 Thread Victor Jose Acosta
Hello Allen,you can use the old api even if you have ovirt 4, using 
/ovirt-engine/api/v3 as base url. You can do it to earn time to work on 
this without having services not working


Regards

On 30/11/16 16:38, users-requ...@ovirt.org wrote:

Send Users mailing list submissions to
users@ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-requ...@ovirt.org

You can reach the person managing the list at
users-ow...@ovirt.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

1.  Python API ovirtsdk4 cloud-init script file upload  issue
   (Allen Swackhamer)
2. Re:  Network usage in ovirt dashboard? (Derek Atkins)
3.  Events not updated in Dashboard after clearing
   (Peter Michael Calum)


--

Message: 1
Date: Wed, 30 Nov 2016 12:22:01 -0600
From: Allen Swackhamer 
To: users@ovirt.org
Subject: [ovirt-users] Python API ovirtsdk4 cloud-init script file
upload  issue
Message-ID:

Content-Type: text/plain; charset="utf-8"

I am attempting to run a VM with a cloud-init script, but can't seem to get
the syntax working for the python ovirtsdk4 library.  We are running ovirt
4.

My cloud init script never appears to work and the users option does not
work either.  If I use root_password and user_name for types.Initialization
(as in the example below) it will generate the correct users, but if I put
in the types.CloudInit piece it will break it.

types.Initialization(
  user_name=cloud_init_username,
  root_password=cloud_init_password,
  regenerate_ssh_keys=True,
  host_name="testingcloudinit",
  nic_configurations=[
  types.NicConfiguration(
  boot_protocol=types.BootProtocol.DHCP,
  name='ens3',
  on_boot=True
  )
  ],
  custom_script=cloud_init_script
)


What I currently have is below.  cloud_init_script is the script I want to
run as a string.  Looking at the REST API documentation it shows that I
need to upload the file as a CDATA entry, but I am unsure of how I can
ensure that in python.  Is there potentially a way I could get the full XML
call in python to ensure API compliance?

vm_service.start(
 use_cloud_init=True,
 vm=types.Vm(
 initialization=types.Initialization(
 nic_configurations=[types.NicConfiguration(
 boot_protocol=types.BootProtocol.DHCP,
 name="ens3",
 on_boot=True
 )],
 cloud_init=types.CloudInit(
 files=[types.File(
 name="initialrunner",
 content=cloud_init_script,
 type="plaintext"
 ),
 ],
 users=[types.User(
 user_name=cloud_init_username,
 password=cloud_init_password
 )]
 )
 )
 )
)

Documentation that I have been using:
http://www.ovirt.org/develop/release-management/features/
cloud/cloud-init-integration/ (seems old and for a earlier ovirtsdk version)
http://cloudinit.readthedocs.io/en/latest/topics/examples.
html#run-commands-on-first-boot (official cloud init documentation)
https://www.mail-archive.com/users@ovirt.org/msg35549.html (message board
conversation about this REST API)
http://lists.ovirt.org/pipermail/users/2014-September/027198.html (about
the cloud-init script specifically)
http://lists.ovirt.org/pipermail/users/2014-November/028878.html (for a old
version of ovirtsdk it appears)
http://www.ovirt.org/develop/api/rest-api/rest-api/#How_
can_I_run_a_custom_script_using_cloud-init.3F (appears to be up to date but
just documents the REST API)
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Wed, 30 Nov 2016 14:12:28 -0500
From: Derek Atkins 
To: Yaniv Dary 
Cc: users 
Subject: Re: [ovirt-users] Network usage in ovirt dashboard?
Message-ID: 
Content-Type: text/plain

Yaniv Dary  writes:


It is static and you can't do this.
You can query the DWH database to get this info.

Thanks.  I was hoping for an mrtg-style graph.  I suppose I could create
an mrtg instance that measures that data.  It might be an interesting
future extension, especially if mrtg could integrate directly into the
engine database.

I'll take a look (in my copious amounts of free time) and let you know
what I discover.


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

2016-11-30 Thread Victor Jose Acosta

Ok ok

When you make a full restore you have a whole new VM, but what if you 
just need  just one directory? "/etc/puppet/environments" for example


So there is where granular backup works, because if you don't have that 
option you will have to restore the whole VM, copy that directory, then 
delete the restored VM


I don't know if my english is good enough to explain perfectly, but do 
you understand my point?



On 30/11/16 10:36, Yaniv Dary wrote:


I believe that both full and granular restore can be done via the API 
as we support offset uploads, can you give more details on the 
different between these options?


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


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

2016-11-30 Thread Victor Jose Acosta
Thanks Yaniv, i read about image io streaming after send that email, i 
will use it for my project.


I will explain to you what I'm trying to do:

- I'm creating a software to make full backup and restore of VMs using 
python and the backup/restore api


- The main difference is, i want to have the option to make a full 
restore or granular restore.


- The backup process is:

- Create snapshot off the vm

- Mount snapshot disk to a "backup vm"

- Identify device name of that disk, this means "/dev/vdc" and so on.

- Create a qcow2 image from disk

- Get vm configuration in a xml file

- Create a compressed file from both files

- Detach disk from backup vm

- Delete the snapshot

- The full recovery process is:

- Upload the qcow2 files throw image io api

- Create a new vm based on the xml file

- The granular recover process is:

- Mount the qcow2 image to as a loop device

- Copy files

I will create a kind of new format, this "new format" will be a .tgz 
file with:


- qcow2 images, ordered by number, example:

- 00-vm.qcow2

- 01-vm.qcow2

- the vm xml file

I working on this a few days ago, so if you are interested it will be a 
pleasure to me provide a solution to the community.


I will share this project when it's works at least the full 
backup/restore function


I love oVirt but the my main problem is create backup and share those 
VMs between DataCenters


So i decided to create a software to make oVirt even more powerful

About me: I'm not a developer, so be patient, I'm a sysadmin, actually a 
Red Hat Certified Engineer and VMWare Certified Associate




On 30/11/16 08:26, Yaniv Dary wrote:

It is planned to be replaced with the image IO streaming API.
With this API you will be able to upload and download VMs disks and 
snapshots.
We are also planning to add OVA download and upload in one of the next 
releases.

Until this is done we will not be removing the export domain.

Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem 
Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 
7692306 8272306 Email: yd...@redhat.com <mailto:yd...@redhat.com> IRC 
: ydary


On Sun, Nov 27, 2016 at 5:37 PM, Victor Jose Acosta 
<vic.a...@gmail.com <mailto:vic.a...@gmail.com>> wrote:


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 <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
<http://lists.ovirt.org/mailman/listinfo/users>




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