Re: [ovirt-users] Snapshot or not?

2017-11-16 Thread Demeter Tibor
Hi, 

https://pastebin.com/raw/cFrphHHh 

The problematic disk is 

  
  

  
  
  d1db6e0e-87d0-4124-8326-b18bff3fdf90
  
  
 

What can I do? 

Thank you for your time! 

Tibor 

- 2017. nov.. 16., 22:40, Nir Soffer  írta: 

> On Thu, Nov 16, 2017 at 7:11 PM Demeter Tibor < [ mailto:tdeme...@itsmart.hu |
> tdeme...@itsmart.hu ] > wrote:

>> Hi,
>> Sorry for my bad English:(

>> Ovirt could not import my VM and disks from original storge-domain. It is an 
>> NFS
>> share on a server.
>> Then I create an another NFS share on same storage and attached to ovirt as 
>> new
>> storgae domain.
>> At this step I've created a new VM on new storage-domain with same disks. 
>> (three
>> think provisioned, 100GB, 60GB and 13TB disks). It was necessary, because 
>> ovirt
>> cant import my original disks and VM from the re-attached storage domain.
>> Finally I renamed my old disks from old storage domain to new on new storgae
>> domain (it was possible because are there on same file system on nfs server)
>> At this moment only two virtual disk working fine. The 100 and 60GB disks 
>> does
>> working fine, but the 13TB is not. It has a snapshot. Or not? Is it a 
>> snapshot
>> or not?

>> My problem is inside VM I see the content as raw disk. I thing Ovirt don't 
>> want
>> to use it as a snapshotted image. Or what ?

> Demeter, can you share the output of this command on a host running your vm?

> virsh -r dumpxml vm-name

> Nir

>> Thank you.

>> Tibor

>> - 2017. nov.. 16., 15:57, Benny Zlotnik < [ mailto:bzlot...@redhat.com |
>> bzlot...@redhat.com ] > írta:

>>> Hi Tibor,
>>> Can you please explain this part: " After this I just wondered, I will make 
>>> a
>>> new VM with same disk and I will copy the images (really just rename) from
>>> original to recreated."
>>> What were the exact steps you took?

>>> Thanks

>>> On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor < [ 
>>> mailto:tdeme...@itsmart.hu |
>>> tdeme...@itsmart.hu ] > wrote:

 Hi,

 Thank you for your reply.

 So. I have a disk with snapshot. Or - really - I just think that is a 
 snapshot.
 It was attached originally to a VM (with other two disks, that is not have
 snapshot) I did a detach-attach-storage procedure, but after attach, - I 
 don't
 know why - ovirt could not import the VM and disks from this (ovirt said 
 it is
 not possible). After this I just wondered, I will make a new VM with same 
 disk
 and I will copy the images (really just rename) from original to recreated.

 It was partial success because the VM can boot, but the disk, where there 
 is a
 snapshot I can't read the LVM table. I see just it seems to corrupt.
 Now this disk in a very interested state: I can see the snapshot datas 
 from the
 vm as raw disk.
 I think Ovirt don't know that is a snapshotted image and attach to VM as 
 raw
 disk.

 So my really question, how can I add this disk image as good to ovirt?

 Please help me, it is very important me.:(

 Thanks in advance,

 Have a nice day,

 Tibor

 - 2017. nov.. 16., 11:55, Ala Hino < [ mailto:ah...@redhat.com |
 ah...@redhat.com ] > írta:

> Hi Tibor,
> I am not sure I completely understand the scenario.

> You have a VM with two disks and then you create a snapshot including the 
> two
> disks?
> Before creating the snapshot, did the VM recognize the two disks?

> On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor < [ 
> mailto:tdeme...@itsmart.hu |
> tdeme...@itsmart.hu ] > wrote:

>> Dear Users,

>> I have a disk of a vm, that is have a snapshot. It is very interesting, 
>> because
>> there are two other disk of that VM, but there are no snapshots of them.
>> I found this while I've try to migrate a storage-domain between two 
>> datacenter.
>> Because, I didn't import that vm from the storage domain, I did an 
>> another
>> similar VM with exactly same sized thin-provisioned disks. I have 
>> renamed,
>> copied to here my originals.

>> The VM started successfully, but the disk that contain a snapshot did not
>> recognized by the os. I can see the whole disk as raw. (disk id, format 
>> in
>> ovirt, filenames of images, etc) . I think ovirt don't know that is a
>> snapshotted image and use as raw. Is it possible?
>> I don't see any snapshot in snapshots. Also I have try to list snapshots 
>> with
>> qemu-img info and qemu-img snapshot -l , but it does not see any 
>> snapshots in
>> the image.

>> Really, I don't know how is possible this.

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> file format: qcow2
>> virtual size: 13T (13958643712000 bytes)
>> disk size: 12T
>> 

Re: [ovirt-users] Failed to open grubx64.efi

2017-11-16 Thread Magnus Isaksson
Hello

I got the same thing.

Tho, this post at comment 6 worked perfekt.
https://bugzilla.redhat.com/show_bug.cgi?id=1496762

//Magnus


On 16 November 2017 23:12:26 CET, Luca 'remix_tj' Lorenzetto 
 wrote:
>Il 16 nov 2017 9:36 PM, "Julio Cesar Bustamante" <
>julio.cesar.bustama...@gmail.com> ha scritto:
>
>Hi Luca.
>
>But do you have installed Ovirt without UEFI in production
>environments?.
>
>UEFI , is it necessary in production environments?.
>
>Hi Julio,
>
>No, at all. We have a setup of 7 nodes hp bl460 gen9 in legacy mode
>working
>like a charm.
>
>Luca

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to open grubx64.efi

2017-11-16 Thread Luca 'remix_tj' Lorenzetto
Il 16 nov 2017 9:36 PM, "Julio Cesar Bustamante" <
julio.cesar.bustama...@gmail.com> ha scritto:

Hi Luca.

But do you have installed Ovirt without UEFI in production environments?.

UEFI , is it necessary in production environments?.

Hi Julio,

No, at all. We have a setup of 7 nodes hp bl460 gen9 in legacy mode working
like a charm.

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


Re: [ovirt-users] Snapshot or not?

2017-11-16 Thread Nir Soffer
On Thu, Nov 16, 2017 at 7:11 PM Demeter Tibor  wrote:

> Hi,
> Sorry for my bad English:(
>
> Ovirt could not import my VM and disks from original storge-domain. It is
> an NFS share on a server.
> Then I create an another NFS share on same storage and attached to ovirt
> as new storgae domain.
> At this step I've created a new VM on new storage-domain with same disks.
> (three think provisioned, 100GB, 60GB and 13TB disks). It was necessary,
> because ovirt cant import my original disks and VM from the re-attached
> storage domain.
> Finally I renamed my old disks from old storage domain to new on new
> storgae domain (it was possible because are there on same file system on
> nfs server)
> At this moment only two virtual disk working fine. The 100 and 60GB disks
> does working fine, but the 13TB is not. It has a snapshot. Or not? Is it a
> snapshot or not?
>
> My problem is inside VM I  see the content as raw disk. I thing Ovirt
> don't want to use it as a snapshotted image. Or what ?
>

Demeter, can you share the output of this command on a host running your vm?

virsh -r dumpxml vm-name

Nir


>
> Thank you.
>
> Tibor
>
> - 2017. nov.. 16., 15:57, Benny Zlotnik  írta:
>
> Hi Tibor,
> Can you please explain this part: "After this I just wondered, I will
> make a new VM with same disk and I will copy the images (really just
> rename) from original to recreated."
> What were the exact steps you took?
>
> Thanks
>
> On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor 
> wrote:
>
>> Hi,
>>
>> Thank you for your reply.
>>
>> So. I have a disk with snapshot. Or - really - I just think that is a
>> snapshot. It was attached originally to a VM (with other two disks, that is
>> not have snapshot) I did a detach-attach-storage procedure, but after
>> attach, - I don't know why -  ovirt could not import the VM and disks from
>> this  (ovirt said it is not possible).  After this I just wondered, I will
>> make a new VM with same disk and I will copy the images (really just
>> rename) from original to recreated.
>>
>> It was partial success because the VM can boot, but the disk, where there
>> is a snapshot I can't read the LVM table. I see just it seems to corrupt.
>> Now this disk in a very interested state: I can see the snapshot datas
>> from the vm as raw disk.
>> I think Ovirt don't know that is a snapshotted image and attach to VM as
>> raw disk.
>>
>> So my really question, how can I add this disk image as good to ovirt?
>>
>> Please help me, it is very important me.:(
>>
>> Thanks in advance,
>>
>> Have a nice day,
>>
>> Tibor
>>
>>
>> - 2017. nov.. 16., 11:55, Ala Hino  írta:
>>
>> Hi Tibor,
>> I am not sure I completely understand the scenario.
>>
>> You have a VM with two disks and then you create a snapshot including the
>> two disks?
>> Before creating the snapshot, did the VM recognize the two disks?
>>
>> On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor 
>> wrote:
>>
>>> Dear Users,
>>>
>>> I have a disk of a vm, that is have a snapshot. It is very interesting,
>>> because there are two other disk of that VM, but there are no snapshots of
>>> them.
>>> I found this while I've try to migrate a storage-domain between two
>>> datacenter.
>>> Because, I didn't import that vm from the storage domain, I did an
>>> another similar VM with exactly same sized thin-provisioned disks. I have
>>> renamed, copied to here my originals.
>>>
>>> The VM started successfully, but the disk that contain a snapshot did
>>> not recognized by the os. I can see the whole disk as raw. (disk id, format
>>> in ovirt, filenames of images, etc) . I think ovirt don't know that is a
>>> snapshotted image and use as raw. Is it possible?
>>> I don't see any snapshot in snapshots. Also I have try to list snapshots
>>> with qemu-img info and qemu-img snapshot -l , but it does not see any
>>> snapshots in the image.
>>>
>>> Really, I don't know how is possible this.
>>>
>>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>>> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>>> file format: qcow2
>>> virtual size: 13T (13958643712000 bytes)
>>> disk size: 12T
>>> cluster_size: 65536
>>> backing file:
>>> ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f
>>> backing file format: raw
>>> Format specific information:
>>> compat: 0.10
>>>
>>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>>> image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
>>> file format: raw
>>> virtual size: 2.0T (2147483648000 bytes)
>>> disk size: 244G
>>>
>>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
>>> total 13096987560 <(309)%20698-7560>
>>> -rw-rw. 1 36 36 13149448896512 Nov 13 13:42
>>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>>> -rw-rw. 1 36 361048576 Nov 13 19:34
>>> 

Re: [ovirt-users] Failed to open grubx64.efi

2017-11-16 Thread Luca 'remix_tj' Lorenzetto
Hello Julio,

On Thu, Nov 16, 2017 at 6:41 PM, Julio Cesar Bustamante
 wrote:
> Hi there,
>
> I have installed Ovirt Host in a HS22 Blade Ibm, but I have this bug.
>
> Failed to open \efi\centos\grubx64.efi not found
> Falied to load image \EFI\centos\grubx64.efi Not found
>

I had the same problem with a newer Lenovo Blade (x240 M5, IIRC).
The problem is that ovirt-node-ng by default uses autopart with thin
provisioning and that partition scheme doesn't create /boot/efi drive.

Without that drive, grub-efi cannot be installed.

I switched my blades back to legacy only and everything worked as expected.

I'm planning to extend my tests with UEFI in future, but at the moment
i don't see the necessity switch from legacy mode.

Luca




-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NIC Bonding

2017-11-16 Thread Bryan Sockel
Understood.  Our typical server deployment is primary network link to one 
switch and back up link to a second switch.  This allows for my network 
admin to do switch maintenance with out any down time.  So in our ovirt 
deployment we have bonded link for one server going to switch 1 and on 
server 2 we have a bonded link going to switch 2.  We have to manually put 
the server in maintenance mode before he could do any switch maintenance.  
If there was an actual switch outage, we would have to wait for the system 
to restart the HA VM's on the other server.

I know there are ways on the switch side that we can make both switches 
appear as a single switch and possibly create a bond across switches, but 
that is not something we have implemented.

Thanks
Bryan Sockel
-Original Message-
From: Edward Haas 
To: Petr Horacek 
Cc: Bryan Sockel , users 
Date: Thu, 16 Nov 2017 09:10:39 +0200
Subject: Re: [ovirt-users] NIC Bonding



On Wed, Nov 15, 2017 at 1:52 PM, Petr Horacek  wrote:
Hello Bryan,

I'm afraid it is not possible with oVirt. You can only attach NICs to a 
bonding via the way Arthur suggested.

Regards,
Petr

2017-11-09 16:41 GMT+02:00 Bryan Sockel :
I have a similar setup i am trying to achieve, but i would like to create 2 
bonds to increase the bandwith and then configure 1 bond as a backup to the 
primary.  Is there some way to do this?

I would argue that such a setup is problematic. The bond link goes down only 
when all its slaves are down, therefore, if you loose one slave, the BW is 
decreased and the backup will not take over.
Using 3 or 4 slaves bond can allow you to get both increased BW and 
redundancy.

Thanks,
Edy.



Bryan Sockel

Sent using Alt-N's own MDaemon Messaging Server
Get to know the Alt-N family by liking us on Facebook!


-Original Message-
From: Arthur Melo 
To: magnus.isaks...@ilw.se
Cc: users 
Date: Mon, 6 Nov 2017 10:18:03 -0200
Subject: Re: [ovirt-users] NIC Bonding

Just drag and drop NICs then configure it to active/backup! :)

Atenciosamente,
Arthur Melo
Linux User #302250

 
2017-11-06 8:15 GMT-02:00 :
Hello!
I'm new(-ish) to oVirt and have a question regarding network.
I currently use vmware, the hosts have 4 nic each and connected to two 
switches in stack(extreme), i have two vSwitch with two nic each setup in 
active/standby, with this i don't have to do anything with the physical 
switch.
So how do i do this setup on oVirt so i don't need to configure the 
switches?
I know how to bond the cards, but i am afraid of a switchloop, so i just 
want to make sure that does not happen.

Regards
Magnus Isaksson

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


[ovirt-users] [ANN] oVirt 4.1.8 First Release Candidate is now available

2017-11-16 Thread Lev Veyde
The oVirt Project is pleased to announce the availability of the First Release
Candidate of oVirt 4.1.8, as of November 16th, 2017

This update is the eighth in a series of stabilization updates to the 4.1
series.

Starting from 4.1.5 oVirt supports libgfapi [5]. Using libgfapi provides a
real performance boost for ovirt when using GlusterFS .
Due  to a known issue [6], using this will break live storage migration.
This is expected to be fixed soon. If you do not use live storage
migration you can give it a try. Use [7] for more details on how to  enable
it.

This release is available now for:
* Red Hat Enterprise Linux 7.4 or later
* CentOS Linux (or similar) 7.4 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.4 or later
* CentOS Linux (or similar) 7.4 or later
* oVirt Node 4.1

See the release notes draft [3] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance is already available
- oVirt Live is already available[4]
- oVirt Node is already available[4]

Additional Resources:
* Read more about the oVirt 4.1.8 release highlights:
http://www.ovirt.org/release/4.1. 8
/ 
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] https://www.ovirt.org/community/
[2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
[3] http://www.ovirt.org/release/4.1. 8
/ 
[4] http://resources.ovirt.org/pub/ovirt-4.1-pre/iso/
[5]
http://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Features/libgfapi/
[6] https://bugzilla.redhat.com/show_bug.cgi?id=1306562
[7]
http://www.ovirt.org/develop/release-management/features/storage/glusterfs-storage-domain/

-- 

Lev Veyde

Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



l...@redhat.com | lve...@redhat.com

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


Re: [ovirt-users] Snapshot or not?

2017-11-16 Thread Demeter Tibor
Hi, 
Sorry for my bad English:( 

Ovirt could not import my VM and disks from original storge-domain. It is an 
NFS share on a server. 
Then I create an another NFS share on same storage and attached to ovirt as new 
storgae domain. 
At this step I've created a new VM on new storage-domain with same disks. 
(three think provisioned, 100GB, 60GB and 13TB disks). It was necessary, 
because ovirt cant import my original disks and VM from the re-attached storage 
domain. 
Finally I renamed my old disks from old storage domain to new on new storgae 
domain (it was possible because are there on same file system on nfs server) 
At this moment only two virtual disk working fine. The 100 and 60GB disks does 
working fine, but the 13TB is not. It has a snapshot. Or not? Is it a snapshot 
or not? 

My problem is inside VM I see the content as raw disk. I thing Ovirt don't want 
to use it as a snapshotted image. Or what ? 

Thank you. 

Tibor 

- 2017. nov.. 16., 15:57, Benny Zlotnik  írta: 

> Hi Tibor,
> Can you please explain this part: " After this I just wondered, I will make a
> new VM with same disk and I will copy the images (really just rename) from
> original to recreated."
> What were the exact steps you took?

> Thanks

> On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor < [ mailto:tdeme...@itsmart.hu 
> |
> tdeme...@itsmart.hu ] > wrote:

>> Hi,

>> Thank you for your reply.

>> So. I have a disk with snapshot. Or - really - I just think that is a 
>> snapshot.
>> It was attached originally to a VM (with other two disks, that is not have
>> snapshot) I did a detach-attach-storage procedure, but after attach, - I 
>> don't
>> know why - ovirt could not import the VM and disks from this (ovirt said it 
>> is
>> not possible). After this I just wondered, I will make a new VM with same 
>> disk
>> and I will copy the images (really just rename) from original to recreated.

>> It was partial success because the VM can boot, but the disk, where there is 
>> a
>> snapshot I can't read the LVM table. I see just it seems to corrupt.
>> Now this disk in a very interested state: I can see the snapshot datas from 
>> the
>> vm as raw disk.
>> I think Ovirt don't know that is a snapshotted image and attach to VM as raw
>> disk.

>> So my really question, how can I add this disk image as good to ovirt?

>> Please help me, it is very important me.:(

>> Thanks in advance,

>> Have a nice day,

>> Tibor

>> - 2017. nov.. 16., 11:55, Ala Hino < [ mailto:ah...@redhat.com |
>> ah...@redhat.com ] > írta:

>>> Hi Tibor,
>>> I am not sure I completely understand the scenario.

>>> You have a VM with two disks and then you create a snapshot including the 
>>> two
>>> disks?
>>> Before creating the snapshot, did the VM recognize the two disks?

>>> On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor < [ 
>>> mailto:tdeme...@itsmart.hu |
>>> tdeme...@itsmart.hu ] > wrote:

 Dear Users,

 I have a disk of a vm, that is have a snapshot. It is very interesting, 
 because
 there are two other disk of that VM, but there are no snapshots of them.
 I found this while I've try to migrate a storage-domain between two 
 datacenter.
 Because, I didn't import that vm from the storage domain, I did an another
 similar VM with exactly same sized thin-provisioned disks. I have renamed,
 copied to here my originals.

 The VM started successfully, but the disk that contain a snapshot did not
 recognized by the os. I can see the whole disk as raw. (disk id, format in
 ovirt, filenames of images, etc) . I think ovirt don't know that is a
 snapshotted image and use as raw. Is it possible?
 I don't see any snapshot in snapshots. Also I have try to list snapshots 
 with
 qemu-img info and qemu-img snapshot -l , but it does not see any snapshots 
 in
 the image.

 Really, I don't know how is possible this.

 [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
 5974fd33-af4c-4e3b-aadb-bece6054eb6b
 image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
 file format: qcow2
 virtual size: 13T (13958643712000 bytes)
 disk size: 12T
 cluster_size: 65536
 backing file:
 ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f
 backing file format: raw
 Format specific information:
 compat: 0.10

 [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
 723ad5aa-02f6-4067-ac75-0ce0a761627f
 image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
 file format: raw
 virtual size: 2.0T (2147483648000 bytes)
 disk size: 244G

 [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
 total [ tel:(309)%20698-7560 | 13096987560 ]
 -rw-rw. 1 36 36 13149448896512 Nov 13 13:42
 5974fd33-af4c-4e3b-aadb-bece6054eb6b
 -rw-rw. 1 36 36 1048576 Nov 13 19:34
 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease
 -rw-r--r--. 1 36 36 262 Nov 13 19:54 
 

[ovirt-users] Issue with ovirt-ansible-roles

2017-11-16 Thread Luca 'remix_tj' Lorenzetto
Hello,

i'm playing with ovirt-ansible-roles for building a standard
configuration to be applied to all my ovirt setups.

I downloaded ovirt-ansible-roles 1.1.1 from github and unpacked
examples, playbooks and roles on a directory
(/ansible/ovirt-ansible-roles/).

I created then this playbook:

==8<==8<==8<==8<==8<== ovirt_infra.yml ==8<==8<==8<==8<==8<==8<===

---
- name: oVirt infra
  hosts: localhost
  connection: local
  gather_facts: false

  vars_files:
- ovirt_infra_vars.yml
- passwords.yml

  pre_tasks:
- name: Login to oVirt
  ovirt_auth:
url: "{{ engine_url }}"
username: "{{ engine_user }}"
password: "{{ engine_password }}"
ca_file: "{{ engine_cafile | default(omit) }}"
insecure: "{{ engine_insecure | default(true) }}"
  tags:
- always
- name: Generate Hosts list
  set_fact:
hosts: "{{ hosts|default([]) + [ {'name': item.key, 'address':
item.key, 'cluster': item.value.cluster, 'password':
item.value.password|default('defaultpwd') } ] }}"
  with_dict: "{{ hosts_map }}"

  roles:
- ovirt-infra

  post_tasks:
- name: Logout from oVirt
  ovirt_auth:
state: absent
ovirt_auth: "{{ ovirt_auth }}"
  tags:
- always

==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<===


file passwords.yml declares engine_password, ovirt_infra_vars.yml
instead contain this vars:

==8<==8<==8<==8<==8<==8<== ovirt_infra_vars.yml ==8<==8<==8<==8<==8<===

---
engine_url: https://ovirtengine.intranet.company/ovirt-engine/api
engine_user: admin@internal
engine_insecure: True

compatibility_version: 4.1

data_center_name: Default

hosts_map:
  fltiovirt001.intranet.company:
cluster: production

clusters:
 - name: production
   cpu_type: Intel Westmere Family
   profile: production

==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<===


I did some pre-flight checks and everything seems ok:

playbooks > ansible --version
ansible 2.4.0.0
  config file = /ansible/ovirt-ansible-roles/playbooks/ansible.cfg
  configured module search path =
[u'/home/remixtj/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, May  3 2017, 07:55:04) [GCC 4.8.5
20150623 (Red Hat 4.8.5-14)]

playbooks > rpm -qa python-ovirt*
python-ovirt-engine-sdk4-4.1.6-1.el7ev.x86_64


So i hope that everything goes smooth, but...

playbooks > ansible-playbook ovirt_infra.yml
[DEPRECATION WARNING]: The use of 'include' for tasks has been
deprecated. Use 'import_tasks' for static inclusions or
'include_tasks' for dynamic
inclusions. This feature will be removed in a future release.
Deprecation warnings can be disabled by setting
deprecation_warnings=False in
ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but
usage is discouraged. The module documentation details page may
explain more
about this rationale.. This feature will be removed in a future
release. Deprecation warnings can be disabled by setting
deprecation_warnings=False
in ansible.cfg.

PLAY [oVirt infra]
***

TASK [Login to oVirt]

ok: [localhost]

TASK [Generate Hosts list]
***
ok: [localhost] => (item={'key': u'fltiovirt001.intranet.company,
'value': {u'cluster': u'production'}})

TASK [ovirt-mac-pools : set mac pools]
***

TASK [ovirt-datacenters : Add data center]
***
An exception occurred during task execution. To see the full
traceback, use -vvv. The error was: Error: Failed to read response.
[DEPRECATION WARNING]: The 'ovirt_datacenters' module is being renamed
'ovirt_datacenter'. This feature will be removed in version 2.8.
Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": false, "failed": true,
"msg": "Failed to read response."}

PLAY RECAP 
***
localhost  : ok=2changed=0unreachable=0failed=1


If i run with -vvv i get this traceback and details when running the
task TASK [ovirt-datacenters : Add data center]

The full traceback is:
Traceback (most recent call last):
  File "/tmp/ansible_mmZ02F/ansible_module_ovirt_datacenters.py", line

[ovirt-users] Are the external leases helping on MasterDomain failure?

2017-11-16 Thread Arman Khalatyan
Hi,
Is this document still valid?

https://www.ovirt.org/develop/release-management/features/storage/vm-leases/

If yes, I have a n question concerning the local SSD leases:
If the HA leases are going to the local host ssd storage, then due to
the Master Domain failure the HA will continue to run?
Or in which scenario external leases are helping to keep HA VM up and running?
thanks,
Arman.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot or not?

2017-11-16 Thread Benny Zlotnik
Hi Tibor,

Can you please explain this part: "After this I just wondered, I will make
a new VM with same disk and I will copy the images (really just rename)
from original to recreated."
What were the exact steps you took?

Thanks

On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor  wrote:

> Hi,
>
> Thank you for your reply.
>
> So. I have a disk with snapshot. Or - really - I just think that is a
> snapshot. It was attached originally to a VM (with other two disks, that is
> not have snapshot) I did a detach-attach-storage procedure, but after
> attach, - I don't know why -  ovirt could not import the VM and disks from
> this  (ovirt said it is not possible).  After this I just wondered, I will
> make a new VM with same disk and I will copy the images (really just
> rename) from original to recreated.
>
> It was partial success because the VM can boot, but the disk, where there
> is a snapshot I can't read the LVM table. I see just it seems to corrupt.
> Now this disk in a very interested state: I can see the snapshot datas
> from the vm as raw disk.
> I think Ovirt don't know that is a snapshotted image and attach to VM as
> raw disk.
>
> So my really question, how can I add this disk image as good to ovirt?
>
> Please help me, it is very important me.:(
>
> Thanks in advance,
>
> Have a nice day,
>
> Tibor
>
>
> - 2017. nov.. 16., 11:55, Ala Hino  írta:
>
> Hi Tibor,
> I am not sure I completely understand the scenario.
>
> You have a VM with two disks and then you create a snapshot including the
> two disks?
> Before creating the snapshot, did the VM recognize the two disks?
>
> On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor 
> wrote:
>
>> Dear Users,
>>
>> I have a disk of a vm, that is have a snapshot. It is very interesting,
>> because there are two other disk of that VM, but there are no snapshots of
>> them.
>> I found this while I've try to migrate a storage-domain between two
>> datacenter.
>> Because, I didn't import that vm from the storage domain, I did an
>> another similar VM with exactly same sized thin-provisioned disks. I have
>> renamed, copied to here my originals.
>>
>> The VM started successfully, but the disk that contain a snapshot did not
>> recognized by the os. I can see the whole disk as raw. (disk id, format in
>> ovirt, filenames of images, etc) . I think ovirt don't know that is a
>> snapshotted image and use as raw. Is it possible?
>> I don't see any snapshot in snapshots. Also I have try to list snapshots
>> with qemu-img info and qemu-img snapshot -l , but it does not see any
>> snapshots in the image.
>>
>> Really, I don't know how is possible this.
>>
>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> file format: qcow2
>> virtual size: 13T (13958643712000 bytes)
>> disk size: 12T
>> cluster_size: 65536
>> backing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-
>> 4067-ac75-0ce0a761627f
>> backing file format: raw
>> Format specific information:
>> compat: 0.10
>>
>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> file format: raw
>> virtual size: 2.0T (2147483648000 bytes)
>> disk size: 244G
>>
>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
>> total 13096987560 <(309)%20698-7560>
>> -rw-rw. 1 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-
>> bece6054eb6b
>> -rw-rw. 1 36 361048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-
>> bece6054eb6b.lease
>> -rw-r--r--. 1 36 36262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-
>> bece6054eb6b.meta
>> -rw-rw. 1 36 36  2147483648000 Jul  8  2016 723ad5aa-02f6-4067-ac75-
>> 0ce0a761627f
>> -rw-rw. 1 36 361048576 Jul  7  2016 723ad5aa-02f6-4067-ac75-
>> 0ce0a761627f.lease
>> -rw-r--r--. 1 36 36335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-
>> 0ce0a761627f.meta
>>
>> qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>>
>> (nothing)
>>
>> Because it is a very big (13 TB) disk I can't migrate to an another
>> image, because I don't have enough free space. So I just would like to use
>> it in ovirt like in the past.
>>
>> I have a very old ovirt (3.5)
>>
>> How can I use this disk?
>>
>> Thanks in advance,
>>
>> Regards,
>>
>> Tibor
>>
>>
>> ___
>> 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] Snapshot or not?

2017-11-16 Thread Demeter Tibor
Hi, 

Thank you for your reply. 

So. I have a disk with snapshot. Or - really - I just think that is a snapshot. 
It was attached originally to a VM (with other two disks, that is not have 
snapshot) I did a detach-attach-storage procedure, but after attach, - I don't 
know why - ovirt could not import the VM and disks from this (ovirt said it is 
not possible). After this I just wondered, I will make a new VM with same disk 
and I will copy the images (really just rename) from original to recreated. 

It was partial success because the VM can boot, but the disk, where there is a 
snapshot I can't read the LVM table. I see just it seems to corrupt. 
Now this disk in a very interested state: I can see the snapshot datas from the 
vm as raw disk. 
I think Ovirt don't know that is a snapshotted image and attach to VM as raw 
disk. 

So my really question, how can I add this disk image as good to ovirt? 

Please help me, it is very important me.:( 

Thanks in advance, 

Have a nice day, 

Tibor 

- 2017. nov.. 16., 11:55, Ala Hino  írta: 

> Hi Tibor,
> I am not sure I completely understand the scenario.

> You have a VM with two disks and then you create a snapshot including the two
> disks?
> Before creating the snapshot, did the VM recognize the two disks?

> On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor < [ 
> mailto:tdeme...@itsmart.hu |
> tdeme...@itsmart.hu ] > wrote:

>> Dear Users,

>> I have a disk of a vm, that is have a snapshot. It is very interesting, 
>> because
>> there are two other disk of that VM, but there are no snapshots of them.
>> I found this while I've try to migrate a storage-domain between two 
>> datacenter.
>> Because, I didn't import that vm from the storage domain, I did an another
>> similar VM with exactly same sized thin-provisioned disks. I have renamed,
>> copied to here my originals.

>> The VM started successfully, but the disk that contain a snapshot did not
>> recognized by the os. I can see the whole disk as raw. (disk id, format in
>> ovirt, filenames of images, etc) . I think ovirt don't know that is a
>> snapshotted image and use as raw. Is it possible?
>> I don't see any snapshot in snapshots. Also I have try to list snapshots with
>> qemu-img info and qemu-img snapshot -l , but it does not see any snapshots in
>> the image.

>> Really, I don't know how is possible this.

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> file format: qcow2
>> virtual size: 13T (13958643712000 bytes)
>> disk size: 12T
>> cluster_size: 65536
>> backing file:
>> ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f
>> backing file format: raw
>> Format specific information:
>> compat: 0.10

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> file format: raw
>> virtual size: 2.0T (2147483648000 bytes)
>> disk size: 244G

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
>> total [ tel:(309)%20698-7560 | 13096987560 ]
>> -rw-rw. 1 36 36 13149448896512 Nov 13 13:42
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> -rw-rw. 1 36 36 1048576 Nov 13 19:34
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease
>> -rw-r--r--. 1 36 36 262 Nov 13 19:54 
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b.meta
>> -rw-rw. 1 36 36 2147483648000 Jul 8 2016
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> -rw-rw. 1 36 36 1048576 Jul 7 2016
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease
>> -rw-r--r--. 1 36 36 335 Nov 13 19:52 
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f.meta

>> qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b

>> (nothing)

>> Because it is a very big (13 TB) disk I can't migrate to an another image,
>> because I don't have enough free space. So I just would like to use it in 
>> ovirt
>> like in the past.

>> I have a very old ovirt (3.5)

>> How can I use this disk?

>> Thanks in advance,

>> Regards,

>> Tibor

>> ___
>> Users mailing list
>> [ mailto:Users@ovirt.org | 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


Re: [ovirt-users] Migration from Redhat Virtualization Manager 2.2 to Ovirt 4.1

2017-11-16 Thread Eduardo Mayoral
Not sure if I understand your scenario correctly. I will try to help.

Can you deploy an ovirt manager managing a single oVirt host with a 2TB
SATA disk attached locally? Yes, you can.

But unless you are planning to make that setup grow afterwards by adding
extra hosts and probably shared storage, it does not make a lot of sense.

Also, the ovirt manager will have to be either a separate physical
server of a VM hosted elsewhere. For a self-hosted engine you will need
more than one oVirt host and some shared storage. I would say the
minimum setup would be 3 nodes and a shared storage, either external or
with gluster.

Also, RHEV 2.2 to oVirt 4.1 is a rally long version jump, probably
some of the wiser folks in the mailing list can give you better
information, but I think that you will probably not be able to do a
direct migration, you will either have to deploy new, export the VMs and
import them, or do upgrades to some intermediate versions first.

Eduardo Mayoral Jimeno (emayo...@arsys.es)
Administrador de sistemas. Departamento de Plataformas. Arsys internet.
+34 941 620 145 ext. 5153

On 16/11/17 00:48, Julio Cesar Bustamante wrote:
> Hi there,
>
> I have to migrate from Red Hat Virtualization Manager 2.2 to Ovirt
> 4.1. But I have a question, is it possible configure a Ovirt manager
> and a Ovirt Host with and a 2Tb sata disk and virtualize two o more
> virtual machine on this Ovirt host ?
>
> What do you recommed ?
>
>
>
> -- 
> Julio Cesar Bustamante.
>
>
> ___
> 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


[ovirt-users] Migration from Redhat Virtualization Manager 2.2 to Ovirt 4.1

2017-11-16 Thread Julio Cesar Bustamante
Hi there,

I have to migrate from Red Hat Virtualization Manager 2.2 to Ovirt 4.1. But
I have a question, is it possible configure a Ovirt manager and a Ovirt
Host with and a 2Tb sata disk and virtualize two o more virtual machine on
this Ovirt host ?

What do you recommed ?



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


Re: [ovirt-users] Unable to attach ISO images

2017-11-16 Thread Frank Rothenstein
Hi,

you can upload them directly to the storage via mount, scp, ssh etc or
you use the engine-iso-upload on the hosted engine via commandline.

Frank

Am Donnerstag, den 16.11.2017, 12:26 +0200 schrieb Rudi Ahlers:
> Hi Eduardo, 
> 
> Yes, it's a bit confusing. 
> 
> Ok, so how / where do I upload ISO files to use when setting up
> Virtual Machines?
> 
> On Thu, Nov 16, 2017 at 12:21 PM, Eduardo Mayoral 
> wrote:
> > I think you have been mislead by the user interface. "Attach ISO"
> > does not mean "Upload ISO image", it means "Attach an ISO storage
> > domain this data center". AFAIK you can only have one ISO storage
> > domain attached to a data center at the same time. (You can share
> > an ISO storage domain between different data centers)
> > I see from your screenshot that you already have one ISO storage
> > domain attached to the data center, that is why the option is
> > greyed out.
> > 
> > Eduardo Mayoral Jimeno (emayo...@arsys.es)
> > Administrador de sistemas. Departamento de Plataformas. Arsys
> > internet.
> > +34 941 620 145 ext. 5153
> > On 16/11/17 11:12, Rudi Ahlers wrote:
> > > Hi, 
> > > 
> > > I have setup oVirt Engine Version: 4.1.7.6-1.el7.centos with
> > > Hosted-engine, with a node Gluster cluster. When attempting to
> > > upload ISO images, the "Attach ISO" button is greyd out. 
> > > 
> > > How do I fix this?
> > > 
> > > 
> > > 
> > > -- 
> > > Kind Regards
> > > Rudi Ahlers
> > > Website: http://www.rudiahlers.co.za
> > > 
> > > 
> > > ___
> > > 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



Frank Rothenstein 

Systemadministrator
Fon: +49 3821 700 125
Fax: +49 3821 700 190Internet: www.bodden-kliniken.de
E-Mail: f.rothenst...@bodden-kliniken.de


_
BODDEN-KLINIKEN Ribnitz-Damgarten GmbH
Sandhufe 2
18311 Ribnitz-Damgarten

Telefon: 03821-700-0
Telefax: 03821-700-240

E-Mail: i...@bodden-kliniken.de 
Internet: http://www.bodden-kliniken.de

Sitz: Ribnitz-Damgarten, Amtsgericht: Stralsund, HRB 2919, Steuer-Nr.: 
079/133/40188
Aufsichtsratsvorsitzende: Carmen Schröter, Geschäftsführer: Dr. Falko Milski, 
MBA

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten 
bestimmt. Wenn Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, beachten 
Sie bitte, dass jede 
Form der Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser 
E-Mail unzulässig ist. 
Wir bitten Sie, sofort den Absender zu informieren und die E-Mail zu löschen. 

      © BODDEN-KLINIKEN Ribnitz-Damgarten GmbH 2017
*** Virenfrei durch Kerio Mail Server und SOPHOS Antivirus ***
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot or not?

2017-11-16 Thread Ala Hino
Hi Tibor,

I am not sure I completely understand the scenario.

You have a VM with two disks and then you create a snapshot including the
two disks?
Before creating the snapshot, did the VM recognize the two disks?

On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor  wrote:

> Dear Users,
>
> I have a disk of a vm, that is have a snapshot. It is very interesting,
> because there are two other disk of that VM, but there are no snapshots of
> them.
> I found this while I've try to migrate a storage-domain between two
> datacenter.
> Because, I didn't import that vm from the storage domain, I did an another
> similar VM with exactly same sized thin-provisioned disks. I have renamed,
> copied to here my originals.
>
> The VM started successfully, but the disk that contain a snapshot did not
> recognized by the os. I can see the whole disk as raw. (disk id, format in
> ovirt, filenames of images, etc) . I think ovirt don't know that is a
> snapshotted image and use as raw. Is it possible?
> I don't see any snapshot in snapshots. Also I have try to list snapshots
> with qemu-img info and qemu-img snapshot -l , but it does not see any
> snapshots in the image.
>
> Really, I don't know how is possible this.
>
> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
> file format: qcow2
> virtual size: 13T (13958643712000 bytes)
> disk size: 12T
> cluster_size: 65536
> backing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-
> 4067-ac75-0ce0a761627f
> backing file format: raw
> Format specific information:
> compat: 0.10
>
> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
> 723ad5aa-02f6-4067-ac75-0ce0a761627f
> image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
> file format: raw
> virtual size: 2.0T (2147483648000 bytes)
> disk size: 244G
>
> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
> total 13096987560 <(309)%20698-7560>
> -rw-rw. 1 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-
> bece6054eb6b
> -rw-rw. 1 36 361048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-
> bece6054eb6b.lease
> -rw-r--r--. 1 36 36262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-
> bece6054eb6b.meta
> -rw-rw. 1 36 36  2147483648000 Jul  8  2016 723ad5aa-02f6-4067-ac75-
> 0ce0a761627f
> -rw-rw. 1 36 361048576 Jul  7  2016 723ad5aa-02f6-4067-ac75-
> 0ce0a761627f.lease
> -rw-r--r--. 1 36 36335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-
> 0ce0a761627f.meta
>
> qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>
> (nothing)
>
> Because it is a very big (13 TB) disk I can't migrate to an another image,
> because I don't have enough free space. So I just would like to use it in
> ovirt like in the past.
>
> I have a very old ovirt (3.5)
>
> How can I use this disk?
>
> Thanks in advance,
>
> Regards,
>
> Tibor
>
>
> ___
> 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] Snapshot or not?

2017-11-16 Thread Demeter Tibor
Hi 
Somebody please? 

T. 

- 2017. nov.. 15., 7:20, Demeter Tibor  írta: 

> Hi,
> Can somebody help me?

> Thanks.

> T.

> - 2017. nov.. 13., 21:36, Demeter Tibor  írta:

>> Dear Users,

>> I have a disk of a vm, that is have a snapshot. It is very interesting, 
>> because
>> there are two other disk of that VM, but there are no snapshots of them.
>> I found this while I've try to migrate a storage-domain between two 
>> datacenter.
>> Because, I didn't import that vm from the storage domain, I did an another
>> similar VM with exactly same sized thin-provisioned disks. I have renamed,
>> copied to here my originals.

>> The VM started successfully, but the disk that contain a snapshot did not
>> recognized by the os. I can see the whole disk as raw. (disk id, format in
>> ovirt, filenames of images, etc) . I think ovirt don't know that is a
>> snapshotted image and use as raw. Is it possible?
>> I don't see any snapshot in snapshots. Also I have try to list snapshots with
>> qemu-img info and qemu-img snapshot -l , but it does not see any snapshots in
>> the image.

>> Really, I don't know how is possible this.

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> file format: qcow2
>> virtual size: 13T (13958643712000 bytes)
>> disk size: 12T
>> cluster_size: 65536
>> backing file:
>> ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f
>> backing file format: raw
>> Format specific information:
>> compat: 0.10

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> file format: raw
>> virtual size: 2.0T (2147483648000 bytes)
>> disk size: 244G

>> [root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
>> total 13096987560
>> -rw-rw. 1 36 36 13149448896512 Nov 13 13:42
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b
>> -rw-rw. 1 36 36 1048576 Nov 13 19:34
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease
>> -rw-r--r--. 1 36 36 262 Nov 13 19:54 
>> 5974fd33-af4c-4e3b-aadb-bece6054eb6b.meta
>> -rw-rw. 1 36 36 2147483648000 Jul 8 2016
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f
>> -rw-rw. 1 36 36 1048576 Jul 7 2016
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease
>> -rw-r--r--. 1 36 36 335 Nov 13 19:52 
>> 723ad5aa-02f6-4067-ac75-0ce0a761627f.meta

>> qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b

>> (nothing)

>> Because it is a very big (13 TB) disk I can't migrate to an another image,
>> because I don't have enough free space. So I just would like to use it in 
>> ovirt
>> like in the past.

>> I have a very old ovirt (3.5)

>> How can I use this disk?

>> Thanks in advance,

>> Regards,

>> Tibor

>> ___
>> 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] Hosted engine not starting up after system reboot

2017-11-16 Thread Simone Tiraboschi
On Thu, Nov 16, 2017 at 7:09 AM, Rudi Ahlers  wrote:

> I forgot to add:
>
> The file   /var/run/ovirt-hosted-engine-ha/vm.conf doesn't exist:
>
> [root@virt1 ~]# ll /var/run/ovirt-hosted-engine-ha/vm.conf
> ls: cannot access /var/run/ovirt-hosted-engine-ha/vm.conf: No such file
> or directory
> [root@virt1 ~]# ll /var/run/ovirt-hosted-engine-ha/
> total 8
> -rw-r--r--. 1 root root 5 Nov 16 08:05 agent.pid
> -rw-r--r--. 1 root root 5 Nov 16 06:45 broker.pid
> srwxr-xr-x. 1 vdsm kvm  0 Nov 16 06:45 broker.socket
>
> I am not sure how to get it (back?) or how to generate it?
>

Hi Rudi,
we have to understand what happened at setup time.
Do you still have hosted-engine-setup logs file under
/var/log/ovirt-hosted-engine-setup on your first host?
Could you please share it?


>
>
> On Thu, Nov 16, 2017 at 7:55 AM, Rudi Ahlers  wrote:
>
>> Hi,
>>
>> I wonder if someone can help. After a system reboot, the Hosted-Agent
>> isn't running. This is on a fresh installaion CentOS Linux release 7.4.1708
>> running ovirt-release41-4.1.7-1.el7.centos.noarch. Gluster is setup on 3
>> nodes, but hosted-engine is only setup on the 1st node for now.
>>
>> [root@virt1 ~]# hosted-engine --console
>> Virtual machine does not exist
>> The engine VM is not on this host
>>
>> [root@virt1 ~]# hosted-engine --vm-status
>> The hosted engine configuration has not been retrieved from shared
>> storage. Please ensure that ovirt-ha-agent is running and the storage
>> server is reachable.
>>
>>
>> [root@virt1 ~]# ps ax | grep ovirt-ha-agent
>> 41309 ?Rsl0:14 /usr/bin/python 
>> /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent
>> --no-daemon
>> 42818 pts/0S+ 0:00 grep --color=auto ovirt-ha-agent
>>
>>
>> [root@virt1 ~]# mount | grep engine
>> /dev/mapper/storage-engine on /storage/engine type xfs
>> (rw,relatime,seclabel,attr2,inode64,sunit=1024,swidth=2048,noquota)
>> virt1:/engine on /mnt/engine type fuse.glusterfs
>> (rw,relatime,user_id=0,group_id=0,default_permissions,allow_
>> other,max_read=131072)
>> virt1:/engine on /rhev/data-center/mnt/glusterSD/virt1:_engine type
>> fuse.glusterfs (rw,relatime,user_id=0,group_i
>> d=0,default_permissions,allow_other,max_read=131072)
>>
>>
>> And then I see this error:
>>
>> [root@virt1 ~]# systemctl status ovirt-ha-agent -l
>> ● ovirt-ha-agent.service - oVirt Hosted Engine High Availability
>> Monitoring Agent
>>Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service;
>> enabled; vendor preset: disabled)
>>Active: active (running) since Thu 2017-11-16 07:44:43 SAST; 4min 23s
>> ago
>>  Main PID: 41309 (ovirt-ha-agent)
>>CGroup: /system.slice/ovirt-ha-agent.service
>>└─41309 /usr/bin/python 
>> /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent
>> --no-daemon
>>
>> Nov 16 07:48:30 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
>> Please ensure you already added your first data domain for regular VMs
>> Nov 16 07:48:30 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> 'version' is not stored in the HE configuration image
>> Nov 16 07:48:39 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
>> Please ensure you already added your first data domain for regular VMs
>> Nov 16 07:48:39 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> 'version' is not stored in the HE configuration image
>> Nov 16 07:48:41 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
>> Please ensure you already added your first data domain for regular VMs
>> Nov 16 07:48:41 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR
>> 'version' is not stored in the HE configuration image
>> Nov 16 07:48:41 virt ovirt-ha-agent[41309]: ovirt-ha-agent
>> ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent
>> call last):
>> File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>> line 191, in _run_agent
>>   return
>> action(he)
>> File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>> line 64, in action_proper
>>   return
>> he.start_monitoring()
>> File
>> 

Re: [ovirt-users] where to change vnc password?

2017-11-16 Thread Yedidyah Bar David
On Thu, Nov 16, 2017 at 6:23 AM, Rudi Ahlers  wrote:
> Hi,
>
> I installed hosted-engine on a VM but failed to see the VNC password due to
> power failure. The hosted-engine VM is running now, but I don't know where
> to see or change the VNC password. Can someone please tell me where to
> change it?

hosted-engine --add-console-password

>
> --
> Kind Regards
> Rudi Ahlers
> Website: http://www.rudiahlers.co.za
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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