[ovirt-users] Re: Asking about snapshot concept

2018-05-27 Thread Eyal Shenitzky
Hey Terry,

When creating a snapshot it causes a new COW layer to be created over the
current layer.
All write actions performed after a snapshot is taken are written to the
new COW layer.

The format that supports the option of "growable" disks is sparse,
therefore, when creating a snapshot of the disk, the format must support
the option to add another layer and maintain the difference between them.

Regard to the snapshot size, it should contain all the changes between
the "old" disk layer (the snapshot) and the new layer (active snapshot) and
in order to achieve that, we should be able to mark each diff (note that
this is a qcow2 disk and not all the space is allocated).

You can look and search for another information here -
https://www.ovirt.org/documentation/admin-guide/

On Mon, May 28, 2018 at 6:21 AM, Terry hey  wrote:

> Dear all,
>
> I have a pre-allocated virtual machine.
> When i created a snapshot for that virtual machine, i found that it became
> thin-provision.
> And the size of the snapshot is same as the virtual machine.
> i would like to ask why these two behavior happened.
> 1. preallocated to thin provision
> 2. the size of snapshot is same as the disk size of virtual machine.
>
> Regards
> Terry
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>


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


[ovirt-users] Asking about snapshot concept

2018-05-27 Thread Terry hey
Dear all,

I have a pre-allocated virtual machine.
When i created a snapshot for that virtual machine, i found that it became
thin-provision.
And the size of the snapshot is same as the virtual machine.
i would like to ask why these two behavior happened.
1. preallocated to thin provision
2. the size of snapshot is same as the disk size of virtual machine.

Regards
Terry
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Unable to start VM on host with OVS networking

2018-05-27 Thread Sverker Abrahamsson
In my setup the reason why I attempted to use OVS/OVN is that I 
(currently) have two hosts in a data center (Hetzner) which does not 
have a common subnet. Each of these hosts have one public IPv4 address.


Because of that I want the ovirt networks to be on private ip ranges and 
they do not correspond to any physical network interfaces. I've been 
able to work around that by making dummy interfaces visible for vdsm to 
which it can bind the ovirtmgmt bridge.


It also means that I need to connect the obirtmgmt bridges on the two 
hosts with tunnels. With OVS I can set that up manually and it works 
great, issue is that vdsm wants to control the network interfaces and 
creates an OVS bridge with random name to attach ovirtmgmt port to, 
hence I have no convenient way to connect these bridges. I could put a 
hook in after_network_setup to create tunnels, but I suppose the OVS 
bridges needs to have the same name on both sides.


I want to use ovirt for a test environment with quite complex network, 
hence why OVN is desired to be able to set it up virtual.


With OVN + physnet as you describe it I assume I should get the desired 
functionality as ovirtmgmt needs to be present on all hosts. Since you 
disabled changing switch type in engine gui I changed it in db, don't 
know if anything more is needed, and in the vdsm persistent file. On 
vdsm level that works fine, the OVS bridge with random name is created 
with ovirtmgmt port, but as you write since 4.2.3 it no longer creates 
the port for hosted engine on the OVS bridge. I worked around that with 
a hook script that add the missing elements to interface section of the 
vm xml.


My understanding is that for OVN+physnet then OVS switch is needed but 
doesn't then the ovirtmgmt port has to be on an OVS bridge? If so then 
hosted engine must be able to connect it's port to the same bridge.


Next concern is where should the OVN databases be? With hosted-engine 
setup they are created on the vm which seems like a chicken and the egg 
issue to me as how could the hosts where ovn-controller runs be able to 
connect to db before the vm has started? In my setup the vm only have 
private address which means the other host is not able to reach ovn 
database until the virtual network has established.


Therefore I created OVN databases on one of the hosts, and configured 
with ssl cert/keys so that they are able to communicate fine. I 
configured ovirt-provider-ovn running on hosted engine vm to connect to 
the db host but even when ovn-remote is set to the correct address on 
the host the requests from ovirt-provider-ovn towards port 6641 still 
goes to the engine vm.


Are there any additional steps that is needed to take?

/Sverker


Den 2018-05-25 kl. 17:41, skrev Dan Kenigsberg:

I believe the user community deserves a little background for this
decision. OVS has been "experimental" since ovirt-4.0.z with migration
disabled by default. We were not aware of huge benefits it had
over the default Linux bridge, and did not expect people to be using
it in important deployments.

I would love to hear your experience regarding our OVS support, and
why you have chosen it.

In ovirt-4.2.0, the way in which VM libvirt definition is built has
changed considerably, and takes place in ovirt-engine, not in vdsm.
The vdsm code that supports OVS connectivity was disabled in
ovirt-4.2.3 which means that indeed, the experimental OVS feature is
no longer available for direct usage (unless you still use cluster
compatibility level 4.1)

However, as Thomas Davis explains, with OVN + physnet, ovirt-4.2 gives
you a matching functionality, including live migration out-of-the-box.
OVS switchtype was upgraded from "experimental" to "tech-preview". I'd
like to drop the advisory altogether, but we keep it because we still
have bugs and
missing features comparing to Linux bridge clusters.

We've blocked changing the switchtype of existing clusters because
this functionality is buggy (particularly on the SPM host), and as of
ovirt-4.2, we do not have code to support live migration from a Linux
bridge host to an OVS one. Only cold migration is possible. We kept it
open over REST to allow testing and bugfixes to that flow, as well as
usage by careful users.

Thanks for using oVirt and its new features, and for engaging with the
community.

Regards,
Dan.

On Tue, May 22, 2018 at 9:20 PM,   wrote:

The answer is..

OVN replaced OVS as the networking technology.  You cannot switch back to 
legacy, they disabled switching between ovs and legacy in the default (1st) 
datacenter using the gui.  You can however, use Ansible to switch it.

Remove the VDSM ovs setting, it will just mess you up, and it's not supported 
in 4.2

To able to migrate a VM in 4.2, you have use OVN with OVS.

I did this a few months back, on a 4.2.2 hosted-engine setup:

0) To setup a node in a cluster, make sure the cluster is in OVS, not
legacy.

1) Make sure you have an OVN controller setup somewhere. 

[ovirt-users] Fwd: External ceph storage

2018-05-27 Thread Leo David
-- Forwarded message -
From: Leo David 
Date: Sun, May 27, 2018, 20:01
Subject: Re: [ovirt-users] External ceph storage
To: Luca 'remix_tj' Lorenzetto 


Indeed, you right. Will setup the gws while waiting for a maybe future
native ceph connection, which in my oppinion would bring a lot of power to
oVirt.

On Sun, May 27, 2018, 19:48 Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> I think is the best option. Setting up a sma openstack setup only for it
> is not worth the hassle.
>
> Luca
>
> Il dom 27 mag 2018, 18:44 Leo David  ha scritto:
>
>> Ok, so since i dont have openstack installed (which would put cinder
>> between ceph and ovirt ), the only option remains the iscsi gw...
>> Thank you very much !
>>
>> On Sun, May 27, 2018, 18:14 Luca 'remix_tj' Lorenzetto <
>> lorenzetto.l...@gmail.com> wrote:
>>
>>> No,
>>>
>>> The only way you have is to configure cinder to manage ceph pool or in
>>> alternative you have to deploy an iscsi gateway, no other ways are
>>> available at the moment.
>>>
>>> So you can't use rbd directly.
>>>
>>> Luca
>>>
>>> Il dom 27 mag 2018, 16:54 Leo David  ha scritto:
>>>
 Thank you Luca,
 At the moment i would try the cinder storage provider, since we already
 have a proxmox cluster directly connecting to ceph. The problem is that I
 just could not find a straight way to do this.
 ie: Specify the ceph monitors and ceph pool to connect to. Can oVirt
 directly connect to ceph monitors ? How the configuration should be done if
 so ?
 Thank you very much !


 On Sun, May 27, 2018, 17:20 Luca 'remix_tj' Lorenzetto <
 lorenzetto.l...@gmail.com> wrote:

> Hello,
>
> Yes, using cinder or through iscsi gateway.
>
> For a simpler setup i suggest the second option.
>
> Luca
>
> Il dom 27 mag 2018, 16:08 Leo David  ha scritto:
>
>> Hello everyone,
>> I am new to ovirt and very impressed of its features. I would like to
>> levereage on our existing ceph cluster to provide rbd images for vm hdds,
>> is this possible to achieve ?
>> Thank you very much !
>> Regards,
>> Leo
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Failed to complete VM name creation fills the log every minute

2018-05-27 Thread acavasiljevic
Hi,

Could you please help.
Every 30 seconds I get an error "Failed to complete VM name creation"

The task was started but stopped after a while.

I have killed all tasks :

$ su - postgres
$ psql -d engine -U postgres
> select * from job order by start_time desc;
> select DeleteJob('702e9f6a-e2a3-4113-bd7d-3757ba6bc4ef');

I run:
oVirt Engine Version: 4.1.9.1-1.el7.centos

Thank you very much.

Best regards,

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: External ceph storage

2018-05-27 Thread Luca 'remix_tj' Lorenzetto
Remember always to reply to the list, youur feedback will return back to
the devs!



Il dom 27 mag 2018, 19:01 Leo David  ha scritto:

> Indeed, you right. Will setup the gws while waiting for a maybe future
> native ceph connection, which in my oppinion would bring a lot of power to
> oVirt.
>
> On Sun, May 27, 2018, 19:48 Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> I think is the best option. Setting up a sma openstack setup only for it
>> is not worth the hassle.
>>
>> Luca
>>
>> Il dom 27 mag 2018, 18:44 Leo David  ha scritto:
>>
>>> Ok, so since i dont have openstack installed (which would put cinder
>>> between ceph and ovirt ), the only option remains the iscsi gw...
>>> Thank you very much !
>>>
>>> On Sun, May 27, 2018, 18:14 Luca 'remix_tj' Lorenzetto <
>>> lorenzetto.l...@gmail.com> wrote:
>>>
 No,

 The only way you have is to configure cinder to manage ceph pool or in
 alternative you have to deploy an iscsi gateway, no other ways are
 available at the moment.

 So you can't use rbd directly.

 Luca

 Il dom 27 mag 2018, 16:54 Leo David  ha scritto:

> Thank you Luca,
> At the moment i would try the cinder storage provider, since we
> already have a proxmox cluster directly connecting to ceph. The problem is
> that I just could not find a straight way to do this.
> ie: Specify the ceph monitors and ceph pool to connect to. Can oVirt
> directly connect to ceph monitors ? How the configuration should be done 
> if
> so ?
> Thank you very much !
>
>
> On Sun, May 27, 2018, 17:20 Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> Hello,
>>
>> Yes, using cinder or through iscsi gateway.
>>
>> For a simpler setup i suggest the second option.
>>
>> Luca
>>
>> Il dom 27 mag 2018, 16:08 Leo David  ha scritto:
>>
>>> Hello everyone,
>>> I am new to ovirt and very impressed of its features. I would like
>>> to levereage on our existing ceph cluster to provide rbd images for vm
>>> hdds, is this possible to achieve ?
>>> Thank you very much !
>>> Regards,
>>> Leo
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: External ceph storage

2018-05-27 Thread Luca 'remix_tj' Lorenzetto
I think is the best option. Setting up a sma openstack setup only for it is
not worth the hassle.

Luca

Il dom 27 mag 2018, 18:44 Leo David  ha scritto:

> Ok, so since i dont have openstack installed (which would put cinder
> between ceph and ovirt ), the only option remains the iscsi gw...
> Thank you very much !
>
> On Sun, May 27, 2018, 18:14 Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> No,
>>
>> The only way you have is to configure cinder to manage ceph pool or in
>> alternative you have to deploy an iscsi gateway, no other ways are
>> available at the moment.
>>
>> So you can't use rbd directly.
>>
>> Luca
>>
>> Il dom 27 mag 2018, 16:54 Leo David  ha scritto:
>>
>>> Thank you Luca,
>>> At the moment i would try the cinder storage provider, since we already
>>> have a proxmox cluster directly connecting to ceph. The problem is that I
>>> just could not find a straight way to do this.
>>> ie: Specify the ceph monitors and ceph pool to connect to. Can oVirt
>>> directly connect to ceph monitors ? How the configuration should be done if
>>> so ?
>>> Thank you very much !
>>>
>>>
>>> On Sun, May 27, 2018, 17:20 Luca 'remix_tj' Lorenzetto <
>>> lorenzetto.l...@gmail.com> wrote:
>>>
 Hello,

 Yes, using cinder or through iscsi gateway.

 For a simpler setup i suggest the second option.

 Luca

 Il dom 27 mag 2018, 16:08 Leo David  ha scritto:

> Hello everyone,
> I am new to ovirt and very impressed of its features. I would like to
> levereage on our existing ceph cluster to provide rbd images for vm hdds,
> is this possible to achieve ?
> Thank you very much !
> Regards,
> Leo
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Failing to install self hosted engine - 4.2.4

2018-05-27 Thread Simone Tiraboschi
On Sun, May 27, 2018 at 11:32 AM, Maton, Brett 
wrote:

> Thanks Simone,
>
>   I think the problem is that /tmp is mounted noexec by default on my
> servers.
>   Remounting and enabling exec seems to fix the problem.
>
>   I think that allowing users to specify a working temp space would be
> better than assuming that /tmp is mounted exec and also in my case big
> enough to store the hosted engine vm (which the installer doesn't check, it
> just fails late in the install process).
>
>

If you execute hosted-engine-setup from CLI it will honor TMPDIR env
variable (with /var/tmp as default) but I don't think your issue is there
indeed your bootstrap engine VM was running.
Your issue was related to the execution of host-deploy code: host-deploy is
the code used to configure the host to be used as an hypervisor, the engine
copies it over ssh to the host under /tmp and executes it there so your
issue with noexec on /tmp.
I'm not aware of any way to customize host-deploy location.


> Regards,
> Brett
>
> On 26 May 2018 at 21:25, Simone Tiraboschi  wrote:
>
>>
>>
>> On Sat, May 26, 2018 at 11:10 AM, Maton, Brett 
>> wrote:
>>
>>> Hi,
>>>
>>>   I can't see in the log what the problem is, I expect it's something
>>> simple though...
>>>   Hoping that someone can see what the problem is.
>>>
>>>   engine setup log attached.
>>>
>>
>> 2018-05-26 09:56:09,676+0100 ERROR 
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:98 fatal: [localhost]: FAILED! =>
>> {"ansible_facts": {"ovirt_hosts": [{"address": "node1.example.com",
>> "affinity_labels": [], "auto_numa_status": "unknown", "certificate":
>> {"organization": "testlab.lan", "subject": "O=testlab.lan,CN=node1.exampl
>> e.com"}, "cluster": {"href": "/ovirt-engine/api/clusters/dd
>> a509fe-60c0-11e8-ac4e-00163e2285d7", "id": 
>> "dda509fe-60c0-11e8-ac4e-00163e2285d7"},
>> "comment": "", "cpu": {"speed": 0.0, "topology": {}}, "device_passthrough":
>> {"enabled": false}, "devices": [], 
>> "external_network_provider_configurations":
>> [], "external_status": "ok", "hardware_information":
>> {"supported_rng_sources": []}, "hooks": [], "href":
>> "/ovirt-engine/api/hosts/b0976daa-e4b5-4881-a59b-49f9eb51f7c5", "id":
>> "b0976daa-e4b5-4881-a59b-49f9eb51f7c5", "katello_errata": [],
>> "kdump_status": "unknown", "ksm": {"enabled": false},
>> "max_scheduling_memory": 0, "memory": 0, "name": "node1.example.com",
>> "network_attachments": [], "nics": [], "numa_nodes": [], "numa_supported":
>> false, "os": {"custom_kernel_cmdline": ""}, "permissions": [], "port":
>> 54321, "power_management": {"automatic_pm_enabled": true, "enabled": false,
>> "kdump_detection": true, "pm_proxies": []}, "protocol": "stomp",
>> "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh":
>> {"fingerprint": "SHA256:xh1kvHMx+qp3q2L4lxf4fwra9lCAVxlfAGiVBVa7I7M",
>> "port": 22}, "statistics": [], "status": "install_failed",
>> "storage_connection_extensions": [], "summary": {"total": 0}, "tags":
>> [], "transparent_huge_pages": {"enabled": false}, "type": "rhel",
>> "unmanaged_networks": [], "update_available": false}]}, "attempts": 120,
>> "changed": false}
>>
>> The engine failed to deploy your host and indeed we see "status":
>> "install_failed"
>> but to understand why it failed you have to consult host-deploy logs.
>> You can find them under /var/log/ovirt-engine/host-deploy on the engine
>> VM or also on your host in a directory inside hosted-engine-setup logs dir
>> if hosted-engine-setup correctly managed to fetch them from the engine VM.
>>
>>
>>
>>>
>>> Regards,
>>> Brett
>>>
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: External ceph storage

2018-05-27 Thread Luca 'remix_tj' Lorenzetto
No,

The only way you have is to configure cinder to manage ceph pool or in
alternative you have to deploy an iscsi gateway, no other ways are
available at the moment.

So you can't use rbd directly.

Luca

Il dom 27 mag 2018, 16:54 Leo David  ha scritto:

> Thank you Luca,
> At the moment i would try the cinder storage provider, since we already
> have a proxmox cluster directly connecting to ceph. The problem is that I
> just could not find a straight way to do this.
> ie: Specify the ceph monitors and ceph pool to connect to. Can oVirt
> directly connect to ceph monitors ? How the configuration should be done if
> so ?
> Thank you very much !
>
>
> On Sun, May 27, 2018, 17:20 Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> Hello,
>>
>> Yes, using cinder or through iscsi gateway.
>>
>> For a simpler setup i suggest the second option.
>>
>> Luca
>>
>> Il dom 27 mag 2018, 16:08 Leo David  ha scritto:
>>
>>> Hello everyone,
>>> I am new to ovirt and very impressed of its features. I would like to
>>> levereage on our existing ceph cluster to provide rbd images for vm hdds,
>>> is this possible to achieve ?
>>> Thank you very much !
>>> Regards,
>>> Leo
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: External ceph storage

2018-05-27 Thread Luca 'remix_tj' Lorenzetto
Hello,

Yes, using cinder or through iscsi gateway.

For a simpler setup i suggest the second option.

Luca

Il dom 27 mag 2018, 16:08 Leo David  ha scritto:

> Hello everyone,
> I am new to ovirt and very impressed of its features. I would like to
> levereage on our existing ceph cluster to provide rbd images for vm hdds,
> is this possible to achieve ?
> Thank you very much !
> Regards,
> Leo
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] External ceph storage

2018-05-27 Thread Leo David
Hello everyone,
I am new to ovirt and very impressed of its features. I would like to
levereage on our existing ceph cluster to provide rbd images for vm hdds,
is this possible to achieve ?
Thank you very much !
Regards,
Leo
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread dhy336
hi Yanirthis is my vdsm.log  vdsm run prepareForShutdown lead to engine VM 
shudown? why shutdown engine VM,when deploy hosted engine? thanks
2018-05-27 18:24:16,020+0800 INFO  (MainThread) [vds] Received signal 15, 
shutting down (vdsmd:67)2018-05-27 18:24:21,028+0800 INFO  (MainThread) 
[jsonrpc.JsonRpcServer] Stopping JsonRPC Server (__init__:703)2018-05-27 
18:24:21,030+0800 INFO  (MainThread) [vds] Stopping http server 
(http:79)2018-05-27 18:24:21,030+0800 INFO  (http) [vds] Server stopped 
(http:69)2018-05-27 18:24:21,031+0800 INFO  (MainThread) [root] Unregistering 
all secrets (secret:91)2018-05-27 18:24:21,031+0800 INFO  (MainThread) [vds] 
Stopping QEMU-GA poller (qemuguestagent:116)2018-05-27 18:24:21,032+0800 INFO  
(MainThread) [vdsm.api] START prepareForShutdown(options=None) from=internal, 
task_id=d3137135-e4f8-44ef-ac4c-d1687606fb02 (api:46)2018-05-27 
18:24:21,094+0800 INFO  (MainThread) [storage.Monitor] Shutting down domain 
monitors (monitor:222)2018-05-27 18:24:21,094+0800 INFO  (MainThread) 
[storage.check] Stopping check service (check:104)2018-05-27 18:24:21,094+0800 
INFO  (check/loop) [storage.asyncevent] Stopping  (asyncevent:220)
- Original Message -
From: 
To: "Yanir Quinn" 
Cc: users 
Subject: [ovirt-users] Re: hosted engine setup error
Date: 2018-05-27 18:51

thanks, I find when hosted-engine -deloy run  [Get ovirtmgmt route table id], 
my engine VM is shutdown,and /var/log/message show my engine vm is powered down 
by guest-shutdown,[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: 
[localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list 
| grep ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.004175", "end": "2018-05-26 17:41:11.892218", "rc": 0, "start": 
"2018-05-26 17:41:11.888043", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources[ INFO  ] TASK [Gathering Facts][ INFO  ] ok: [localhost][ INFO  ] 
TASK [Remove local vm dir]
/var/log/message
May 26 09:32:23 engine systemd: Reloading.May 26 09:32:24 engine python: 
ansible-file Invoked with directory_mode=None force=False remote_src=None 
path=/root/heanswers.conf owner=None follow=False group=None unsafe_writes=None 
state=absent content=NOT_LOGGING_PARAMETER serole=None diff_peek=None 
setype=None selevel=None original_basename=None regexp=None validate=None 
src=None seuser=None recurse=False delimiter=None mode=None attributes=None 
backup=NoneMay 26 09:32:38 engine systemd-logind: Removed session 3.May 26 
09:32:48 engine qemu-ga: info: guest-shutdown called, mode: powerdownMay 26 
09:32:48 engine systemd: Started Delayed Shutdown Service.May 26 09:32:48 
engine systemd: Starting Delayed Shutdown Service...May 26 09:32:48 engine 
systemd-shutdownd: Shutting down at Sat 2018-05-26 17:32:48 CST 
(poweroff)...May 26 09:32:48 engine systemd-shutdownd: Creating /run/nologin, 
blocking further logins...May 26 09:32:48 engine systemd: Stopping QEMU Guest 
Agent...May 26 09:32:48 engine systemd: Stopping Session 1 of user root.May 26 
09:32:48 engine systemd: Stopped target Multi-User System.May 26 09:32:48 
engine systemd: Stopping Multi-User System.May 26 09:32:48 engine systemd: 
Stopped Execute cloud user/final scripts.May 26 09:32:48 engine systemd: 
Stopping Execute cloud user/final scripts...May 26 09:32:48 engine systemd: 
Stopping oVirt Engine...May 26 09:32:48 engine sshd[24523]: Received signal 15; 
terminating.May 26 09:32:48 engine systemd: Stopping OpenSSH server 
daemon...May 26 09:32:48 engine systemd: Stopping The Apache HTTP 
Server...- Original Message -
From: Yanir Quinn 
To: dhy...@sina.com
Cc: users 
Subject: Re: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-27 16:46

According to BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1540451#c19you 
should retry with a newer kernel >= -851  if possible .If you still get the 
error please provide full setup and vdsm logs. 



On Fri, May 25, 2018 at 11:54 AM,   wrote:
Hi thanks for your reponse, I try to do by your guide, but it is not work. my 
kernel version is 3.10.0-693.11.1.el7.x86_64.besides, I try to do hosted-engine 
--deploy in my Virtual machine is work. but it is not work in Physical Machine

- Original Message -
From: Yanir Quinn 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-24 18:35

Hi
There is a BZ with a similar issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1546839

To sum things up,  try stopping the network manager and restarting your network 
if you are using a RH distribution, e,g. :
systemctl stop NetworkManager
systemctl restart networkAnd check what is your kernel version. 



[ovirt-users] Re: Bad volume specification

2018-05-27 Thread Oliver Riesener
Hi,

check what wrong with your **PATH**:

permissions, lvm, device-mapper, NFS, iSCSI, etc.

> Am 27.05.2018 um 15:28 schrieb Bryan Sockel :
> 
>  'path': 
> '/rhev/data-center/9e7d643c-592d-11e8-82eb-005056b41d15/2b79768f-a329-4eab-81e0-120a81ac8906/images/ec7a3258-7a99-4813-aa7d-dceb727a1975/8f4ddee4-68b3-48e9-be27-0231557f5218'

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Bad volume specification

2018-05-27 Thread Bryan Sockel
Hi,

I am having to rebuild my ovirt instance for a couple of reasons.  I have 
setup a temporary ovirt portal to migrate my setup to while i rebuild my 
production portal.  

I have run int a couple of VM's that will no longer start.  

Everything that i am seeing is identical to this article - 
https://access.redhat.com/solutions/2423391

VM devel-build is down with error. Exit message: Bad volume specification 
{'serial': 'ec7a3258-7a99-4813-aa7d-dceb727a1975', 'index': 0, 'iface': 
'virtio', 'apparentsize': '1835008', 'specParams': {}, 'cache': 'none', 
'imageID': 'ec7a3258-7a99-4813-aa7d-dceb727a1975', 'truesize': '1777664', 
'type': 'disk', 'domainID': '2b79768f-a329-4eab-81e0-120a81ac8906', 
'reqsize': '0', 'format': 'cow', 'poolID': 
'9e7d643c-592d-11e8-82eb-005056b41d15', 'device': 'disk', 'path': 
'/rhev/data-center/9e7d643c-592d-11e8-82eb-005056b41d15/2b79768f-a329-4eab-81e0-120a81ac8906/images/ec7a3258-7a99-4813-aa7d-dceb727a1975/8f4ddee4-68b3-48e9-be27-0231557f5218',
 
'propagateErrors': 'off', 'name': 'vda', 'bootOrder': '1', 'volumeID': 
'8f4ddee4-68b3-48e9-be27-0231557f5218', 'diskType': 'file', 'alias': 
'ua-ec7a3258-7a99-4813-aa7d-dceb727a1975', 'discard': False}.


Currently running version 4.2.3.5-1

Is there anyway to recover the image, or even just be able to mount the 
drive to another vm to extract data.

Thank You


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread dhy336
thanks, I find when hosted-engine -deloy run  [Get ovirtmgmt route table id], 
my engine VM is shutdown,and /var/log/message show my engine vm is powered down 
by guest-shutdown,[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: 
[localhost]: FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list 
| grep ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.004175", "end": "2018-05-26 17:41:11.892218", "rc": 0, "start": 
"2018-05-26 17:41:11.888043", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources[ INFO  ] TASK [Gathering Facts][ INFO  ] ok: [localhost][ INFO  ] 
TASK [Remove local vm dir]
/var/log/message
May 26 09:32:23 engine systemd: Reloading.May 26 09:32:24 engine python: 
ansible-file Invoked with directory_mode=None force=False remote_src=None 
path=/root/heanswers.conf owner=None follow=False group=None unsafe_writes=None 
state=absent content=NOT_LOGGING_PARAMETER serole=None diff_peek=None 
setype=None selevel=None original_basename=None regexp=None validate=None 
src=None seuser=None recurse=False delimiter=None mode=None attributes=None 
backup=NoneMay 26 09:32:38 engine systemd-logind: Removed session 3.May 26 
09:32:48 engine qemu-ga: info: guest-shutdown called, mode: powerdownMay 26 
09:32:48 engine systemd: Started Delayed Shutdown Service.May 26 09:32:48 
engine systemd: Starting Delayed Shutdown Service...May 26 09:32:48 engine 
systemd-shutdownd: Shutting down at Sat 2018-05-26 17:32:48 CST 
(poweroff)...May 26 09:32:48 engine systemd-shutdownd: Creating /run/nologin, 
blocking further logins...May 26 09:32:48 engine systemd: Stopping QEMU Guest 
Agent...May 26 09:32:48 engine systemd: Stopping Session 1 of user root.May 26 
09:32:48 engine systemd: Stopped target Multi-User System.May 26 09:32:48 
engine systemd: Stopping Multi-User System.May 26 09:32:48 engine systemd: 
Stopped Execute cloud user/final scripts.May 26 09:32:48 engine systemd: 
Stopping Execute cloud user/final scripts...May 26 09:32:48 engine systemd: 
Stopping oVirt Engine...May 26 09:32:48 engine sshd[24523]: Received signal 15; 
terminating.May 26 09:32:48 engine systemd: Stopping OpenSSH server 
daemon...May 26 09:32:48 engine systemd: Stopping The Apache HTTP 
Server...- Original Message -
From: Yanir Quinn 
To: dhy...@sina.com
Cc: users 
Subject: Re: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-27 16:46

According to BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1540451#c19you 
should retry with a newer kernel >= -851  if possible .If you still get the 
error please provide full setup and vdsm logs. 



On Fri, May 25, 2018 at 11:54 AM,   wrote:
Hi thanks for your reponse, I try to do by your guide, but it is not work. my 
kernel version is 3.10.0-693.11.1.el7.x86_64.besides, I try to do hosted-engine 
--deploy in my Virtual machine is work. but it is not work in Physical Machine

- Original Message -
From: Yanir Quinn 
To: dhy...@sina.com
Cc: users 
Subject: Re: [ovirt-users] hosted engine setup error
Date: 2018-05-24 18:35

Hi
There is a BZ with a similar issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1546839

To sum things up,  try stopping the network manager and restarting your network 
if you are using a RH distribution, e,g. :
systemctl stop NetworkManager
systemctl restart networkAnd check what is your kernel version. 


On Wed, May 23, 2018 at 5:03 PM,   wrote:
hiI deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but 
face some error bridge ovirtmgmt is not configure, i should how to do? thanks

[ INFO  ] TASK [Get ovirtmgmt route table id][ ERROR ] fatal: [localhost]: 
FAILED! => {"attempts": 50, "changed": true, "cmd": "ip rule list | grep 
ovirtmgmt | sed s/[.*]\\ //g | awk '{ print $9 }'", "delta": 
"0:00:00.010899", "end": "2018-05-23 20:03:21.222559", "rc": 0, "start": 
"2018-05-23 20:03:21.211660", "stderr": "", "stderr_lines": [], "stdout": "", 
"stdout_lines": []}[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources

vdsm.log
2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started 
(vm:2619)2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection 
(guestagent:245)2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm] 
(vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest agent 
channel (vm:2403)Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in 
_vmDependentInitself.guestAgent.start()  File 

[ovirt-users] Re: Need advice using pacemaker on VMs for application HA

2018-05-27 Thread wodel youchi
Hi,

Thank you both for your responses,

In a conclusion :

- Don't mix up several solution that provide HA :
- either choose oVirt HA.
- or use software HA inside a VM.

And since I need to monitor a service inside the VM for HA purpose, the
implementation will be :
- Create two VMs (nodes) without oVirt HA enabled.
- Create the shared storage.
- Configure pacemaker with stonith using fence rhev.
- Test the configuration and my be try to test a hypervisor crash to see
the behavior of the solution.

Regards.

2018-05-24 17:12 GMT+01:00 Gianluca Cecchi :

> On Thu, May 24, 2018 at 6:05 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>
>>
>>>
 - What about the shared storage, we will use a shared disk on oVirt
 which does not support snapshot

>>>
>>> What is the question?
>>>
>>
>>
>> In the past I had to configure a virtual CentOS 6 cluster because I
>> needed to replicate a problem I had in a physical production cluster and to
>> verify if some actions/updates would have solved the problem.
>> I had no more spare hw to configure an so using the poor-man method (dd +
>> reconfigure) I had the cluster up and running with two twin nodes identical
>> to the physical ones.
>> I also opened this bugzilla to backport the el7 package to el6:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1446474
>>
>> The intracluster network has been put on OVN btw
>>
>> But honestly I doubt I will use a virtual-cluster software stack to
>> provide high availability to production services inside a VM. Too many
>> inter-relations
>>
>>
> I didn't complete the answer about storage.
> Indeed if the cluster services need also a storage (eg a filesystem), you
> should create dedicated virtual disks that you mark as shared and assign to
> all the nodes of the virtual-cluster.
> This compromise the snapshot functionality (of only the shared disks, you
> can snapshot the boot disk and the not shared disks).
>
> HIH,
> Gianluca
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Hardering oVirt Engine

2018-05-27 Thread Punaatua PK
Hello,

we are subject to PCI-DSS. I have some questions. We currently have setup oVirt 
in our environnement.
We created 2 Datacenter.
- one with a cluster with hosted engine on gluster (Hyperconverged env) which 
represents the "LAN" part
- one with a cluster with gluster storage wich is the DMZ

In PCI-DSS we have to secure communication (use HTTPs as much as possible). I 
did saw that ovirt-ha-agent (on hosted-engine capable host) check the status of 
the engine by sending GET request on the hosted-engine on port 80 (the same 
check that hosted-engine --vm-status did in fact). 
Since ovirt 4.2.2, with the introduction of gluster eventing, a new flow (HTTP 
post resquest) is needed from gluster nodes to the engine. (In my case, it's a 
flow from the DMZ to the LAN part in HTTP (non secure)

Here is my question. Is it possible to "hardering" this part of the engine ?

Another question out of PCI scope. Events like warning and error in the 
dashboard are clean each days. I tried to find which process did that (look 
into /etc/cron.daily, root crontab, etc) on the engine
without succes. Is there any maintenance task that is run periodicaly ? Could 
we have the list of all the engine's task ? (regulary check the status of host, 
vm, storage) also the frequency ?

I would appreciate the help. (Great great product ovirt !) Thank you for your 
jobs ! We did manage KVM hypervisor as standalone machine without all the power 
that libvirt provides. No need to spend lot of money into licencing product 
(VSphere and co)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Ovirt 4.2.4 upgrade

2018-05-27 Thread Maton, Brett
I rebuilt that environment, I'll try to recreate the scenario and provide
the information requested.

On 27 May 2018 at 09:17, Eli Mesika  wrote:

> Hi
>
> The provider_binding_host_id is a new table added recently , can you
> please attach the output of the following query on your database :
>
> select * from schema_version order by id desc;
>
> Thanks
>
> On Fri, May 25, 2018 at 2:30 PM, Maton, Brett 
> wrote:
>
>> It would be from the last 4.2.3 release in the ovirt-4.2-pre repositories
>>
>> I haven't got the logs unfortunately, I'll try to recreate the scenario
>> over the weekend.
>>
>> On 25 May 2018 at 12:09, Martin Perina  wrote:
>>
>>> Hi,
>>>
>>> from which oVirt version are you upgrading to 4.2.4? Could you please
>>> share with us complete upgrade logs from engine host?
>>>
>>> Thanks
>>>
>>> Martin
>>>
>>>
>>> On Fri, May 25, 2018 at 10:38 AM, Sandro Bonazzola 
>>> wrote:
>>>


 2018-05-25 9:41 GMT+02:00 Maton, Brett :

> The 4.2.4 upgrade appears to have a database issue, i'm seeing these
> errors in the postgresql logs:
>
> 2018-05-24 16:27:08.292 UTC ERROR:  relation
> "provider_binding_host_id" does not exist at character 15
> 2018-05-24 16:27:08.292 UTC QUERY:  SELECT 1 FROM
> provider_binding_host_id WHERE vds_id = v_vds_id FOR UPDATE
> 2018-05-24 16:27:08.292 UTC CONTEXT:  PL/pgSQL function
> updatehostproviderbinding(uuid,character varying[],character
> varying[]) line 3 at PERFORM
>
> Any suggestions ?
>

 Thanks for having tested 4.2.4 RC1 and giving feedback! Adding Martin
 and Eli for further investigations.



>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>


 --

 SANDRO BONAZZOLA

 ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

 Red Hat EMEA 

 sbona...@redhat.com
 
 

>>>
>>>
>>>
>>> --
>>> Martin Perina
>>> Associate Manager, Software Engineering
>>> Red Hat Czech s.r.o.
>>>
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: hosted engine setup error

2018-05-27 Thread Yanir Quinn
According to BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1540451#c19

you should retry with a newer kernel >= -851  if possible .

If you still get the error please provide full setup and vdsm logs.



On Fri, May 25, 2018 at 11:54 AM,  wrote:

> Hi
>  thanks for your reponse, I try to do by your guide, but it is not work.
> my kernel version is 3.10.0-693.11.1.el7.x86_64.
> besides, I try to do hosted-engine --deploy in my Virtual machine is work.
> but it is not work in Physical Machine
>
>
> - Original Message -
> From: Yanir Quinn 
> To: dhy...@sina.com
> Cc: users 
> Subject: Re: [ovirt-users] hosted engine setup error
> Date: 2018-05-24 18:35
>
> Hi
> There is a BZ with a similar issue:
> https://bugzilla.redhat.com/show_bug.cgi?id=1546839
>
> To sum things up,  try stopping the network manager and restarting your
> network if you are using a RH distribution, e,g. :
>
> systemctl stop NetworkManager
> systemctl restart network
>
> And check what is your kernel version.
>
>
> On Wed, May 23, 2018 at 5:03 PM,  wrote:
>
> hi
> I deploy ovirt-engine-4.2.2 hosted-engine by #hosted-engine --deploy, but
> face some error
> bridge ovirtmgmt is not configure, i should how to do? thanks
>
>
> [ INFO  ] TASK [Get ovirtmgmt route table id]
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": true,
> "cmd": "ip rule list | grep ovirtmgmt | sed s/[.*]\\ //g | awk '{
> print $9 }'", "delta": "0:00:00.010899", "end": "2018-05-23
> 20:03:21.222559", "rc": 0, "start": "2018-05-23 20:03:21.211660", "stderr":
> "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
>
>
> vdsm.log
>
> 2018-05-23 19:55:15,305+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') VM wrapper has started
> (vm:2619)
> 2018-05-23 19:55:15,454+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Starting connection
> (guestagent:245)
> 2018-05-23 19:55:15,458+0800 ERROR (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') Failed to connect to guest
> agent channel (vm:2403)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2401, in
> _vmDependentInit
> self.guestAgent.start()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 246, in start
> self._prepare_socket()
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/guestagent.py", line
> 288, in _prepare_socket
> supervdsm.getProxy().prepareVmChannel(self._socketName)
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 55, in __call__
> return callMethod()
>   File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line
> 53, in 
> **kwargs)
>   File "", line 2, in prepareVmChannel
>   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
> _callmethod
> raise convert_to_error(kind, result)
> OSError: [Errno 2] No such file or directory:
> '/var/lib/libvirt/qemu/channels/bfc6f7cf-3e8d-4368-97f8-
> 78a5c74a5175.com.redhat.rhevm.vdsm'
> 2018-05-23 19:55:15,480+0800 INFO  (vm/bfc6f7cf) [virt.vm]
> (vmId='bfc6f7cf-3e8d-4368-97f8-78a5c74a5175') CPU running: domain
> initialization (vm:5908)
>
> [root@hosted-engine-test1 ~]# ip a
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: eth0:  mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
> link/ether 52:54:00:6c:ee:a8 brd ff:ff:ff:ff:ff:ff
> inet 192.168.122.217/24 brd 192.168.122.255 scope global dynamic eth0
>valid_lft 2936sec preferred_lft 2936sec
> inet6 fe80::834a:9cc1:df2:83f/64 scope link
>valid_lft forever preferred_lft forever
> 18: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN qlen
> 1000
> link/ether 9a:d1:bc:96:cc:c0 brd ff:ff:ff:ff:ff:ff
> 19: virbr0:  mtu 1500 qdisc noqueue
> state DOWN qlen 1000
> link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ff
> inet 192.168.124.1/24 brd 192.168.124.255 scope global virbr0
>valid_lft forever preferred_lft forever
> 20: virbr0-nic:  mtu 1500 qdisc pfifo_fast master
> virbr0 state DOWN qlen 1000
> link/ether 52:54:00:55:06:26 brd ff:ff:ff:ff:ff:ff
>
>
>
>
>
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
>
>
___
Users mailing list -- users@ovirt.org
To 

[ovirt-users] Re: Libvirt ERROR cannot access backing file after importing VM from OpenStack

2018-05-27 Thread Arik Hadas
On Thu, May 24, 2018 at 6:13 PM, Nir Soffer  wrote:

> On Thu, May 24, 2018 at 6:06 PM Vrgotic, Marko 
> wrote:
>
>> Dear Nir,
>>
>> Thank you for quick reply.
>>
>> Ok, why it will not work?
>>
>
> Because the image has a backing file which is not accessible to oVirt.
>
>
>> I used qemu+tcp connection, via import method through engine admin UI.
>>
>> Images was imported and converted according logs, still “backing file”
>> invalid entry remained.
>>
>> Also, I did use same method before, connecting to plain “libvirt kvm”
>> host, import and conversion went smooth, no backend file.
>>
>> Image format is qcow(2) which is supported by oVirt.
>>
>> What am I missing? Should I use different method?
>>
>
> I guess this is not a problem on your side, but a bug in our side.
>
> Either we should block the operation that cannot work, or fix the process
> so we don't refer to non-existing image.
>
> When importing we have 2 options:
>
> - import the entire chain,  importing all images in the chain, converting
>  each image to oVirt volume, and updating the backing file of each layer
> to point to the oVirt image.
>
> - import the current state of the image into a new image, using either raw
> or qcow2, but without any backing file.
>
> Arik, do you know why we create qcow2 file with invalid backing file?
>

It seems to be a result of a bit naive behavior of the kvm2ovirt module
that tries to download only the top-level volume the VM uses, assuming each
of the disks to be imported is comprised of a single volume.

Maybe it's time to finally asking QEMU guys to provide a way to consume the
'collapsed' form of a chain of volumes as a stream if that's not available
yet? ;) It can also boost the recently added process of exporting VMs as
OVAs...


>
> Nir
>
>
>>
>> Kindly awaiting your reply.
>>
>> — — —
>> Met vriendelijke groet / Best regards,
>>
>> Marko Vrgotic
>> Sr. System Engineer
>> ActiveVideo
>>
>> Tel. +31 (0)35 677 4131 <+31%2035%20677%204131>
>> email: m.vrgo...@activevideo.com
>> skype: av.mvrgotic.se
>> www.activevideo.com
>> --
>> *From:* Nir Soffer 
>> *Sent:* Thursday, May 24, 2018 4:09:40 PM
>> *To:* Vrgotic, Marko
>> *Cc:* users@ovirt.org; Richard W.M. Jones; Arik Hadas
>> *Subject:* Re: [ovirt-users] Libvirt ERROR cannot access backing file
>> after importing VM from OpenStack
>>
>>
>>
>> On Thu, May 24, 2018 at 5:05 PM Vrgotic, Marko 
>> wrote:
>>
>> Dear oVirt team,
>>
>>
>>
>> When trying to start imported VM, it fails with following message:
>>
>>
>>
>> ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (ForkJoinPool-1-worker-2) [] EVENT_ID: VM_DOWN_ERROR(119), VM
>> instance-0673 is down with error. Exit message: Cannot access backing
>> file '/var/lib/nova/instances/_base/2f4f8c5fc11bb83bcab03f4c829ddda4da8c0bce'
>> of storage file '/rhev/data-center/mnt/glusterSD/aws-gfs-01.awesome.
>> lan:_gv0__he/2607c265-248c-40ad-b020-f3756454839e/images/
>> 816ac00f-ba98-4827-b5c8-42a8ba496089/8ecfcd5b-db67-4c23-9869-0e20d7553aba'
>> (as uid:107, gid:107): No such file or directory.
>>
>>
>>
>> Platform details:
>>
>> Ovirt SHE
>>
>> Version 4.2.2.6-1.el7.centos
>>
>> GlusterFS, unmanaged by oVirt.
>>
>>
>>
>> VM is imported & converted from OpenStack, according to log files,
>> successfully (one WARN, related to different MAC address):
>>
>> 2018-05-24 12:03:31,028+02 INFO  [org.ovirt.engine.core.
>> vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand] (default
>> task-29) [cc5931a2-1af5-4d65-b0b3-362588db9d3f] FINISH,
>> GetVmsNamesFromExternalProviderVDSCommand, return: [VM
>> [instance-0001f94c], VM [instance-00078f6a], VM [instance-0814], VM
>> [instance-0001f9ac], VM [instance-01ff], VM [instance-0001f718], VM
>> [instance-0673], VM [instance-0001ecf2], VM [instance-00078d38]], log
>> id: 7f178a5e
>>
>> 2018-05-24 12:48:33,722+02 INFO  [org.ovirt.engine.core.
>> vdsbroker.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand] (default
>> task-8) [103d56e1-7449-4853-ae50-48ee94d43d77] FINISH,
>> GetVmsNamesFromExternalProviderVDSCommand, return: [VM
>> [instance-0001f94c], VM [instance-00078f6a], VM [instance-0814], VM
>> [instance-0001f9ac], VM [instance-01ff], VM [instance-0001f718], VM
>> [instance-0673], VM [instance-0001ecf2], VM [instance-00078d38]], log
>> id: 3aa178c5
>>
>> 2018-05-24 12:48:47,291+02 INFO  [org.ovirt.engine.core.
>> vdsbroker.vdsbroker.GetVmsFullInfoFromExternalProviderVDSCommand]
>> (default task-17) [4bf555c7-9d64-4ecc-b059-8a60a4b27bdd] START,
>> GetVmsFullInfoFromExternalProviderVDSCommand(HostName = aws-ovhv-01,
>> GetVmsFromExternalProviderParameters:{hostId='cbabe1e8-9e7f-4c4b-be9c-49154953564d',
>> url='qemu+tcp://root@172.19.0.12/system', username='null',
>> originType='KVM', namesOfVms='[instance-0673]'}), log id: 4c445109
>>
>> 2018-05-24 12:48:47,318+02 INFO  

[ovirt-users] Re: SSH into guest VM

2018-05-27 Thread Yaniv Kaul
On Fri, May 25, 2018 at 10:39 AM, 03CE 007 <03ce...@gmail.com> wrote:

> Thank you, I am using cloud-init module as suggested, but the VM that
> starts on engineVM does not seem to have ip or nic assigned.
>
> below is my ansible task -
>
> - name: "Create VM {{ current_vm.name }}"
>   ovirt_vms:
> auth: "{{ ovirt_auth }}"
> name: "{{ current_vm.name }}"
> template: "{{ current_vm.profile.template | default(omit) }}"
>

Does the template contain a NIC definition?


> cluster: "{{ current_vm.profile.cluster | default(omit) }}"
> memory: "{{ current_vm.profile.memory | default(omit) }}"
> high_availability: "{{ current_vm.profile.high_availability |
> default(omit) }}"
> cpu_cores: "{{ current_vm.profile.cores | default(omit) }}"
> cpu_sockets: "{{ current_vm.profile.sockets | default(omit) }}"
> storage_domain: "{{ current_vm.profile.storage_domain | default(omit)
> }}"
> timeout: "{{ vm_infra_create_single_timeout }}"
> operating_system: rhel_7x64
> memory_guaranteed: "{{ current_vm.profile.memory_guaranteed |
> default(omit) }}"
> cloud_init:
>  * host_name: "{{ current_vm.name 
> }}.test.dw"*
>   nic_boot_protocol: static
>   nic_ip_address: 10.90.x.z
>   nic_netmask: 255.255.255.0
>   nic_gateway: 10.90.x.y
>   nic_name: eth1
>

I assume more than one NIC is defined for the VM?


>   nic_on_boot: true
>   custom_script: |
> write_files:
>  - content: |
>  Hello, world!
>path: /tmp/greeting.txt
>permissions: '0644'
>   user_name: root
>   root_password: super_password
> cloud_init_persist: true
>   changed_when: false
>   async: "{{ vm_infra_create_single_timeout }}"
>   poll: 0
>   register: added_vm
>
>
>
> I use ovirt4.py to check the vm overview, but I see below only (shouldn't
> the devices dic be populated with above nic details?, nor I see the
> hostname updated from h*ypervisor-ovirt.dw* to *mytest-vm.test.dw*
>

Can you ensure you are running with CentOS / RHEL 7.5? There was a bug in
cloud-init where it did not set the hostname due to some race. What do you
see in the cloud-init logs on the VM?
Y.


>
> mytest-vm": {
> "affinity_groups": [],
> "affinity_labels": [],
> "ansible_host": null,
> "cluster": "Default",
> "description": null,
>* "devices": {}*,
>* "fqdn": null,*
> "host": "hypervisor-ovirt.dw",
> "id": "0c1f6a11-0ca2-4d2e-b05f-0d3bdc70d4af",
> "name": "mytest-vm",
> "os_type": "rhel_7x64",
> "statistics": {
>   "cpu.current.guest": 0.72,
>   "cpu.current.hypervisor": 0.33,
>   "cpu.current.total": 1.1,
>   "memory.buffered": 0.0,
>   "memory.cached": 0.0,
>   "memory.free": 0.0,
>   "memory.installed": 68719476736.0,
>   "memory.used": 0.0,
>   "migration.progress": 0.0
> },
> "status": "up",
> "tags": [],
> "template": "Blank"
>   }
> }
>
>
> is anything missing in my setup, I use rhel_7x64 as operating_system.
>
> Thank you.
>
>
>
> On 24 May 2018 at 13:43, Yaniv Kaul  wrote:
>
>>
>>
>> On Wed, May 23, 2018 at 5:43 PM, <03ce...@gmail.com> wrote:
>>
>>> I have self-hosted-engine (4.2) deployed successfully on cento (7.4)
>>> server.
>>>
>>> The physical server has 'ovirt' as hostname and the self-hosted engineVM
>>> deployed
>>> and running on it has 'engine.ovirt' as fdqn.
>>>
>>> I can successfully create new VM using the oVirt.vm-infra example
>>> playbook. But what other config/var i need to add in them so that I can ssh
>>> into this new VM. Some example, tips, hints would be helpful.
>>>
>>
>> I think that you'd want (via cloud-init) to set the SSH keys for the root
>> user (or the password), etc.
>> Y.
>>
>>
>>>
>>> Thank you.
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>>
>>
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Ovirt 4.2.4 upgrade

2018-05-27 Thread Eli Mesika
Hi

The provider_binding_host_id is a new table added recently , can you please
attach the output of the following query on your database :

select * from schema_version order by id desc;

Thanks

On Fri, May 25, 2018 at 2:30 PM, Maton, Brett 
wrote:

> It would be from the last 4.2.3 release in the ovirt-4.2-pre repositories
>
> I haven't got the logs unfortunately, I'll try to recreate the scenario
> over the weekend.
>
> On 25 May 2018 at 12:09, Martin Perina  wrote:
>
>> Hi,
>>
>> from which oVirt version are you upgrading to 4.2.4? Could you please
>> share with us complete upgrade logs from engine host?
>>
>> Thanks
>>
>> Martin
>>
>>
>> On Fri, May 25, 2018 at 10:38 AM, Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> 2018-05-25 9:41 GMT+02:00 Maton, Brett :
>>>
 The 4.2.4 upgrade appears to have a database issue, i'm seeing these
 errors in the postgresql logs:

 2018-05-24 16:27:08.292 UTC ERROR:  relation "provider_binding_host_id"
 does not exist at character 15
 2018-05-24 16:27:08.292 UTC QUERY:  SELECT 1 FROM
 provider_binding_host_id WHERE vds_id = v_vds_id FOR UPDATE
 2018-05-24 16:27:08.292 UTC CONTEXT:  PL/pgSQL function
 updatehostproviderbinding(uuid,character varying[],character
 varying[]) line 3 at PERFORM

 Any suggestions ?

>>>
>>> Thanks for having tested 4.2.4 RC1 and giving feedback! Adding Martin
>>> and Eli for further investigations.
>>>
>>>
>>>

 ___
 Users mailing list -- users@ovirt.org
 To unsubscribe send an email to users-le...@ovirt.org


>>>
>>>
>>> --
>>>
>>> SANDRO BONAZZOLA
>>>
>>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>>>
>>> Red Hat EMEA 
>>>
>>> sbona...@redhat.com
>>> 
>>> 
>>>
>>
>>
>>
>> --
>> Martin Perina
>> Associate Manager, Software Engineering
>> Red Hat Czech s.r.o.
>>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: oVirt hosted-engine-setup issues with getting host facts

2018-05-27 Thread Mariusz Kozakowski
On Thu, 2018-05-24 at 14:11 +0200, Simone Tiraboschi wrote:
To better understand what it's happening you have to check host-deploy logs; 
they are available under /var/log/ovirt-engine/host-deploy/ on your engine VM.

Unfortunately there is no logs under that directory. It's empty.


--

Best regards/Pozdrawiam/MfG

Mariusz Kozakowski

Site Reliability Engineer

Dansk Supermarked Group
Baltic Business Park
ul. 1 Maja 38-39
71-627 Szczecin
dansksupermarked.com
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Problems with configuring ovirt and neotron network integration

2018-05-27 Thread Pym
Hi:


Environmental information:
 4.2.0 ovirt version, according to 
"https://www.ovirt.org/documentation/how-to/networking/overlay-networks-with-neutron-integration/;
 document of it services. Both services are accessible from the browser.


After the above environment is configured according to the document, I need to 
execute the following command "engine-config --set keyauthstoneurl =http://< 
host-fqdn >:35357/v2.0" on the ovirt-engine side.
The following information appears: "Error setting KeystoneAuthUrl's value. No 
such entry."


When I execute "engine-config-a | grep-i 'KeystoneAuthUrl'", there is no return 
value, and there is no such configuration item in the current version of ovirt.


Now how do I proceed next?


Thanks!___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: Upload Image Error

2018-05-27 Thread Yedidyah Bar David
On Thu, May 24, 2018 at 11:49 PM, Peter Harman 
wrote:

> Ovirt is Hosted Engine and version 4.2 installed a week ago.
>
> OS is Centos7.4 on hosted engine and hosts
>
>
>
> *Peter Harman – Systems and Safety Cordinator  | Homeyer Precision
> Manufacturing*
>
>
>
> [image: Description: C:\Users\gruether\AppData\Local\Temp\Temp1_Homeyer
> Logo (2).zip\Homeyer Logo\Homeyer Logo.jpg]
>
>
>
> 16051 State Hwy 47, Marthasville, MO 63357
> |
> *E *phar...@homeyertool.com | *P* 636.433.2244 | *F* 636.433.5257
>
>
>
> *From:* Nir Soffer 
> *Sent:* Thursday, May 24, 2018 3:39 PM
> *To:* Peter Harman ; Yedidyah Bar David <
> d...@redhat.com>
> *Cc:* users@ovirt.org; Daniel Erez 
> *Subject:* Re: [ovirt-users] Upload Image Error
>
>
>
> On Thu, May 24, 2018 at 10:57 PM Peter Harman 
> wrote:
>
> Ovirt Users,
>
>
>
> What version are you running?
>
>
>
>
>
> I am running into a strange problem with uploading images through the
> webUI. When I test the connection on an upload I get “*Connection to
> ovirt-imageio-proxy service has failed. Make sure the service is installed,
> configured, and ovirt-engine certificate is registered as a valid CA in the
> browser.*” I have conducted this operation on several computers using
> both chrome and firefox and ensuring the certs were loaded into the
> browsers.
>
>
>
> Are you sure you import the certificate correctly info the browser?
>
>
>
>
>
> I went to this page: https://ovirt.org/develop/
> release-management/features/infra/pki/ to find cert info and checked both
> the engine and hosts for the certificates and the identity of the
> certificates – everything seemed to match up.
>
>
>
> This issue means that the browser refuse to communicate
>
> with the proxy because the proxy certificate does not match
>
> the browser certificates.
>
>
>
> Is it possible that you changed engine fqdn and regenerated
>
> engine certificates?
>
>
>
> Didi, how can we regenerate all certificates to make sure everything
>
> is configured correctly?
>

I do not think we have a documented procedure directly aimed at "making
sure everything is configured correctly", but a similar one is:

https://www.ovirt.org/documentation/how-to/migrate-pki-to-sha256/

It keeps the internal CA cert (only changes it), but re-creates all the
others.


>
>
> Or verify that the certificates in a host are correct?
>
>
>
> Next thing I looked at was the ovirt-imageio-proxy service. I checked it
> and restarted it below is a status output from one of the failed operations:
>
>
>
> [root@hpm-engine ~]# systemctl status ovirt-imageio-proxy
>
> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>
>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
> enabled; vendor preset: disabled)
>
>Active: active (running) since Thu 2018-05-24 13:25:38 CDT; 1h 13min ago
>
> Main PID: 21239 (ovirt-imageio-p)
>
> Tasks: 2
>
>CGroup: /system.slice/ovirt-imageio-proxy.service
>
>└─21239 /usr/bin/python /usr/bin/ovirt-imageio-proxy
>
>
>
> May 24 13:25:38 hpm-engine.server.local systemd[1]: Starting oVirt ImageIO
> Proxy...
>
> May 24 13:25:38 hpm-engine.server.local systemd[1]: Started oVirt ImageIO
> Proxy.
>
> May 24 14:38:02 hpm-engine.server.local ovirt-imageio-proxy[21239]:
> 127.0.0.1 - - [24/May/2018 14:38:02] "PUT /tickets/ HTTP/1.1" 200 0
>
>
>
> This means proxy is running, and engine is able to communicate
>
> with it. Unfortunately, this does not mean that the browser is able to
>
> communicate with the proxy.
>
>
>
> ovirt-imageio-proxy service seems to check out. So, next step was checking
> out VDSM process output is below (NOTE: I redacted a bunch of unrelated
> warnings):
>
> ...
>
> Vdsm is not related to proxy connection errors.
>
>
>
> Did you know that you can upload using the SDK? It is also much
>
> faster since you can upload directly to the host, instead of via the proxy.
>
>
>
> Here is an example:
>
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/upload_disk.py
>
>
>
> Nir
>



-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org