[ovirt-users] Timeout in "Add HE disks" task

2021-01-09 Thread Jiří Sléžka
Hello,

I am trying to upgrade RHV4.3.10 (standalone) to RHV4.4.3 (HE) in one
step which is probably not supported but in case of our oVirt cluster it
worked well.

I am using hosted-engine --deploy with answer file

hosted-engine --deploy --restore-from-file=backup/backup.tar
--config-append=answer-file_pontus.txt

I can pass until this task

[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add HE disks]

then ansible fails with a "Timeout exceed while waiting on result state
of the entity."

In the engine I can see that he_virtio_disk is successfuly created and
in OK state but he_sanlock is in LOCKED state. Shared storage domain is FC.

Here is part of ovirt-hosted-engine-setup-ansible-create_target_vm.log

...
{
"_ansible_item_label": {
"content": "hosted_engine_sanlock",
"description": "Hosted-Engine sanlock disk",
"format": "raw",
"name": "he_sanlock",
"size": "1GiB",
"sparse": false
},
"_ansible_no_log": false,
"ansible_loop_var": "item",
"changed": false,
"exception": "Traceback (most recent call last):\n  File
\"/tmp/ansible_ovirt_disk_payload_sy1l4b1p/ansible_ovirt_disk_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_disk.py\",
line 802, in main\n  File
\"/tmp/ansible_ovirt_disk_payload_sy1l4b1p/ansible_ovirt_disk_payload.zip/ansible_collections/redhat/rhv/plugins/module_utils/ovirt.py\",
line 652, in create\n
poll_interval=self._module.params['poll_interval'],\n  File
\"/tmp/ansible_ovirt_disk_payload_sy1l4b1p/ansible_ovirt_disk_payload.zip/ansible_collections/redhat/rhv/plugins/module_utils/ovirt.py\",
line 370, in wait\nraise Exception(\"Timeout exceed while waiting on
result state of the entity.\")\nException: Timeout exceed while waiting
on result state of the entity.\n",
"failed": true,
...

Do have anybody an idea where could be problem?

Thanks in advance,

Jiri
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AWPSURIJXPABFJ24HVGEIXWBYQAV43SK/


[ovirt-users] Re: Q: Hybrid GlusterFS / local storage setup?

2020-10-18 Thread Jiří Sléžka
Hi,

On 10/18/20 11:16 AM, Gilboa Davara wrote:
> 
> On Thu, Oct 15, 2020 at 3:27 PM Nir Soffer  > wrote:
> 
> On Thu, Oct 15, 2020 at 3:20 PM Gilboa Davara  > wrote:
> >
> > On Thu, Oct 15, 2020 at 2:38 PM Nir Soffer  > wrote:
> >>
> >> > I've got room to spare.
> >> > Any documentation on how to achieve this (or some pointers
> where to look)?
> >>
> >> It should be documented in ovirt.org , and in
> RHV documentation:
> >>
> 
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/administration_guide/
> >>
> >> > I couldn't find LVM / block device under host devices / storage
> domain / etc and Google search returned irrelevant results.
> >>
> >> I tested locally, LVM devices are not available in:
> >> Compute > Hosts > {hostname} > Host Devices
> >>
> >> Looks like libvirt does not support device mapper devices. You
> can try:
> >> # virsh -r nodedev-list
> >>
> >> To see supported devices. The list seems to match what oVirt displays
> >> in the Host Devices tab.
> >>
> >> So you only option it to attach the entire local device to the
> VM, either using
> >> pci passthrough or as a scsi disk.
> >>
> >> Nir
> >
> >
> > Full SCSI passthrough per "desktop" VM is an overkill for this
> user case. (Plus, I don't see MD devices in the list, only pure
> SATA/SAS devices).
> > Any idea if there are plans to add support for LVM devices (or any
> other block device)?
> 
> I don't think there is such a plan, but it makes sense to support
> such usage.
> 
> Please file ovit-engine RFE explaining the use case, and we can consider
> it for a future version.
> 
> Nir
> 
> 
> Done.
> https://bugzilla.redhat.com/show_bug.cgi?id=1889138

I also wote for this feature. There is also this RFE which could allow
similar functionality (allow use of local disk storages in shared
storage cluster).

https://bugzilla.redhat.com/show_bug.cgi?id=1406412

Cheers,

Jiri

> 
> Thanks again for the help!
> - Gilboa
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NQOCWZ2SYPS2LXH2MRJLGICWOVZXXMCB/
> 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/24NC357DKZ4JTHUB3HQQPNEQ3T2K6XQT/


[ovirt-users] too many glitches while moving storage domain

2020-10-10 Thread Jiří Sléžka
Hi,

today I started one not so common operation and I would like to share my
(not so good) experience.

I have 4 old Opteron G3 hosts which creates 1 DC with 1 cluster with 4.2
compatibility. Then I got 2 newer Intel based hosts which creates
separate DC and cluster. I use one shared FC storage with few LUNs for
all the stuff. Intel cluster is selfhosted with oVirt 4.4.2 where I
migrated original standalone oVirt 4.3.10 manager.

So I have 2 DCs, one with 4.2 and one with 4.4 compatibility.

Now the funny part... I had 2 LUNs connected to old 4.2 DC. My intention
was detach one of them and attach it to the new DC.

first pain was that some of vms had ther disks on both LUNs. It is
indicated late in the process and without hint which vms they are. So I
had to activate LUN in old DC and tried to find that vms (search string
in vms tab "Storage = one and Storage = two" seems not working). Ok, it
took two or three rounds... then, also late in the process there was
problem that one vm had previewed snapshot so another round with
activation of LUN in old DC... Then I was able detach and import LUN to
new DC. Nice, but with warning that LUN has 4.2 compatibility which will
be converted to 4.4 and there is no way back to connect it to old DC...
It is logical but very scary if something went wrong... but it did not
in my case :-)

LUN is connected in new DC. Now I had to import vms. Most vms were
imported ok but two of them were based on template wich resides on other
LUN. It was not indicated during detaching! It looks like I cannot move
template from storage to storage other way than through Export storage
(which I don't have at this moment) or through OVA export for which I
have not enough free storage space on hosts. Its a trap! :-) Btw. there
is no check for free space while starting export to OVA (template uses
preallocated disk). Exporting task still runs but there is no free space
at the host... and probably no way to cancel it from manager :-(

Ok, I had most of the vms imported. Last really strange thing is that I
lost one vm during import. It is not listed in VirtualMachines nor in VM
import tab on starage nor in Disk tab... that vm was an Aruba migration
tool and was imported from OVN image.

In fact there are two disks in Disk import tab, one of them has no
Alias/description and was created today around time I started work on
this migration. The second one has alias "vmdisk1" and is few months
older but I have no idea if it is the lost vm...

Sorry for long story, TL;DR version could be: There are glitches in some
(not so common) workflows...

Cheers,

Jiri




smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3RSL5Y2BDX2OWYXHVWJXZV4C2XA5VMBX/


[ovirt-users] Re: ldap auth problem after upgrade from 4.4.1 to 4.4.2

2020-10-02 Thread Jiří Sléžka
On 10/1/20 9:41 PM, Martin Perina wrote:
> 
> 
> On Thu, Oct 1, 2020 at 3:18 PM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> On 10/1/20 2:53 PM, Martin Perina wrote:
> > Hi,
> >
> > it seems that you are affected by
> > https://bugzilla.redhat.com/show_bug.cgi?id=1880149
> > Could you please try the workaround mentioned there?
> 
> bingo! Thanks a lot!
> 
> It is interesting behavior as my engine has no public ipv6 address (ipv6
> is set to ignore in nm).
> 
> also
> 
> [root@ovirt ~]# ping6 google.com <http://google.com>
> connect: Network is unreachable
> 
> but ok, problem is solved :-)
> 
> 
> Most probably your LDAP server can be resolved to both IPv4 and IPv6
> addresses and we choose a random resolved address in aaa-ldap when
> connecting. Enabling IPv6 by default was introduced in
> https://bugzilla.redhat.com/1726189 but unfortunately we have missed
> this scenario (engine IPv4, LDAP dual IPv4/IPv6) during testing ...

yes, this is exactly our case. No problem, it is really hard to catch
all variants.

Cheers,

Jiri


> 
> 
> Jiri
> 
> 
> >
> > Thanks,
> > Martin
> >
> >
> > On Thu, Oct 1, 2020 at 11:17 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >     I just upgraded my HE to 4.4.2 but now I cannot login using my
> ldap aaa
> >     profile anymore.
> >
> >     We are using Novell/NetIQ E-directory (load ballanced by haproxy,
> >     probably not important...)
> >
> >     In 4.4.1 I was hit by removed TLSv1 (which is the newest protocol
> >     supported by our edir) from default crypto policies but I was able
> >     revert it by
> >
> >     update-crypto-policies --set LEGACY
> >
> >     after upgrade to 4.4.2 the error is
> >
> >     server_error: An error occurred while attempting to connect to
> server
> >     ldap1.slu.cz:389 <http://ldap1.slu.cz:389>
> <http://ldap1.slu.cz:389>:
> >     IOException(LDAPException(resultCode=91 (connect
> >     error), errorMessage='An error occurred while attempting to
> establish a
> >     connection to server ldap1.slu.cz/193.84.206.212:389
> <http://ldap1.slu.cz/193.84.206.212:389>
> >     <http://ldap1.slu.cz/193.84.206.212:389>:
> >     SocketException(Network is unreachable (connect failed)),
> >     ldapSDKVersion=4.0.14,
> >     revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
> >
> >     but our ldap server is reachable from ovirt, I tested it via
> (also ldaps
> >     and startls variants are working)
> >
> >     ldapsearch -H ldap://ldap1.slu.cz <http://ldap1.slu.cz>
> <http://ldap1.slu.cz> -x -D
> >     cn=*,ou=**,o=su -w
> >     '' -b 'o=su'
> >
> >     As a workaround I tried to set plain ldap protocol in profile
> >
> >     cat /etc/ovirt-engine/aaa/CRO.properties
> >
> >
> >     include = 
> >
> >     vars.server = ldap1.slu.cz <http://ldap1.slu.cz>
> <http://ldap1.slu.cz>
> >     vars.port = 389
> >     vars.user = cn=*,ou=**,o=su
> >     vars.password = **
> >
> >     pool.default.serverset.single.server = ${global:vars.server}
> >     pool.default.serverset.single.port = ${global:vars.port}
> >     pool.default.auth.simple.bindDN = ${global:vars.user}
> >     pool.default.auth.simple.password = ${global:vars.password}
> >
> >     pool.default.ssl.startTLS = false
> >     pool.default.ssl.enable = false
> >     #pool.default.ssl.protocol = TLSv1
> >     #pool.default.ssl.startTLSProtocol = TLSv1
> >     #pool.default.ssl.insecure = true
> >
> >     sequence-init.init.100-my-edir-init-vars = my-edir-init-vars
> >     sequence.my-edir-init-vars.010.description = set baseDN
> >     sequence.my-edir-init-vars.010.type = var-set
> >     sequence.my-edir-init-vars.010.var-set.variable = simple_baseDN
> >     sequence.my-edir-init-vars.010.var-set.value = o=su
> >
> >     #search.default.search-request.derefPolicy = ALWAYS
> >
> >
> >     but the e

[ovirt-users] Re: ldap auth problem after upgrade from 4.4.1 to 4.4.2

2020-10-01 Thread Jiří Sléžka
Hi,

On 10/1/20 2:53 PM, Martin Perina wrote:
> Hi,
> 
> it seems that you are affected by
> https://bugzilla.redhat.com/show_bug.cgi?id=1880149
> Could you please try the workaround mentioned there?

bingo! Thanks a lot!

It is interesting behavior as my engine has no public ipv6 address (ipv6
is set to ignore in nm).

also

[root@ovirt ~]# ping6 google.com
connect: Network is unreachable

but ok, problem is solved :-)

Jiri


> 
> Thanks,
> Martin
> 
> 
> On Thu, Oct 1, 2020 at 11:17 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> I just upgraded my HE to 4.4.2 but now I cannot login using my ldap aaa
> profile anymore.
> 
> We are using Novell/NetIQ E-directory (load ballanced by haproxy,
> probably not important...)
> 
> In 4.4.1 I was hit by removed TLSv1 (which is the newest protocol
> supported by our edir) from default crypto policies but I was able
> revert it by
> 
> update-crypto-policies --set LEGACY
> 
> after upgrade to 4.4.2 the error is
> 
> server_error: An error occurred while attempting to connect to server
> ldap1.slu.cz:389 <http://ldap1.slu.cz:389>:
> IOException(LDAPException(resultCode=91 (connect
> error), errorMessage='An error occurred while attempting to establish a
> connection to server ldap1.slu.cz/193.84.206.212:389
> <http://ldap1.slu.cz/193.84.206.212:389>:
> SocketException(Network is unreachable (connect failed)),
> ldapSDKVersion=4.0.14,
> revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
> 
> but our ldap server is reachable from ovirt, I tested it via (also ldaps
> and startls variants are working)
> 
> ldapsearch -H ldap://ldap1.slu.cz <http://ldap1.slu.cz> -x -D
> cn=*,ou=**,o=su -w
> '' -b 'o=su'
> 
> As a workaround I tried to set plain ldap protocol in profile
> 
> cat /etc/ovirt-engine/aaa/CRO.properties
> 
> 
> include = 
> 
> vars.server = ldap1.slu.cz <http://ldap1.slu.cz>
> vars.port = 389
> vars.user = cn=*,ou=**,o=su
> vars.password = **
> 
> pool.default.serverset.single.server = ${global:vars.server}
> pool.default.serverset.single.port = ${global:vars.port}
> pool.default.auth.simple.bindDN = ${global:vars.user}
> pool.default.auth.simple.password = ${global:vars.password}
> 
> pool.default.ssl.startTLS = false
> pool.default.ssl.enable = false
> #pool.default.ssl.protocol = TLSv1
> #pool.default.ssl.startTLSProtocol = TLSv1
> #pool.default.ssl.insecure = true
> 
> sequence-init.init.100-my-edir-init-vars = my-edir-init-vars
> sequence.my-edir-init-vars.010.description = set baseDN
> sequence.my-edir-init-vars.010.type = var-set
> sequence.my-edir-init-vars.010.var-set.variable = simple_baseDN
> sequence.my-edir-init-vars.010.var-set.value = o=su
> 
> #search.default.search-request.derefPolicy = ALWAYS
> 
> 
> but the error is the same...
> 
> ovirt-engine-extensions-tool aaa login-user --profile=CRO
> --user-name=my_user
> 
> 
> WARNING: [ovirt-engine-extension-aaa-ldap.authn::SU-LDAP-authentication]
> TLS/SSL insecure mode
> ...
> WARNING: [ovirt-engine-extension-aaa-ldap.authn::auth.CRO.slu.cz
> <http://auth.CRO.slu.cz>] Cannot
> initialize LDAP framework, deferring initialization. Error: An error
> occurred while attempting to connect to server ldap1.slu.cz:389
> <http://ldap1.slu.cz:389>:
> IOException(LDAPException(resultCode=91 (connect error),
> errorMessage='An error occurred while attempting to establish a
> connection to server ldap1.slu.cz/193.84.206.212:389
> <http://ldap1.slu.cz/193.84.206.212:389>:
> SocketException(Network is unreachable (connect failed)),
> ldapSDKVersion=4.0.14,
> revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
> ...
> INFO: API: -->Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS
> profile='CRO' user='my_user'
> Password:
> ...
> WARNING: [ovirt-engine-extension-aaa-ldap.authn::auth.CRO.slu.cz
> <http://auth.CRO.slu.cz>] Cannot
> initialize LDAP framework, deferring initialization. Error: An error
> occurred while attempting to connect to server ldap1.slu.cz:389
> <http://ldap1.slu.cz:389>:
> IOException(LDAPException(resultCode=91 (connect error),
> errorMessage='An error occurred while attempting to establish a
> connection to server ldap1.slu.cz/193.84.206.212:389
> <http://ldap1.slu.cz/193.84.206.212:389>:
> SocketException(N

[ovirt-users] ldap auth problem after upgrade from 4.4.1 to 4.4.2

2020-10-01 Thread Jiří Sléžka
Hi,

I just upgraded my HE to 4.4.2 but now I cannot login using my ldap aaa
profile anymore.

We are using Novell/NetIQ E-directory (load ballanced by haproxy,
probably not important...)

In 4.4.1 I was hit by removed TLSv1 (which is the newest protocol
supported by our edir) from default crypto policies but I was able
revert it by

update-crypto-policies --set LEGACY

after upgrade to 4.4.2 the error is

server_error: An error occurred while attempting to connect to server
ldap1.slu.cz:389: IOException(LDAPException(resultCode=91 (connect
error), errorMessage='An error occurred while attempting to establish a
connection to server ldap1.slu.cz/193.84.206.212:389:
SocketException(Network is unreachable (connect failed)),
ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))

but our ldap server is reachable from ovirt, I tested it via (also ldaps
and startls variants are working)

ldapsearch -H ldap://ldap1.slu.cz -x -D cn=*,ou=**,o=su -w
'' -b 'o=su'

As a workaround I tried to set plain ldap protocol in profile

cat /etc/ovirt-engine/aaa/CRO.properties


include = 

vars.server = ldap1.slu.cz
vars.port = 389
vars.user = cn=*,ou=**,o=su
vars.password = **

pool.default.serverset.single.server = ${global:vars.server}
pool.default.serverset.single.port = ${global:vars.port}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}

pool.default.ssl.startTLS = false
pool.default.ssl.enable = false
#pool.default.ssl.protocol = TLSv1
#pool.default.ssl.startTLSProtocol = TLSv1
#pool.default.ssl.insecure = true

sequence-init.init.100-my-edir-init-vars = my-edir-init-vars
sequence.my-edir-init-vars.010.description = set baseDN
sequence.my-edir-init-vars.010.type = var-set
sequence.my-edir-init-vars.010.var-set.variable = simple_baseDN
sequence.my-edir-init-vars.010.var-set.value = o=su

#search.default.search-request.derefPolicy = ALWAYS


but the error is the same...

ovirt-engine-extensions-tool aaa login-user --profile=CRO
--user-name=my_user


WARNING: [ovirt-engine-extension-aaa-ldap.authn::SU-LDAP-authentication]
TLS/SSL insecure mode
...
WARNING: [ovirt-engine-extension-aaa-ldap.authn::auth.CRO.slu.cz] Cannot
initialize LDAP framework, deferring initialization. Error: An error
occurred while attempting to connect to server ldap1.slu.cz:389:
IOException(LDAPException(resultCode=91 (connect error),
errorMessage='An error occurred while attempting to establish a
connection to server ldap1.slu.cz/193.84.206.212:389:
SocketException(Network is unreachable (connect failed)),
ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
...
INFO: API: -->Authn.InvokeCommands.AUTHENTICATE_CREDENTIALS
profile='CRO' user='my_user'
Password:
...
WARNING: [ovirt-engine-extension-aaa-ldap.authn::auth.CRO.slu.cz] Cannot
initialize LDAP framework, deferring initialization. Error: An error
occurred while attempting to connect to server ldap1.slu.cz:389:
IOException(LDAPException(resultCode=91 (connect error),
errorMessage='An error occurred while attempting to establish a
connection to server ldap1.slu.cz/193.84.206.212:389:
SocketException(Network is unreachable (connect failed)),
ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
Oct 01, 2020 10:57:37 AM
org.ovirt.engine.exttool.core.ExtensionsToolExecutor main
SEVERE: An error occurred while attempting to connect to server
ldap1.slu.cz:389:  IOException(LDAPException(resultCode=91 (connect
error), errorMessage='An error occurred while attempting to establish a
connection to server ldap1.slu.cz/193.84.206.212:389:
SocketException(Network is unreachable (connect failed)),
ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))

debug with tcpdump reveals only that connection is made and there are
only "bindRequest" and "bindResponse success" messages visible (with
correct tcp handshake and close) and nothing more

any help would be appreciated

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M4MFGXGJ33R5DFX66HHGENOROHGOTF2D/


[ovirt-users] ovirt4.4 and ldap auth with starttls

2020-08-07 Thread Jiří Sléžka
Hello,

better start new thread...

it looks like tls1.0 is not supported anymore in
ovirt-engine-extension-aaa-ldap

I just migrated engine from 4.3 to 4.4 and cannot use my ldap profile
because

server_error: The connection reader was unable to successfully complete
TLS negotiation: SSLHandshakeException(The server selected protocol
version TLS10 is not accepted by client preferences [TLS12]),
ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb

but when I try to force tls 1.0 by setting

...
pool.default.ssl.startTLS = true
pool.default.ssl.startTLSProtocol = TLSv1
...

I got

server_error: The connection reader was unable to successfully complete
TLS negotiation: SSLHandshakeException(No appropriate protocol (protocol
is disabled or cipher suites are inappropriate)), ldapSDKVersion=4.0.14,
revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb

I can't switch to something better on server side, is it possible to
allow weak ciphers/protocols on client side?

Thanks in advance,

Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CBVIAEO3R4BQNJ5453O2D5NJH7FQ7YGR/


[ovirt-users] Re: migrating standalone engine to selfhosted and upgrade from 4.3 to 4.4 in one step

2020-08-07 Thread Jiří Sléžka
On 8/7/20 9:50 AM, Jiří Sléžka wrote:
> On 8/5/20 2:07 PM, Jiří Sléžka wrote:
>> On 8/3/20 11:12 AM, Jiří Sléžka wrote:
>>> Hello,
>>>
>>> I have 4 host cluster managed with standalone engine in version 4.3 and
>>> I would like to migrate this standalone engine to 4.4 as hosted engine.
>>>
>>> I have two new hosts which I would like to use as base for new HE
>>> cluster. (new hosts are Intel based, old ones are AMD Opteron based -
>>> new cluster will have 4.4 compatibility, old one have to stay at 4.2
>>> compatibility level).
>>>
>>> I red this
>>>
>>> https://www.ovirt.org/documentation/migrating_from_a_standalone_manager_to_a_self-hosted_engine/
>>>
>>> but the question is: Can I migrate and upgrade in one step? Have anybody
>>> did that already? If it is not possible what is a suggested approach?
>>
>> I just tried it. It looks like it could work at least until installation
>> process want to login into engine. It looks like it does not use valid
>> login name nor password.
>>
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Expose engine VM webui over
>> a local port via ssh port forwarding]
>> [ INFO  ] changed: [localhost]
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Evaluate temporary bootstrap
>> engine URL]
>> [ INFO  ] ok: [localhost]
>> [ INFO  ] The bootstrap engine is temporary accessible over
>> https://ovirt05.net.slu.cz:6900/ovirt-engine/
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Detect VLAN ID]
>> [ INFO  ] changed: [localhost]
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Set Engine public key as
>> authorized key without validating the TLS/SSL certificates]
>> [ INFO  ] changed: [localhost]
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
>> [ INFO  ] ok: [localhost]
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using
>> username/password credentials]
>> [ INFO  ] ok: [localhost]
>> [ INFO  ] TASK [ovirt.hosted_engine_setup : Ensure that the target
>> datacenter is present]
>> [ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication
>> access_denied : Cannot authenticate user 'None@N/A': No valid profile
>> found in credentials..
>> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
>> "Error during SSO authentication access_denied : Cannot authenticate
>> user 'None@N/A': No valid profile found in credentials.."}
>>
>> I tried to login to https://ovirt05.net.slu.cz:6900/ovirt-engine/ and it
>> probably accept username admin@internal and new password entered during
>> hosted engine deploy but then it display error "The provided
>> authorization grant for the auth code has expired."
>>
>> Maybe it is related to this bug (and custom 3rd party Apache certificate)
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1715767
>>
>> in my case it looks like on engine vm in file
>>
>> /etc/pki/ovirt-engine/apache-ca.pem
>>
>> is original certificate from backup which is for ovirt.slu.cz fqdn. For
>> new hosted engine I use new fqdn ovirt.net.slu.cz. Should I change
>> ovirt.slu.cz record to point to new ip address (it have to be one from
>> ovirtmgmt subnet) and then try restore? Documentation is not much clear
>> in this particular subject.
> 
> well, I will answer myself
> 
> * setting fqdn is not probably important at this time, self hosted
> engine is prepared with modified /etc/hosts
> 
> * main problem was that I am using 3rd party certificate for long time
> so I didn't mention this documentation section
> 
> https://ovirt.org/documentation/administration_guide/#Replacing_the_Manager_CA_Certificate
> 
> especially section 14 which describe how to configure engine-backup to
> backup also custom CA certificate. But this part is badly formatted as
> described in
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1859505
> 
> relevant BZ is also https://bugzilla.redhat.com/show_bug.cgi?id=1841203
> which point me to the right direction

just for record.

I had to change dns record for fqdn during deploy process - after HE vm
was copied to shared storage (FC in my case) and before or during "
Check engine VM health"

...
[ INFO  ] TASK [ovirt.hosted_engine_setup : Start ovirt-ha-agent service
on the host]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Exit HE maintenance mode]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Check engine VM health]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Get

[ovirt-users] Re: migrating standalone engine to selfhosted and upgrade from 4.3 to 4.4 in one step

2020-08-07 Thread Jiří Sléžka
On 8/5/20 2:07 PM, Jiří Sléžka wrote:
> On 8/3/20 11:12 AM, Jiří Sléžka wrote:
>> Hello,
>>
>> I have 4 host cluster managed with standalone engine in version 4.3 and
>> I would like to migrate this standalone engine to 4.4 as hosted engine.
>>
>> I have two new hosts which I would like to use as base for new HE
>> cluster. (new hosts are Intel based, old ones are AMD Opteron based -
>> new cluster will have 4.4 compatibility, old one have to stay at 4.2
>> compatibility level).
>>
>> I red this
>>
>> https://www.ovirt.org/documentation/migrating_from_a_standalone_manager_to_a_self-hosted_engine/
>>
>> but the question is: Can I migrate and upgrade in one step? Have anybody
>> did that already? If it is not possible what is a suggested approach?
> 
> I just tried it. It looks like it could work at least until installation
> process want to login into engine. It looks like it does not use valid
> login name nor password.
> 
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Expose engine VM webui over
> a local port via ssh port forwarding]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Evaluate temporary bootstrap
> engine URL]
> [ INFO  ] ok: [localhost]
> [ INFO  ] The bootstrap engine is temporary accessible over
> https://ovirt05.net.slu.cz:6900/ovirt-engine/
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Detect VLAN ID]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Set Engine public key as
> authorized key without validating the TLS/SSL certificates]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using
> username/password credentials]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Ensure that the target
> datacenter is present]
> [ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication
> access_denied : Cannot authenticate user 'None@N/A': No valid profile
> found in credentials..
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Error during SSO authentication access_denied : Cannot authenticate
> user 'None@N/A': No valid profile found in credentials.."}
> 
> I tried to login to https://ovirt05.net.slu.cz:6900/ovirt-engine/ and it
> probably accept username admin@internal and new password entered during
> hosted engine deploy but then it display error "The provided
> authorization grant for the auth code has expired."
> 
> Maybe it is related to this bug (and custom 3rd party Apache certificate)
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1715767
> 
> in my case it looks like on engine vm in file
> 
> /etc/pki/ovirt-engine/apache-ca.pem
> 
> is original certificate from backup which is for ovirt.slu.cz fqdn. For
> new hosted engine I use new fqdn ovirt.net.slu.cz. Should I change
> ovirt.slu.cz record to point to new ip address (it have to be one from
> ovirtmgmt subnet) and then try restore? Documentation is not much clear
> in this particular subject.

well, I will answer myself

* setting fqdn is not probably important at this time, self hosted
engine is prepared with modified /etc/hosts

* main problem was that I am using 3rd party certificate for long time
so I didn't mention this documentation section

https://ovirt.org/documentation/administration_guide/#Replacing_the_Manager_CA_Certificate

especially section 14 which describe how to configure engine-backup to
backup also custom CA certificate. But this part is badly formatted as
described in

https://bugzilla.redhat.com/show_bug.cgi?id=1859505

relevant BZ is also https://bugzilla.redhat.com/show_bug.cgi?id=1841203
which point me to the right direction

Cheers,

Jiri



> 
> Cheers,
> 
> Jiri
> 
>>
>> Thanks for help
>>
>> Jiri
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YH4J7GG7WLOLUFIADZPL6JOPDETJ23CZ/
>>
> 
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archi

[ovirt-users] Re: migrating standalone engine to selfhosted and upgrade from 4.3 to 4.4 in one step

2020-08-05 Thread Jiří Sléžka
On 8/3/20 11:12 AM, Jiří Sléžka wrote:
> Hello,
> 
> I have 4 host cluster managed with standalone engine in version 4.3 and
> I would like to migrate this standalone engine to 4.4 as hosted engine.
> 
> I have two new hosts which I would like to use as base for new HE
> cluster. (new hosts are Intel based, old ones are AMD Opteron based -
> new cluster will have 4.4 compatibility, old one have to stay at 4.2
> compatibility level).
> 
> I red this
> 
> https://www.ovirt.org/documentation/migrating_from_a_standalone_manager_to_a_self-hosted_engine/
> 
> but the question is: Can I migrate and upgrade in one step? Have anybody
> did that already? If it is not possible what is a suggested approach?

I just tried it. It looks like it could work at least until installation
process want to login into engine. It looks like it does not use valid
login name nor password.

[ INFO  ] TASK [ovirt.hosted_engine_setup : Expose engine VM webui over
a local port via ssh port forwarding]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Evaluate temporary bootstrap
engine URL]
[ INFO  ] ok: [localhost]
[ INFO  ] The bootstrap engine is temporary accessible over
https://ovirt05.net.slu.cz:6900/ovirt-engine/
[ INFO  ] TASK [ovirt.hosted_engine_setup : Detect VLAN ID]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Set Engine public key as
authorized key without validating the TLS/SSL certificates]
[ INFO  ] changed: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using
username/password credentials]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [ovirt.hosted_engine_setup : Ensure that the target
datacenter is present]
[ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication
access_denied : Cannot authenticate user 'None@N/A': No valid profile
found in credentials..
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Error during SSO authentication access_denied : Cannot authenticate
user 'None@N/A': No valid profile found in credentials.."}

I tried to login to https://ovirt05.net.slu.cz:6900/ovirt-engine/ and it
probably accept username admin@internal and new password entered during
hosted engine deploy but then it display error "The provided
authorization grant for the auth code has expired."

Maybe it is related to this bug (and custom 3rd party Apache certificate)

https://bugzilla.redhat.com/show_bug.cgi?id=1715767

in my case it looks like on engine vm in file

/etc/pki/ovirt-engine/apache-ca.pem

is original certificate from backup which is for ovirt.slu.cz fqdn. For
new hosted engine I use new fqdn ovirt.net.slu.cz. Should I change
ovirt.slu.cz record to point to new ip address (it have to be one from
ovirtmgmt subnet) and then try restore? Documentation is not much clear
in this particular subject.

Cheers,

Jiri

> 
> Thanks for help
> 
> Jiri
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YH4J7GG7WLOLUFIADZPL6JOPDETJ23CZ/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SWKF5CF3UHVRDE2NA2R3EW3S6642S2HA/


[ovirt-users] migrating standalone engine to selfhosted and upgrade from 4.3 to 4.4 in one step

2020-08-03 Thread Jiří Sléžka
Hello,

I have 4 host cluster managed with standalone engine in version 4.3 and
I would like to migrate this standalone engine to 4.4 as hosted engine.

I have two new hosts which I would like to use as base for new HE
cluster. (new hosts are Intel based, old ones are AMD Opteron based -
new cluster will have 4.4 compatibility, old one have to stay at 4.2
compatibility level).

I red this

https://www.ovirt.org/documentation/migrating_from_a_standalone_manager_to_a_self-hosted_engine/

but the question is: Can I migrate and upgrade in one step? Have anybody
did that already? If it is not possible what is a suggested approach?

Thanks for help

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YH4J7GG7WLOLUFIADZPL6JOPDETJ23CZ/


[ovirt-users] Re: 10GB disk created on glusterfs storage has only 4096B in vm

2020-07-29 Thread Jiří Sléžka
On 7/29/20 7:37 PM, Gianluca Cecchi wrote:
> On Wed, Jul 29, 2020 at 7:13 PM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> 
> 
> thanks for reply. In my case it loks like I have not
> "performance.stat-prefetch" enabled...
> 
> [root@ovirt-hci01 ~]# gluster volume info vms
> 
> Volume Name: vms
> Type: Replicate
> Volume ID: ba5fd3b8-0704-4462-8257-94b77a1222c4
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: 10.0.4.13:/gluster_bricks/vms/vms
> Brick2: 10.0.4.11:/gluster_bricks/vms/vms
> Options Reconfigured:
> performance.client-io-threads: off
> cluster.eager-lock: enable
> performance.io-cache: off
> performance.read-ahead: off
> performance.quick-read: off
> user.cifs: off
> network.ping-timeout: 30
> network.remote-dio: off
> performance.strict-o-direct: on
> performance.low-prio-threads: 32
> features.shard: on
> storage.owner-gid: 36
> storage.owner-uid: 36
> transport.address-family: inet
> storage.fips-mode-rchecksum: on
> nfs.disable: on
> cluster.self-heal-daemon: enable
> 
> 
> BTW: you can run this command to see all options settings, default ones
> and not for the vms volume:
> 
> gluster volume get vms all

good point!

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RSGDDY32V664VCF2ZZT3FJQPYF3GWDQM/


[ovirt-users] Re: 10GB disk created on glusterfs storage has only 4096B in vm

2020-07-29 Thread Jiří Sléžka
hello,

On 7/29/20 6:33 PM, shadow emy wrote:
> I had a similar problem, after i migrate the disk from a "Storage Domain"  to 
> a second "Storage Domain"  the disk size was different and i could not start 
> the vm anymore.
> The Ovirt error was : "Unable to get volume size for domain"
> Somehow gluster has some errors when i migrate disks and the disk have 
> different size.
> What i did was to disable  performance.stat-prefetch for the gluster volume(I 
> read it has some bugs if is enabled in gluster 7.x)

thanks for reply. In my case it loks like I have not
"performance.stat-prefetch" enabled...

[root@ovirt-hci01 ~]# gluster volume info vms

Volume Name: vms
Type: Replicate
Volume ID: ba5fd3b8-0704-4462-8257-94b77a1222c4
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: 10.0.4.13:/gluster_bricks/vms/vms
Brick2: 10.0.4.11:/gluster_bricks/vms/vms
Options Reconfigured:
performance.client-io-threads: off
cluster.eager-lock: enable
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off
user.cifs: off
network.ping-timeout: 30
network.remote-dio: off
performance.strict-o-direct: on
performance.low-prio-threads: 32
features.shard: on
storage.owner-gid: 36
storage.owner-uid: 36
transport.address-family: inet
storage.fips-mode-rchecksum: on
nfs.disable: on
cluster.self-heal-daemon: enable


...well, If it is not a default setting... so I set it off...

[root@ovirt-hci01 ~]# gluster volume set vms performance.stat-prefetch off
volume set: success

...and unbeliavable, it works now!

Is it bug in glusterfs 7.6-1.el8 (link?) or something else?

Should not be this setting default one?

> Also try to look at Disk Snapshots, see if you have a snapshot that does not 
> exist.
> In my case i had this snapshot problem after migration  and i had to delete 
> the snapshot from the database and set the main image disk id as default in 
> the vm.

I have no snapshots of this vm. I just created new vm and try to install
it from ISO.

> Maybe in you case is different.

Well, it was exactly this case, thanks!

Cheers,

Jiri

>  
> Emy
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WO7S2ZFTSRPRY22NX6TCGEYE3BL3YKZX/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KTVKYB6WHC7SPC2OMVWWVRUS76WAOPHB/


[ovirt-users] 10GB disk created on glusterfs storage has only 4096B in vm

2020-07-29 Thread Jiří Sléžka
Hi,

I have another spooky issue. CentOS 8.2, oVirt 4.4.1.10-1

I am trying to create vm on my HCI cluster (which in fact has only two
nodes now, the third will be added later). I have created new 10GB disk
on gluster storage (it behaves the same way when I chose prealocated or
thin provision disk). Everything looks good (I was surprised how fast
was this disk created) but when I run the vm then disk has only 4096 bytes.

see http://mirror.slu.cz/tmp/ovirt_small_disk.png

disk creation part of engine.log is here

https://paste.slu.cz/?0e33e800609898d8#CEC2maoe7zk9b1zmnHaAENjaAnpiyzzGzPFSe8sZ3JUc

the same part in vdsm.log on SPM host

https://paste.slu.cz/?e89fdce800c39b28#3UWw7dXxQAmZysMSKp5NbeTWMNDghZVh2NLEmfb1e4rb

where could be problem? Did anybody experience this behavior?

Cheers,

Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GM4SOUOAHZDFAXI6476DEPEVFRSOQ6WV/


[ovirt-users] Re: problem with custom bond options

2020-07-27 Thread Jiří Sléžka
On 7/24/20 5:23 PM, Strahil Nikolov wrote:
> Hi Jiri,
> 
> you are the second person who mentions it.  Can you open a bug at 
> bugzilla.redhat.com  about that  ?

sure, here it is

https://bugzilla.redhat.com/show_bug.cgi?id=1860843

Best Regards,

Jiri Slezka


> 
> Best Regards,
> Strahil Nikolov
> 
> На 24 юли 2020 г. 16:30:02 GMT+03:00, "Jiří Sléžka"  
> написа:
>> On 7/24/20 11:36 AM, Jiří Sléžka wrote:
>>> On 7/24/20 10:56 AM, Ales Musil wrote:
>>>>
>>>>
>>>> On Fri, Jul 24, 2020 at 10:40 AM Jiří Sléžka >>> <mailto:jiri.sle...@slu.cz>> wrote:
>>>>
>>>> On 7/23/20 2:07 PM, Jiří Sléžka wrote:
>>>> > On 7/23/20 12:35 PM, Ales Musil wrote:
>>>> >>
>>>> >>
>>>> >> On Thu, Jul 23, 2020 at 11:50 AM Jiří Sléžka
>> >>> <mailto:jiri.sle...@slu.cz>
>>>> >> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>
>> wrote:
>>>> >>
>>>> >>     On 7/23/20 11:03 AM, Ales Musil wrote:
>>>> >>     >
>>>> >>     >
>>>> >>     > On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka
>>>> mailto:jiri.sle...@slu.cz>
>>>> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>>>> >>     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>>>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
>>>> >>     >
>>>> >>     >     Hi,
>>>> >>     >
>>>> >>     >     On 7/23/20 8:38 AM, Ales Musil wrote:
>>>> >>     >     >
>>>> >>     >     >
>>>> >>     >     > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka
>>>> >>     mailto:jiri.sle...@slu.cz>
>>>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>>>> >>     >     <mailto:jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz>
>>>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>
>>>> >>     >     > <mailto:jiri.sle...@slu.cz
>>>> <mailto:jiri.sle...@slu.cz> <mailto:jiri.sle...@slu.cz
>>>> <mailto:jiri.sle...@slu.cz>>
>>>> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>>>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>>>
>> wrote:
>>>> >>     >     >
>>>> >>     >     >     Hello,
>>>> >>     >     >
>>>> >>     >     >
>>>> >>     >     > Hi,
>>>> >>     >     >
>>>> >>     >     >
>>>> >>     >     >     CentOS8, oVirt 4.4.1.10-1.el8
>>>> >>     >     >
>>>> >>     >     >     I am trying to setup active-backup (mode=1)
>>>> bonding mode
>>>> >>     with
>>>> >>     >     custom
>>>> >>     >     >     properties. I have one 10GE switch, the
>> second is
>>>> just 1G.
>>>> >>     >     10GE link is
>>>> >>     >     >     the primary one.
>>>> >>     >     >
>>>> >>     >     >     cat
>> /etc/sysconfig/network-scripts/ifcfg-bond0
>>>> >>     >     >
>>>> >>     >     >
>>>> >>     >     > first of all in oVirt 4.4 the network-scripts are
>> not
>>>> relevant
>>>> >>     >     anymore.
>>>> >>     >     > More relevant is output from 'nmstatectl show'.
>>>> >>     >
>>>> >>     >     thanks, I believed that ifcfg files still describes
>> saved
>>>> >>     interface
>>>> >>     >     configuration (even on nm managed interfaces)...
>>>> >>     >
>>>> >>     >
>>>> >>     > It does but it might not be that detailed as we would
>> have
>>>> hoped for.
>&g

[ovirt-users] Re: problem with custom bond options

2020-07-24 Thread Jiří Sléžka
On 7/24/20 11:36 AM, Jiří Sléžka wrote:
> On 7/24/20 10:56 AM, Ales Musil wrote:
>>
>>
>> On Fri, Jul 24, 2020 at 10:40 AM Jiří Sléžka > <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> On 7/23/20 2:07 PM, Jiří Sléžka wrote:
>> > On 7/23/20 12:35 PM, Ales Musil wrote:
>> >>
>> >>
>> >> On Thu, Jul 23, 2020 at 11:50 AM Jiří Sléžka > <mailto:jiri.sle...@slu.cz>
>> >> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
>> >>
>> >>     On 7/23/20 11:03 AM, Ales Musil wrote:
>> >>     >
>> >>     >
>> >>     > On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka
>> mailto:jiri.sle...@slu.cz>
>> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>> >>     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
>> >>     >
>> >>     >     Hi,
>> >>     >
>> >>     >     On 7/23/20 8:38 AM, Ales Musil wrote:
>> >>     >     >
>> >>     >     >
>> >>     >     > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka
>> >>     mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>> >>     >     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>
>> >>     >     > <mailto:jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz> <mailto:jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz>>
>> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>>> wrote:
>> >>     >     >
>> >>     >     >     Hello,
>> >>     >     >
>> >>     >     >
>> >>     >     > Hi,
>> >>     >     >
>> >>     >     >
>> >>     >     >     CentOS8, oVirt 4.4.1.10-1.el8
>> >>     >     >
>> >>     >     >     I am trying to setup active-backup (mode=1)
>> bonding mode
>> >>     with
>> >>     >     custom
>> >>     >     >     properties. I have one 10GE switch, the second is
>> just 1G.
>> >>     >     10GE link is
>> >>     >     >     the primary one.
>> >>     >     >
>> >>     >     >     cat /etc/sysconfig/network-scripts/ifcfg-bond0
>> >>     >     >
>> >>     >     >
>> >>     >     > first of all in oVirt 4.4 the network-scripts are not
>> relevant
>> >>     >     anymore.
>> >>     >     > More relevant is output from 'nmstatectl show'.
>> >>     >
>> >>     >     thanks, I believed that ifcfg files still describes saved
>> >>     interface
>> >>     >     configuration (even on nm managed interfaces)...
>> >>     >
>> >>     >
>> >>     > It does but it might not be that detailed as we would have
>> hoped for.
>> >>     > Another reason why I said that it is not relevant is of
>> course if
>> >>     > someone tries
>> >>     > reconfigure the interface through network-scripts.
>> >>
>> >>     well, honestly I did that (modified ifcfg and then use nmcli con
>> >>     reload). So right way is using nmcli con modify command?
>> >>
>> >>
>> >> Yes or nmstate. Just be aware that anything that you do to interface
>> >> outside of oVirt can have harmful impacts on the host and overall
>> oVirt
>> >> state.
>> >>  
>> >>
>> >>
>> >>     >     from nmstatectl show I can see that bond0 has specified mac
>> >>     address
>> >>     >
>> >>     >   
>> >>   
>>   
>> https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka
>

[ovirt-users] Re: problem with custom bond options

2020-07-24 Thread Jiří Sléžka
On 7/24/20 10:56 AM, Ales Musil wrote:
> 
> 
> On Fri, Jul 24, 2020 at 10:40 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> On 7/23/20 2:07 PM, Jiří Sléžka wrote:
> > On 7/23/20 12:35 PM, Ales Musil wrote:
> >>
> >>
> >> On Thu, Jul 23, 2020 at 11:50 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> >> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >>
> >>     On 7/23/20 11:03 AM, Ales Musil wrote:
> >>     >
> >>     >
> >>     > On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka
> mailto:jiri.sle...@slu.cz>
> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >>     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
>     >>     >
> >>     >     Hi,
> >>     >
> >>     >     On 7/23/20 8:38 AM, Ales Musil wrote:
> >>     >     >
> >>     >     >
> >>     >     > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka
> >>     mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >>     >     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>
> >>     >     > <mailto:jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz> <mailto:jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>>
> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>>> wrote:
> >>     >     >
> >>     >     >     Hello,
> >>     >     >
> >>     >     >
> >>     >     > Hi,
> >>     >     >
> >>     >     >
> >>     >     >     CentOS8, oVirt 4.4.1.10-1.el8
> >>     >     >
> >>     >     >     I am trying to setup active-backup (mode=1)
> bonding mode
> >>     with
> >>     >     custom
> >>     >     >     properties. I have one 10GE switch, the second is
> just 1G.
> >>     >     10GE link is
> >>     >     >     the primary one.
> >>     >     >
> >>     >     >     cat /etc/sysconfig/network-scripts/ifcfg-bond0
> >>     >     >
> >>     >     >
> >>     >     > first of all in oVirt 4.4 the network-scripts are not
> relevant
> >>     >     anymore.
> >>     >     > More relevant is output from 'nmstatectl show'.
> >>     >
> >>     >     thanks, I believed that ifcfg files still describes saved
> >>     interface
> >>     >     configuration (even on nm managed interfaces)...
> >>     >
> >>     >
> >>     > It does but it might not be that detailed as we would have
> hoped for.
> >>     > Another reason why I said that it is not relevant is of
> course if
> >>     > someone tries
> >>     > reconfigure the interface through network-scripts.
> >>
> >>     well, honestly I did that (modified ifcfg and then use nmcli con
> >>     reload). So right way is using nmcli con modify command?
> >>
> >>
> >> Yes or nmstate. Just be aware that anything that you do to interface
> >> outside of oVirt can have harmful impacts on the host and overall
> oVirt
> >> state.
> >>  
> >>
> >>
> >>     >     from nmstatectl show I can see that bond0 has specified mac
> >>     address
> >>     >
> >>     >   
> >>   
>   
> https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka
> >>     >
> >>     >     >     BONDING_OPTS="active_slave=ens5 downdelay=0
> miimon=100
> >>     >     >     mode=active-backup primary=ens5 updelay=0"
> >>     >     >     TYPE=Bond
> >>     >     >     BONDING_MASTER=yes
> >>     >     >     PROXY_METHOD=none
> >>     >     >   

[ovirt-users] Re: problem with custom bond options

2020-07-24 Thread Jiří Sléžka
On 7/23/20 2:07 PM, Jiří Sléžka wrote:
> On 7/23/20 12:35 PM, Ales Musil wrote:
>>
>>
>> On Thu, Jul 23, 2020 at 11:50 AM Jiří Sléžka > <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> On 7/23/20 11:03 AM, Ales Musil wrote:
>> >
>> >
>> > On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka > <mailto:jiri.sle...@slu.cz>
>> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
>> >
>> >     Hi,
>> >
>> >     On 7/23/20 8:38 AM, Ales Musil wrote:
>> >     >
>> >     >
>> >     > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka
>> mailto:jiri.sle...@slu.cz>
>> >     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>> >     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
>> >     >
>> >     >     Hello,
>> >     >
>> >     >
>> >     > Hi,
>> >     >
>> >     >
>> >     >     CentOS8, oVirt 4.4.1.10-1.el8
>> >     >
>> >     >     I am trying to setup active-backup (mode=1) bonding mode
>> with
>> >     custom
>> >     >     properties. I have one 10GE switch, the second is just 1G.
>> >     10GE link is
>> >     >     the primary one.
>> >     >
>> >     >     cat /etc/sysconfig/network-scripts/ifcfg-bond0
>> >     >
>> >     >
>> >     > first of all in oVirt 4.4 the network-scripts are not relevant
>> >     anymore.
>> >     > More relevant is output from 'nmstatectl show'.
>> >
>> >     thanks, I believed that ifcfg files still describes saved
>> interface
>> >     configuration (even on nm managed interfaces)...
>> >
>> >
>> > It does but it might not be that detailed as we would have hoped for.
>> > Another reason why I said that it is not relevant is of course if
>> > someone tries
>> > reconfigure the interface through network-scripts.
>>
>> well, honestly I did that (modified ifcfg and then use nmcli con
>> reload). So right way is using nmcli con modify command?
>>
>>
>> Yes or nmstate. Just be aware that anything that you do to interface
>> outside of oVirt can have harmful impacts on the host and overall oVirt
>> state.
>>  
>>
>>
>> >     from nmstatectl show I can see that bond0 has specified mac
>> address
>> >
>> >   
>>  
>> https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka
>> >
>> >     >     BONDING_OPTS="active_slave=ens5 downdelay=0 miimon=100
>> >     >     mode=active-backup primary=ens5 updelay=0"
>> >     >     TYPE=Bond
>> >     >     BONDING_MASTER=yes
>> >     >     PROXY_METHOD=none
>> >     >     BROWSER_ONLY=no
>> >     >     IPV4_FAILURE_FATAL=no
>> >     >     IPV6_DISABLED=yes
>> >     >     IPV6INIT=no
>> >     >     NAME=bond0
>> >     >     UUID=c054364e-47cf-47ee-a7fc-70b37c9977e7
>> >     >     DEVICE=bond0
>> >     >     ONBOOT=yes
>> >     >     MTU=9000
>> >     >
>> >     >     When I try to add a custom parameter "fail_over_mac=active"
>> >     (which I
>> >     >     believe could solve my problems with stalled mac
>> addresses in
>> >     switch's
>> >     >     cam table in case of failover) I got...
>> >     >
>> >     >     "Error while executing action HostSetupNetworks: Unexpected
>> >     exception"
>> >     >
>> >     >     ...in manager. In the engine.log it looks like
>> >     >
>> >     >     2020-07-22 21:20:35,774+02 WARN
>> >     >   
>> >   
>>   [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
>> >     >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0]
>> Unexpected
>> >   

[ovirt-users] Re: problem with custom bond options

2020-07-23 Thread Jiří Sléžka
On 7/23/20 12:35 PM, Ales Musil wrote:
> 
> 
> On Thu, Jul 23, 2020 at 11:50 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> On 7/23/20 11:03 AM, Ales Musil wrote:
> >
> >
> > On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >     On 7/23/20 8:38 AM, Ales Musil wrote:
> >     >
> >     >
> >     > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka
> mailto:jiri.sle...@slu.cz>
> >     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
> >     >
> >     >     Hello,
> >     >
> >     >
> >     > Hi,
> >     >
> >     >
> >     >     CentOS8, oVirt 4.4.1.10-1.el8
> >     >
> >     >     I am trying to setup active-backup (mode=1) bonding mode
> with
> >     custom
> >     >     properties. I have one 10GE switch, the second is just 1G.
> >     10GE link is
> >     >     the primary one.
> >     >
> >     >     cat /etc/sysconfig/network-scripts/ifcfg-bond0
> >     >
> >     >
> >     > first of all in oVirt 4.4 the network-scripts are not relevant
> >     anymore.
> >     > More relevant is output from 'nmstatectl show'.
> >
> >     thanks, I believed that ifcfg files still describes saved
> interface
> >     configuration (even on nm managed interfaces)...
> >
> >
> > It does but it might not be that detailed as we would have hoped for.
> > Another reason why I said that it is not relevant is of course if
> > someone tries
> > reconfigure the interface through network-scripts.
> 
> well, honestly I did that (modified ifcfg and then use nmcli con
> reload). So right way is using nmcli con modify command?
> 
> 
> Yes or nmstate. Just be aware that anything that you do to interface
> outside of oVirt can have harmful impacts on the host and overall oVirt
> state.
>  
> 
> 
> >     from nmstatectl show I can see that bond0 has specified mac
> address
> >
> >   
>  
> https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka
> >
> >     >     BONDING_OPTS="active_slave=ens5 downdelay=0 miimon=100
> >     >     mode=active-backup primary=ens5 updelay=0"
> >     >     TYPE=Bond
> >     >     BONDING_MASTER=yes
> >     >     PROXY_METHOD=none
> >     >     BROWSER_ONLY=no
> >     >     IPV4_FAILURE_FATAL=no
> >     >     IPV6_DISABLED=yes
> >     >     IPV6INIT=no
> >     >     NAME=bond0
> >     >     UUID=c054364e-47cf-47ee-a7fc-70b37c9977e7
> >     >     DEVICE=bond0
> >     >     ONBOOT=yes
> >     >     MTU=9000
> >     >
> >     >     When I try to add a custom parameter "fail_over_mac=active"
> >     (which I
> >     >     believe could solve my problems with stalled mac
> addresses in
> >     switch's
> >     >     cam table in case of failover) I got...
> >     >
> >     >     "Error while executing action HostSetupNetworks: Unexpected
> >     exception"
> >     >
> >     >     ...in manager. In the engine.log it looks like
> >     >
> >     >     2020-07-22 21:20:35,774+02 WARN
> >     >   
> >   
>   [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> >     >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0]
> Unexpected
> >     >     return value: Status [code=-32603, message=Internal JSON-RPC
> >     error:
> >     >     {'reason': 'MAC address cannot be specified in bond
> interface
> >     along with
> >     >     specified bond options'}]
> >     >     2020-07-22 21:20:35,774+02 ERROR
> >     >   
> >   
>   [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> >     >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0]

[ovirt-users] Re: problem with custom bond options

2020-07-23 Thread Jiří Sléžka
On 7/23/20 11:03 AM, Ales Musil wrote:
> 
> 
> On Thu, Jul 23, 2020 at 10:35 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> On 7/23/20 8:38 AM, Ales Musil wrote:
> >
> >
> > On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hello,
> >
> >
> > Hi,
> >
> >
> >     CentOS8, oVirt 4.4.1.10-1.el8
> >
> >     I am trying to setup active-backup (mode=1) bonding mode with
> custom
> >     properties. I have one 10GE switch, the second is just 1G.
> 10GE link is
> >     the primary one.
> >
> >     cat /etc/sysconfig/network-scripts/ifcfg-bond0
> >
> >
> > first of all in oVirt 4.4 the network-scripts are not relevant
> anymore.
> > More relevant is output from 'nmstatectl show'.
> 
> thanks, I believed that ifcfg files still describes saved interface
> configuration (even on nm managed interfaces)...
> 
> 
> It does but it might not be that detailed as we would have hoped for.
> Another reason why I said that it is not relevant is of course if
> someone tries
> reconfigure the interface through network-scripts.

well, honestly I did that (modified ifcfg and then use nmcli con
reload). So right way is using nmcli con modify command?

> from nmstatectl show I can see that bond0 has specified mac address
> 
> 
> https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka
> 
> >     BONDING_OPTS="active_slave=ens5 downdelay=0 miimon=100
> >     mode=active-backup primary=ens5 updelay=0"
> >     TYPE=Bond
> >     BONDING_MASTER=yes
> >     PROXY_METHOD=none
> >     BROWSER_ONLY=no
> >     IPV4_FAILURE_FATAL=no
> >     IPV6_DISABLED=yes
> >     IPV6INIT=no
> >     NAME=bond0
> >     UUID=c054364e-47cf-47ee-a7fc-70b37c9977e7
> >     DEVICE=bond0
> >     ONBOOT=yes
> >     MTU=9000
> >
> >     When I try to add a custom parameter "fail_over_mac=active"
> (which I
> >     believe could solve my problems with stalled mac addresses in
> switch's
> >     cam table in case of failover) I got...
> >
> >     "Error while executing action HostSetupNetworks: Unexpected
> exception"
> >
> >     ...in manager. In the engine.log it looks like
> >
> >     2020-07-22 21:20:35,774+02 WARN
> >   
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
> >     return value: Status [code=-32603, message=Internal JSON-RPC
> error:
> >     {'reason': 'MAC address cannot be specified in bond interface
> along with
> >     specified bond options'}]
> >     2020-07-22 21:20:35,774+02 ERROR
> >   
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Failed in
> >     'HostSetupNetworksVDS' method
> >     2020-07-22 21:20:35,774+02 WARN
> >   
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
> >     return value: Status [code=-32603, message=Internal JSON-RPC
> error:
> >     {'reason': 'MAC address cannot be specified in bond interface
> along with
> >     specified bond options'}]
> >     2020-07-22 21:20:35,811+02 ERROR
> >   
>  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> >     (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] EVENT_ID:
> >     VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt-hci01.mch.local
> command
> >     HostSetupNetworksVDS failed: Internal JSON-RPC error:
> {'reason': 'MAC
> >     address cannot be specified in bond interface along with
> specified bond
> >     options'}
> >
> >
> > Can you please share supervdsm.log from the relevant host?
> 
> here it is
> 
> 
> https://paste.slu.cz/?ef8bd7eeae8eeaed#Ej3MXRufm6Y9qjKCkgCXXieP132kRAiswR17ygxQDhft
> 
> 
> This indeed seems to be a bug. Can you please open BZ
> <https://bugzilla.redhat.com/enter_bug.cgi?product=v

[ovirt-users] Re: problem with custom bond options

2020-07-23 Thread Jiří Sléžka
Hi,

On 7/23/20 8:38 AM, Ales Musil wrote:
> 
> 
> On Wed, Jul 22, 2020 at 9:41 PM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hello,
> 
> 
> Hi,
> 
> 
> CentOS8, oVirt 4.4.1.10-1.el8
> 
> I am trying to setup active-backup (mode=1) bonding mode with custom
> properties. I have one 10GE switch, the second is just 1G. 10GE link is
> the primary one.
> 
> cat /etc/sysconfig/network-scripts/ifcfg-bond0
> 
> 
> first of all in oVirt 4.4 the network-scripts are not relevant anymore.
> More relevant is output from 'nmstatectl show'.

thanks, I believed that ifcfg files still describes saved interface
configuration (even on nm managed interfaces)...

from nmstatectl show I can see that bond0 has specified mac address

https://paste.slu.cz/?d363cf2c029f6b83#Ew2rCiYyNGrdfffy6bvzSjbb8x4jJsaUdhxkjwThMFka

> BONDING_OPTS="active_slave=ens5 downdelay=0 miimon=100
> mode=active-backup primary=ens5 updelay=0"
> TYPE=Bond
> BONDING_MASTER=yes
> PROXY_METHOD=none
> BROWSER_ONLY=no
> IPV4_FAILURE_FATAL=no
> IPV6_DISABLED=yes
> IPV6INIT=no
> NAME=bond0
> UUID=c054364e-47cf-47ee-a7fc-70b37c9977e7
> DEVICE=bond0
> ONBOOT=yes
> MTU=9000
> 
> When I try to add a custom parameter "fail_over_mac=active" (which I
> believe could solve my problems with stalled mac addresses in switch's
> cam table in case of failover) I got...
> 
> "Error while executing action HostSetupNetworks: Unexpected exception"
> 
> ...in manager. In the engine.log it looks like
> 
> 2020-07-22 21:20:35,774+02 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
> return value: Status [code=-32603, message=Internal JSON-RPC error:
> {'reason': 'MAC address cannot be specified in bond interface along with
> specified bond options'}]
> 2020-07-22 21:20:35,774+02 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Failed in
> 'HostSetupNetworksVDS' method
> 2020-07-22 21:20:35,774+02 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
> return value: Status [code=-32603, message=Internal JSON-RPC error:
> {'reason': 'MAC address cannot be specified in bond interface along with
> specified bond options'}]
> 2020-07-22 21:20:35,811+02 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] EVENT_ID:
> VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt-hci01.mch.local command
> HostSetupNetworksVDS failed: Internal JSON-RPC error: {'reason': 'MAC
> address cannot be specified in bond interface along with specified bond
> options'}
> 
> 
> Can you please share supervdsm.log from the relevant host?

here it is

https://paste.slu.cz/?ef8bd7eeae8eeaed#Ej3MXRufm6Y9qjKCkgCXXieP132kRAiswR17ygxQDhft

Cheers,

Jiri


> Could anybody explain me what 'MAC address cannot be specified in bond
> interface along with specified bond options' means? I believe a MAC
> address is not configured in interface configuration.
> 
> Or does it mean 'fail_over_mac=active' is not supported in oVirt?
> 
> Thanks in advance,
> 
> Jiri
> 
> 
> 
> 
> 
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
> <mailto:users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BUGNSEBD3OBSUPASLJQYYJIF5767XMDE/
> 
> 
> 
> Thank you.
> Regards,
> Ales
> 
> -- 
> 
> Ales Musil
> 
> Software Engineer - RHV Network
> 
> Red Hat EMEA <https://www.redhat.com>
> 
> amu...@redhat.com <mailto:amu...@redhat.com>    IM: amusil
> 
> <https://red.ht/sig>
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YQ5SW7FIHB57UIDB37WEHEIFKZOXVA6F/


[ovirt-users] problem with custom bond options

2020-07-22 Thread Jiří Sléžka
Hello,

CentOS8, oVirt 4.4.1.10-1.el8

I am trying to setup active-backup (mode=1) bonding mode with custom
properties. I have one 10GE switch, the second is just 1G. 10GE link is
the primary one.

cat /etc/sysconfig/network-scripts/ifcfg-bond0

BONDING_OPTS="active_slave=ens5 downdelay=0 miimon=100
mode=active-backup primary=ens5 updelay=0"
TYPE=Bond
BONDING_MASTER=yes
PROXY_METHOD=none
BROWSER_ONLY=no
IPV4_FAILURE_FATAL=no
IPV6_DISABLED=yes
IPV6INIT=no
NAME=bond0
UUID=c054364e-47cf-47ee-a7fc-70b37c9977e7
DEVICE=bond0
ONBOOT=yes
MTU=9000

When I try to add a custom parameter "fail_over_mac=active" (which I
believe could solve my problems with stalled mac addresses in switch's
cam table in case of failover) I got...

"Error while executing action HostSetupNetworks: Unexpected exception"

...in manager. In the engine.log it looks like

2020-07-22 21:20:35,774+02 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
(default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
return value: Status [code=-32603, message=Internal JSON-RPC error:
{'reason': 'MAC address cannot be specified in bond interface along with
specified bond options'}]
2020-07-22 21:20:35,774+02 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
(default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Failed in
'HostSetupNetworksVDS' method
2020-07-22 21:20:35,774+02 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
(default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] Unexpected
return value: Status [code=-32603, message=Internal JSON-RPC error:
{'reason': 'MAC address cannot be specified in bond interface along with
specified bond options'}]
2020-07-22 21:20:35,811+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-8) [da1984f3-f38b-4e0a-ac80-a81e67d73ff0] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt-hci01.mch.local command
HostSetupNetworksVDS failed: Internal JSON-RPC error: {'reason': 'MAC
address cannot be specified in bond interface along with specified bond
options'}


Could anybody explain me what 'MAC address cannot be specified in bond
interface along with specified bond options' means? I believe a MAC
address is not configured in interface configuration.

Or does it mean 'fail_over_mac=active' is not supported in oVirt?

Thanks in advance,

Jiri







smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BUGNSEBD3OBSUPASLJQYYJIF5767XMDE/


[ovirt-users] Re: oVirt localization: you can help!

2020-06-22 Thread Jiří Sléžka
On 6/17/20 8:48 AM, Sandro Bonazzola wrote:
> Hi,
> if you have some time, here is a chance for helping oVirt project
> without requiring development skills.
> Help us localize oVirt to your natural language!
> oVirt Engine needs some work for:
> (see 
> https://zanata.phx.ovirt.org/iteration/view/ovirt-engine/ovirt-4.4?dswid=6591 
> )

I would like to, but it looks like I can't login (generate activation
mail) using Fedora or Google account...

An unexpected error has occurred. Please report this problem with
details of what you were attempting.

but I don't have a Jira account to do that...

Cheers,

Jiri

> 
>   * Czech 33.14% Translated
>   * German 98.87% Translated
>   * Italian 80.02% Translated
>   * Korean 99.72% Translated
>   * Portuguese (Brazil) 99.72% Translated
>   * Russian 30.73% Translated
>   * Spanish 98.87% Translated
> 
> ovirt-engine-ui-extensions:
> (see 
> https://zanata.phx.ovirt.org/iteration/view/ovirt-engine-ui-extensions/1.1?dswid=-5868
>  ) 
> 
>   * Czech 22.82%Translated
>   * German 89.9% Translated
>   * Italian 15.62% Translated
>   * Korean 99.17% Translated
>   * Portuguese (Brazil) 89.9% Translated
>   * Spanish 89.9% Translated
> 
> ovirt-web-ui
> (see https://zanata.phx.ovirt.org/iteration/view/ovirt-web-ui/1.6?dswid=-9733 
> )
> 
>   * Czech 24.8% Translated
>   * German 98.33% Translated
>   * Italian 12.85% Translated
>   * Korean 98.51% Translated
>   * Portuguese (Brazil) 98.33% Translated
> 
> If you're trying to help and  you encounter any issue with the
> translation platform let us know and we'll help you solve them.
> 
> Thanks,
> -- 
> 
> Sandro Bonazzola
> 
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
> 
> Red Hat EMEA 
> 
> sbona...@redhat.com    
> 
>  
> 
> **
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> *
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NYX3AXWEPCNBKKS6O65KNXXAP2UWRWG6/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CUNTEMHLASGSM7ALUVMCSVU6PIGORQQP/


[ovirt-users] Re: basic infra and glusterfs sizing question

2020-06-04 Thread Jiří Sléžka
On 5/30/20 3:48 PM, Jp wrote:
> I'm running oVirt + Gluster in HCI config and had similar questions
> as you when building it out.

I think it would be nice to have some (best practice) design guides...
but there are so many possibilities how to build a oVirt cluster... This
time I try to build very cheap solution with as much redundancy as is
feasible. But of course what is chep cannot be rock-solid...

>> - single point of failure in this router (not really - just in case
>> oVirt is badly broken and I need to access internal vlans to
>> recover it)
> 
> There is no SPOF if you're doing 3x HCI nodes.  I regularly put 1 of
> my 3 Nodes into Maintenance or shutdown Gluster and have had no
> SPOFs.  Are you only doing a single Node?  If so, the point of
> failure is ... that 1 node :)

you are righ, I ment hypotetical situation with non functional HE vm,
broken gluster etc...

>> * have this router as virtual appliance inside oVirt (something
>> like pfSense for example)
> 
> I'm running pfSense in hardware still (a Netgate ARM device).
> There's plenty of opinions on Reddit, StackOverflow, etc. about
> running any router in VM.  There's several steps you'd need to take
> when I looked into it, and if you setup pfSense's interfaces as
> virtio / vhost I'd imagine you'd bump into limitations b/c those para
> devices weren't intended to do things like hardware offload, advanced
> routing, etc.; so you may have to setup PCI passthru / SR-IOV to get
> all of pfSense's routing capabilities.  So I'm keeping pfSense in
> hardware ... though I've thought of creating a backup pfSense
> instance in VM encase of hardware disaster to keep my Internet up in
> "limp mode" ... but creating a cellular Hotspot is my current backup
> plan :)

thanks for sharing your experience.

I will try to keep my topology as simple as possible in the start.
pfSense appliance is something I can add later.

>> Install all hosts and HE with public addresses
> 
> Why?  The HE is a manager to the cluster and sits on the management
> network (ovirtmgmt), so giving it public IPs would be adding a
> security risk to the setup.  I keep my HE accessible only via local
> VLAN and that's how most folks lock it down.  Are you thinking the HE
> or HCI includes a load balancer?  Eitherway, oVirt doesn't, but
> putting a load balancer in front of VM's and giving it your public IP
> would make more sense for exposing things to the Internet ... but I'm
> assuming too much and don't know what your cluster will be running. 

just for sure I can access it in case of disaster recovery. But it is
overkill and of course security risk. My problem is that I have no other
access to my housing other then through public ips. No problem, I will
add dedicated router which will act as gw for local vlans, NAT and vpn
gw and will keep oVirt hosts inside on private space.

Once more thanks for brainstorming :-)

Cheers,

Jiri


> ___ Users mailing list --
> users@ovirt.org To unsubscribe send an email to
> users-le...@ovirt.org Privacy Statement:
> https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/ List
> Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BCV75LWZ6KTBTP23OIEYIQOMH42RDO3I/
>



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BBRHMZVHJZXTHAXWIKLICMJTS2CCO5KN/


[ovirt-users] Re: basic infra and glusterfs sizing question

2020-06-04 Thread Jiří Sléžka
On 5/29/20 5:27 PM, Jayme wrote:
> Also, I can't think of the limit off the top of my head. I believe it's
> either 75 or 100Gb. If the engine volume is set any lower the
> installation will fail. There is a minimum size requirement.

thanks for reply. Meantime I was looking into RHV 4.4 beta docs and the
limit is mentioned there

Minimum Total - 55 GB

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/rhv_requirements#Storage_Requirements_SHE_cli_deploy

but oVirt HE vm is created with 51GB disk

as Strahil mentioned in other post in this thread cockpit/ansible
deploys engine lv for gluster brick as thick volume. Data and vmstore is
deployed as thin volume.

I will probably use default 100GB thick volume... (and only one other
volume for vms on ssd disk)

Cheers,

Jiri

> 
> On Fri, May 29, 2020 at 12:09 PM Jayme  <mailto:jay...@gmail.com>> wrote:
> 
> Regarding Gluster question. The volumes would be provisioned with
> LVM on the same block device. I believe 100Gb is recommended for the
> engine volume. The other volumes such as data would be created on
> another logical volume and you can use up the rest of the available
> space there. Ex. 100gb engine, 500Gb data and 400Gb vmstore. 
> 
> Data domains are basically the same now, in the past there used to
> be different domain types such as ISO domains which are deprecated.
> You don't really need any more than engine volume and data volume. 
> You could have a volume for storing ISOs if you wanted to. You could
> have a separate volume for OS disks and another volume for data
> disks which would give you more flexibility for backups (so that you
> could backup data disks but not OS for example). 
> 
> On Fri, May 29, 2020 at 10:29 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hello,
> 
> I am just curious if basic gluster HCI layout which is suggested in
> cockpit has some deeper meaning.
> 
> There are suggested 3 volumes
> 
> * engine - it is clear, it is the volume where engine vm is running.
> When this vm is 51GB big how small could this volume be? I have
> 1TB SSD
> storage and I would like utilize it as much as possible. Could I
> create
> this volume as small as this vm is? Is it safe for example for
> future
> upgrades?
> 
> * vmstore - it make sense it is a space for all other vms running in
> oVirt. Right?
> 
> * data - which purpose has this volume? other data like for example
> ISOs? Direct disks?
> 
> Another infra question... or maybe request for comment
> 
> I have small amount of public ipv4 addresses in my housing (but
> I have
> own switches there so I can create vlans and separate internal
> traffic).
> I can access only these public ipv4 addresses directly. I would
> like to
> conserve these addressess as much as possible so what is the best
> approach in your opinion?
> 
> * Install all hosts and HE with management network on private
> addressess
> 
>   * have small router (hw appliance with for example LEDE) which
> will
> utilize one ipv4 address and will do NAT and vpn for accessing my
> internals vlans.
>     + looks like simple approach to me
>     - single point of failure in this router (not really - just
> in case
> oVirt is badly broken and I need to access internal vlans to
> recover it)
> 
>   * have this router as virtual appliance inside oVirt
> (something like
> pfSense for example)
>     + no need hw router
>     + not sure but I could probably configure vrrp redundancy
>     - still single point of failure like in first case
> 
>   * any other approach? Could ovn help here somehow?
> 
> * Install all hosts and HE with public addresses :-)
>   + access to all hosts directly
>   - 3 node HCI cluster uses 4 public ip addressess
> 
> Thanks for your opinions
> 
> Cheers,
> 
> Jiri
> 
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
> <mailto:users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.

[ovirt-users] basic infra and glusterfs sizing question

2020-05-29 Thread Jiří Sléžka
Hello,

I am just curious if basic gluster HCI layout which is suggested in
cockpit has some deeper meaning.

There are suggested 3 volumes

* engine - it is clear, it is the volume where engine vm is running.
When this vm is 51GB big how small could this volume be? I have 1TB SSD
storage and I would like utilize it as much as possible. Could I create
this volume as small as this vm is? Is it safe for example for future
upgrades?

* vmstore - it make sense it is a space for all other vms running in
oVirt. Right?

* data - which purpose has this volume? other data like for example
ISOs? Direct disks?

Another infra question... or maybe request for comment

I have small amount of public ipv4 addresses in my housing (but I have
own switches there so I can create vlans and separate internal traffic).
I can access only these public ipv4 addresses directly. I would like to
conserve these addressess as much as possible so what is the best
approach in your opinion?

* Install all hosts and HE with management network on private addressess

  * have small router (hw appliance with for example LEDE) which will
utilize one ipv4 address and will do NAT and vpn for accessing my
internals vlans.
+ looks like simple approach to me
- single point of failure in this router (not really - just in case
oVirt is badly broken and I need to access internal vlans to recover it)

  * have this router as virtual appliance inside oVirt (something like
pfSense for example)
+ no need hw router
+ not sure but I could probably configure vrrp redundancy
- still single point of failure like in first case

  * any other approach? Could ovn help here somehow?

* Install all hosts and HE with public addresses :-)
  + access to all hosts directly
  - 3 node HCI cluster uses 4 public ip addressess

Thanks for your opinions

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LIFQQHTFVTS6KICR5MTRPGO5CH7QDLK7/


[ovirt-users] Re: oVirt4.4 HCI single host mortal combat

2020-05-28 Thread Jiří Sléžka
On 5/27/20 11:19 AM, Jiří Sléžka wrote:
> Hi,
> 
> I am still fighting with oVirt 4.4 installation in HCI single host
> configuration. Seems to be hard fighter... ;-)
> 
> It looks like there is no 4.4 HCI single host installation guide so I am
> using compilation of this sources
> 
> * https://www.ovirt.org/download/
> *
> https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Single_node_hyperconverged.html
> 
> I did
> 
> * clean minimal install of CentOS 8.1
> * setup networks (I am using vlans on bond for internal traffic)
> 
> dnf update -y
> dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
> 
> dnf install cockpit cockpit-ovirt-dashboard vdsm-gluster
> ovirt-engine-appliance glusterfs-server gluster-ansible-roles
> 
> systemctl enable --now cockpit.socket
> firewall-cmd --add-service=cockpit
> firewall-cmd --add-service=cockpit --permanent
> 
> ssh-keygen
> ssh-copy-id root@10.0.4.11
> ssh root@10.0.4.11
> 
> (10.0.4.11 is local address on vlan which I would like use as storage
> network)
> 
> I would like to run gluster-ansible-roles from command line but I am not
> sure how exactly do it right way so I am going the cockpit way and the
> gluster part works like expected.
> 
> Next Boss is HE install
> 
> Round 1, Fight!
> 
> The hosted engine wizzard ends with missing ca-cert.pem (unfortunately I
> close the window and cannot find that log anymore). But it looks to me
> like problem mentioned in
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4PUIES2JGAFHJY6BJG5MQY4URRE3STKS/
> 
> I have switched to command line...
> 
> Round 2, Fight!
> 
> ovirt-hosted-engine-cleanup
> 
> ovirt-hosted-engine-setup
> 
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> host has been set in non_operational status, deployment errors:   code
> 505: Host ovirt-hci01.stud.slu.cz installation failed. Failed to
> configure management network on the host.,code 9000: Failed to
> verify Power Management configuration for Host ovirt-hci01.stud.slu.cz.,
>   fix accordingly and re-deploy."}
> 
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200526210340-h7waks.log
> 
> interesting thing is the vm looks like running in some way
> 
> ps aux | grep kvm
> qemu 26790 58.2  6.6 6927972 3295760 ? Sl   21:28  12:40
> /usr/libexec/qemu-kvm -name guest=HostedEngineLocal,debug-threads=on -S
> -object
> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-HostedEngineLocal/master-key.aes
> -machine pc-q35-rhel8.1.0,accel=kvm,usb=off,dump-guest-core=off -cpu
> Nehalem-IBRS,vme=on,ss=on,x2apic=on,tsc...
> ...
> 
> but
> 
> hosted-engine --vm-status
> It seems like a previous attempt to deploy hosted-engine failed or it's
> still in progress. Please clean it up before trying again
> 
> hosted-engine --check-deployed
> The hosted engine has not been deployed
> 
> ok...
> 
> Round 3, Fight!
> 
> ovirt-hosted-engine-cleanup
> 
> ovirt-hosted-engine-setup --config-append=/root/answers-20200526214934.conf
> 
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd":
> ["virt-install", "-n", "HostedEngineLocal", "--os-variant", "rhel8.0",
> "--virt-type", "kvm", "--memory", "4096", "--vcpus", "2", "--network",
> "network=default,mac=00:16:3e:7a:ce:77,model=virtio", "--disk",
> "/var/tmp/localvmc7szuw4y/images/6c7c4d4b-9c11-485d-98e0-466a09888515/c16b87ac-f9d4-491d-a972-7dc333a324a0",
> "--import", "--disk",
> "path=/var/tmp/localvmc7szuw4y/seed.iso,device=cdrom",
> "--noautoconsole", "--rng", "/dev/random", "--graphics", "vnc",
> "--video", "vga", "--sound", "none", "--controller", "usb,model=none",
> "--memballoon", "none", "--boot", "hd,menu=off", "--clock",
> "kvmclock_present=yes"], "delta": "0:00:04.419991", "end": "2020-05-26
> 22:27:20.730780", "msg": "non-zero return code", "rc": 1, "start":
> "2020-05-26 22:27:16.310789", "stderr": "ERRORinternal error:
> process exited while connecting to monitor: 2020-05-26T20:27:19.254675Z
> qemu-kvm: -object
> tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/vdsm/libvirt-vnc,endpoint=server,verify-peer=no:
> Unable to access credentials /etc/pki/vdsm/lib

[ovirt-users] oVirt4.4 HCI single host mortal combat

2020-05-27 Thread Jiří Sléžka
Hi,

I am still fighting with oVirt 4.4 installation in HCI single host
configuration. Seems to be hard fighter... ;-)

It looks like there is no 4.4 HCI single host installation guide so I am
using compilation of this sources

* https://www.ovirt.org/download/
*
https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Single_node_hyperconverged.html

I did

* clean minimal install of CentOS 8.1
* setup networks (I am using vlans on bond for internal traffic)

dnf update -y
dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm

dnf install cockpit cockpit-ovirt-dashboard vdsm-gluster
ovirt-engine-appliance glusterfs-server gluster-ansible-roles

systemctl enable --now cockpit.socket
firewall-cmd --add-service=cockpit
firewall-cmd --add-service=cockpit --permanent

ssh-keygen
ssh-copy-id root@10.0.4.11
ssh root@10.0.4.11

(10.0.4.11 is local address on vlan which I would like use as storage
network)

I would like to run gluster-ansible-roles from command line but I am not
sure how exactly do it right way so I am going the cockpit way and the
gluster part works like expected.

Next Boss is HE install

Round 1, Fight!

The hosted engine wizzard ends with missing ca-cert.pem (unfortunately I
close the window and cannot find that log anymore). But it looks to me
like problem mentioned in
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4PUIES2JGAFHJY6BJG5MQY4URRE3STKS/

I have switched to command line...

Round 2, Fight!

ovirt-hosted-engine-cleanup

ovirt-hosted-engine-setup

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
host has been set in non_operational status, deployment errors:   code
505: Host ovirt-hci01.stud.slu.cz installation failed. Failed to
configure management network on the host.,code 9000: Failed to
verify Power Management configuration for Host ovirt-hci01.stud.slu.cz.,
  fix accordingly and re-deploy."}

/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200526210340-h7waks.log

interesting thing is the vm looks like running in some way

ps aux | grep kvm
qemu 26790 58.2  6.6 6927972 3295760 ? Sl   21:28  12:40
/usr/libexec/qemu-kvm -name guest=HostedEngineLocal,debug-threads=on -S
-object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-HostedEngineLocal/master-key.aes
-machine pc-q35-rhel8.1.0,accel=kvm,usb=off,dump-guest-core=off -cpu
Nehalem-IBRS,vme=on,ss=on,x2apic=on,tsc...
...

but

hosted-engine --vm-status
It seems like a previous attempt to deploy hosted-engine failed or it's
still in progress. Please clean it up before trying again

hosted-engine --check-deployed
The hosted engine has not been deployed

ok...

Round 3, Fight!

ovirt-hosted-engine-cleanup

ovirt-hosted-engine-setup --config-append=/root/answers-20200526214934.conf

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd":
["virt-install", "-n", "HostedEngineLocal", "--os-variant", "rhel8.0",
"--virt-type", "kvm", "--memory", "4096", "--vcpus", "2", "--network",
"network=default,mac=00:16:3e:7a:ce:77,model=virtio", "--disk",
"/var/tmp/localvmc7szuw4y/images/6c7c4d4b-9c11-485d-98e0-466a09888515/c16b87ac-f9d4-491d-a972-7dc333a324a0",
"--import", "--disk",
"path=/var/tmp/localvmc7szuw4y/seed.iso,device=cdrom",
"--noautoconsole", "--rng", "/dev/random", "--graphics", "vnc",
"--video", "vga", "--sound", "none", "--controller", "usb,model=none",
"--memballoon", "none", "--boot", "hd,menu=off", "--clock",
"kvmclock_present=yes"], "delta": "0:00:04.419991", "end": "2020-05-26
22:27:20.730780", "msg": "non-zero return code", "rc": 1, "start":
"2020-05-26 22:27:16.310789", "stderr": "ERRORinternal error:
process exited while connecting to monitor: 2020-05-26T20:27:19.254675Z
qemu-kvm: -object
tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/vdsm/libvirt-vnc,endpoint=server,verify-peer=no:
Unable to access credentials /etc/pki/vdsm/libvirt-vnc/ca-cert.pem: No
such file or directory\nDomain installation does not appear to have been
successful.\nIf it was, you can restart your domain by running:\n  virsh
--connect qemu:///system start HostedEngineLocal\notherwise, please
restart your installation.", "stderr_lines": ["ERRORinternal error:
process exited while connecting to monitor: 2020-05-26T20:27:19.254675Z
qemu-kvm: -object
tls-creds-x509,id=vnc-tls-creds0,dir=/etc/pki/vdsm/libvirt-vnc,endpoint=server,verify-peer=no:
Unable to access credentials /etc/pki/vdsm/libvirt-vnc/ca-cert.pem: No
such file or directory", "Domain installation does not appear to have
been successful.", "If it was, you can restart your domain by running:",
"  virsh --connect qemu:///system start HostedEngineLocal", "otherwise,
please restart your installation."], "stdout": "\nStarting install...",
"stdout_lines": ["", "Starting install..."]}

...and this error I get every round

relevant lines from
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200526223648-dvejcr.log

2020-05-26 22:49:15,303+0200 DEBUG

[ovirt-users] Re: searching in manager

2020-05-25 Thread Jiří Sléžka
Hi Eli,

> Can you please try :
> 
> Storage.name = "RHEV-SlowStorage" or Storage.name = "RHEV-MidStorage"

yep, it works as exceptet. Also

Storage.name != "RHEV-SSDStorage" works well.

I was mistaken by autocomplete function which suggests

Vms: Storage.
Vms: Storage =
Vms: Storage !=

the first suggested option is the right way to follow.

Thanks,

Jiri

> 
> 
> On Fri, May 22, 2020 at 1:34 PM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> oVirt 4.3.9.4-1.el7
> 
> I am trying to search a vms which has storage domain other than
> RHEV-SSDStorage so I entered this search string in Manager in Compute /
> Virtual Machines search form.
> 
> Storage != "RHEV-SSDStorage"
> 
> but it looks like all vms are listed.
> 
> When I try...
> 
> Storage = "RHEV-SSDStorage"
> 
> ...it works like expected and only right vms are listed.
> 
> Also combinations seems does not work.
> 
> Storage = "RHEV-SlowStorage" or Storage = "RHEV-MidStorage"
> 
> ...returns 0 rows.
> 
> Should it work?
> 
> Cheers,
> 
> Jiri
> 
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
> <mailto:users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/RVFGTGGM75U2M4ENW2K4DWFK34BPWJWH/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HFCD44KWK73VU22GLENLRRQBE3S3ICIP/


[ovirt-users] Re: how to save stateless disk

2020-05-25 Thread Jiří Sléžka
On 5/22/20 1:47 PM, Michal Skrivanek wrote:
> 
> 
>> On 22 May 2020, at 12:52, Jiří Sléžka  wrote:
>>
>> Hi,
>>
>> I have one vm configured as stateless (useful for example for testing
>> ansible deploying). But now I am in the middle of work and we have
>> planned power outage. If I power down this wm now I will lost my work.
> 
> suspend/resume _may_ work. I would suggest to try that first:)
> If it doesn’t work it’s worth a bug

While I try to suspend stateless vm in oVirt 4.3.9.4-1.el7 I get "Cannot
suspend VM, VM is stateless.".

But as Eli Mesika mentioned it should work in latest 4.4.

Cheers,

Jiri

> 
>>
>> It looks like I am unable to create snapshot if vm is in stateless
>> state. Is there any trick how to not loose my stateless state?
>>
>> Is it RFE worth problem? 
>>
>> Cheers,
>>
>> Jiri
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/BZCJI4U3WQ22AHUU234TSNN5ZXJLXXCP/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HV3DB7MDZM5UK6OQJO5KKHCR4QQJ2FV6/


[ovirt-users] how to save stateless disk

2020-05-22 Thread Jiří Sléžka
Hi,

I have one vm configured as stateless (useful for example for testing
ansible deploying). But now I am in the middle of work and we have
planned power outage. If I power down this wm now I will lost my work.

It looks like I am unable to create snapshot if vm is in stateless
state. Is there any trick how to not loose my stateless state?

Is it RFE worth problem?

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BZCJI4U3WQ22AHUU234TSNN5ZXJLXXCP/


[ovirt-users] searching in manager

2020-05-22 Thread Jiří Sléžka
Hi,

oVirt 4.3.9.4-1.el7

I am trying to search a vms which has storage domain other than
RHEV-SSDStorage so I entered this search string in Manager in Compute /
Virtual Machines search form.

Storage != "RHEV-SSDStorage"

but it looks like all vms are listed.

When I try...

Storage = "RHEV-SSDStorage"

...it works like expected and only right vms are listed.

Also combinations seems does not work.

Storage = "RHEV-SlowStorage" or Storage = "RHEV-MidStorage"

...returns 0 rows.

Should it work?

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RVFGTGGM75U2M4ENW2K4DWFK34BPWJWH/


[ovirt-users] locked snapshot after snapshot preview

2020-05-20 Thread Jiří Sléžka
Hi,

Ovirt 4.3.9.4-1.el7, CentOS7...

colleague of me tried yesterday do a snapshot preview on his vm but
operation got stalled.

I can see in Task list in Manager operation "Preview VM Snapshot před AD
test of VM install_W10_LTSC-REK" in state Finalizing (6 hours ago)

In the Events I see

May 19, 2020, 4:00:17 PM
Failed to complete Snapshot-Preview před AD test for VM
install_W10_LTSC-REK.
18acb86e-581c-43f5-bf99-f8d738870976

May 19, 2020, 3:57:40 PM
Failed to run VM install_W10_LTSC-REK due to a failed validation:
[Cannot run VM. The VM is performing an operation on a Snapshot. Please
wait for the operation to finish, and try again.] (User: **@*).
d892b7dd-741b-4c61-ac37-b1077eaeaf79

When I grepping correlation id from failed run from engine log a got

zcat /var/log/ovirt-engine/engine.log-20200520.gz | grep
"d892b7dd-741b-4c61-ac37-b1077eaeaf79"

2020-05-19 15:57:40,435+02 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (default task-210)
[d892b7dd-741b-4c61-ac37-b1077eaeaf79] Lock Acquired to object
'EngineLock:{exclusiveLocks='[2f1fb183-55ea-477c-a75b-625f889e4c79=VM]',
sharedLocks=''}'
2020-05-19 15:57:40,489+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-210) [d892b7dd-741b-4c61-ac37-b1077eaeaf79] EVENT_ID:
USER_FAILED_RUN_VM(54), Failed to run VM install_W10_LTSC-REK due to a
failed validation: [Cannot run VM. The VM is performing an operation on
a Snapshot. Please wait for the operation to finish, and try again.]
(User: kra0...@cro.slu.cz).
2020-05-19 15:57:40,489+02 WARN
[org.ovirt.engine.core.bll.RunVmCommand] (default task-210)
[d892b7dd-741b-4c61-ac37-b1077eaeaf79] Validation of action 'RunVm'
failed for user kra0...@cro.slu.cz. Reasons:
VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT
2020-05-19 15:57:40,489+02 INFO
[org.ovirt.engine.core.bll.RunVmCommand] (default task-210)
[d892b7dd-741b-4c61-ac37-b1077eaeaf79] Lock freed to object
'EngineLock:{exclusiveLocks='[2f1fb183-55ea-477c-a75b-625f889e4c79=VM]',
sharedLocks=''}'

greping correlation id on failed snapshot preview shows only INFO
events, not ERRORS nor WARNINGS and it looks to me like everything was
FINISHed

When I try to display locked entities a got

cd /usr/share/ovirt-engine/setup/dbutils
./unlock_entity.sh -q -t all -c

Locked VMs

   vm_name| snapshot_id
--+--
 install_W10_LTSC-REK | 9d53c7b4-8ec5-4d31-8ab1-16bb75ab8f2b


Locked templates

 template_name | disk_id
---+-


Locked disks

vm_id |   disk_id

--+--
 2f1fb183-55ea-477c-a75b-625f889e4c79 | 707db1f6-0859-48ab-b9d0-a97619ed8b0b


Locked snapshots

vm_id | snapshot_id

--+--
 2f1fb183-55ea-477c-a75b-625f889e4c79 | 9d53c7b4-8ec5-4d31-8ab1-16bb75ab8f2b


Illegal images

 vm_name | image_guid
-+

I am about to try unlock that snapshot but for sure...

* how can I be sure that snapshot operations is not still running (it
would be nice to have some sort of progress bar o better reporting what
is happening in Manager...)

* looks it like bug? Should I fill bugreport or publish more logs?

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H5SSEVCCZU5WCCQJMB72P5H6K2ZYLCTP/


[ovirt-users] Re: [Feedback needed] oVirt 4.4.0 Test week

2020-05-19 Thread Jiří Sléžka
Hi,

On 5/18/20 6:26 PM, Sandro Bonazzola wrote:
> 
> 
> Il giorno lun 18 mag 2020 alle ore 18:12 Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> ha scritto:
> 
> Hi,
> 
> I am a bit late but today a tried to install single host HCI with
> gluster.
> 
> I am not sure if it is currently supported but
> 
> * I installed
> 
> dnf install
> https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
> dnf module enable -y javapackages-tools pki-deps postgresql:12 389-ds
> 
> 
> these modules are not needed on the host, these are needed only on the
> standalone engine / within engine appliance

ok, thanks for info

> dnf install ovirt-engine-appliance vdsm-gluster
> 
> 
> May I ask which installation guide are you following? I'm pretty sure
> it's outdated and needs a refresh.

I have followed mostly

https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide.html

but also my own notes...

I know this guide is for 4.3 but I didn't find relevant guide for 4.4.

> * I prepared host by gdeploy (from external Fedora workstation because I
> didn't find gdeploy in any CentOS8 repo)
> 
> 
> gdeploy has been deprecated in favor of gluster-ansible roles about 2
> years ago

ok, I told you I am bit late ;-)

If there is more relevant documentation, please share a link. I would
like help write some guide/blogpost about 4.4. install but probably in
czech language...

Thanks in advance,

Jiri

> * I tried to instal ovvirt via
> 
> ovirt-hosted-engine-setup
> 
> ...but process failed with
> 
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Unable to start service libvirtd: Job for libvirtd.service failed
> because the control process exited with error code.\nSee \"systemctl
> status libvirtd.service\" and \"journalctl -xe\" for details.\n"}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
> 
> In messages log is mentioned
> 
> ...
> May 18 17:04:40 ovirt-hci01 journal[8062]: Cannot read CA certificate
> '/etc/pki/CA/cacert.pem': No such file or directory
> May 18 17:04:40 ovirt-hci01 systemd[1]: libvirtd.service: Main process
> exited, code=exited, status=6/NOTCONFIGURED
> ...
> 
> There is no /etc/pki/CA directory. I think CA should be installed during
> ovirt-hosted-engine-setup, isn't it? Should I do that manually? How?
> 
> Cheers,
> 
> Jiri
> 
> 
> On 5/8/20 1:23 PM, Sandro Bonazzola wrote:
> > Hi,
> > oVirt team is planning to release oVirt 4.4.0 Ga in the next couple of
> > weeks.
> > oVirt 4.4.0 release candidate was released yesterday and we'd like to
> > gather as much feedback as possible.
> > Please join us testing this release candidate next week, starting
> Sunday
> > May 10th 2020 till Friday May 15th 2020!
> > We are going to coordinate the testing effort with a public Trello
> board
> > at https://trello.com/b/5ZNJgPC3/ovirt-440-test-day
> > You'll find instructions on how to use the board there.
> > For joining the board you can use this
> >
> link: 
> https://trello.com/invite/b/5ZNJgPC3/f1b1826ee4902f348c44607765a15099/ovirt-440-test-day
>  
> >
> > If you have not an environment dedicated to testing, remember you can
> > set up a few VMs and test the deployment with nested virtualization
> > using your production environment creating a virtual test environment.
> > In this case please be careful avoiding touching the production
> > environment from the testing one.
> >
> > The oVirt team will monitor the Trello board, the #ovirt IRC
> channel on
> > irc.oftc.net <http://irc.oftc.net> <http://irc.oftc.net> server
> and the users@ovirt.org <mailto:users@ovirt.org>
> > <mailto:users@ovirt.org <mailto:users@ovirt.org>> mailing list to
> assist with the testing and
> > debugging issues.
> > Basic instructions for setting up a minimal system are available in
> > release candidate announce
> >
> at: 
> https://lists.ovirt.org/archives/list/annou...@ovirt.org/message/3QORBKVKTALNJ5SMJHEDO4QJ5YUCULTT/attachment/3/attachment.html
> > Release notes for this release candidate are available
> > here: https://ovirt.org/release/4.4.0/
> >
> > Thanks
> > --
> >
> > Sandro Bonazzola
> >

[ovirt-users] Re: [Feedback needed] oVirt 4.4.0 Test week

2020-05-18 Thread Jiří Sléžka
Hi,

I am a bit late but today a tried to install single host HCI with gluster.

I am not sure if it is currently supported but

* I installed

dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
dnf module enable -y javapackages-tools pki-deps postgresql:12 389-ds
dnf install ovirt-engine-appliance vdsm-gluster

* I prepared host by gdeploy (from external Fedora workstation because I
didn't find gdeploy in any CentOS8 repo)

* I tried to instal ovvirt via

ovirt-hosted-engine-setup

...but process failed with

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Unable to start service libvirtd: Job for libvirtd.service failed
because the control process exited with error code.\nSee \"systemctl
status libvirtd.service\" and \"journalctl -xe\" for details.\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook

In messages log is mentioned

...
May 18 17:04:40 ovirt-hci01 journal[8062]: Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
May 18 17:04:40 ovirt-hci01 systemd[1]: libvirtd.service: Main process
exited, code=exited, status=6/NOTCONFIGURED
...

There is no /etc/pki/CA directory. I think CA should be installed during
ovirt-hosted-engine-setup, isn't it? Should I do that manually? How?

Cheers,

Jiri


On 5/8/20 1:23 PM, Sandro Bonazzola wrote:
> Hi,
> oVirt team is planning to release oVirt 4.4.0 Ga in the next couple of
> weeks.
> oVirt 4.4.0 release candidate was released yesterday and we'd like to
> gather as much feedback as possible.
> Please join us testing this release candidate next week, starting Sunday
> May 10th 2020 till Friday May 15th 2020!
> We are going to coordinate the testing effort with a public Trello board
> at https://trello.com/b/5ZNJgPC3/ovirt-440-test-day
> You'll find instructions on how to use the board there.
> For joining the board you can use this
> link: 
> https://trello.com/invite/b/5ZNJgPC3/f1b1826ee4902f348c44607765a15099/ovirt-440-test-day
>  
> 
> If you have not an environment dedicated to testing, remember you can
> set up a few VMs and test the deployment with nested virtualization
> using your production environment creating a virtual test environment.
> In this case please be careful avoiding touching the production
> environment from the testing one.
> 
> The oVirt team will monitor the Trello board, the #ovirt IRC channel on
> irc.oftc.net  server and the users@ovirt.org
>  mailing list to assist with the testing and
> debugging issues.
> Basic instructions for setting up a minimal system are available in
> release candidate announce
> at: 
> https://lists.ovirt.org/archives/list/annou...@ovirt.org/message/3QORBKVKTALNJ5SMJHEDO4QJ5YUCULTT/attachment/3/attachment.html
> Release notes for this release candidate are available
> here: https://ovirt.org/release/4.4.0/
> 
> Thanks
> -- 
> 
> Sandro Bonazzola
> 
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
> 
> Red Hat EMEA 
> 
> sbona...@redhat.com    
> 
>  
> |Our code is open_ 
> 
> **
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> *
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WCQSRKSTCSHAKPJBKIURQXPCMJDCRV74/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XQUHTOUUMJGJX2IDX4OIKT6DYC2XUEN3/


[ovirt-users] Re: Multiple NICs on hosted engine, oVirt 4.3

2020-04-05 Thread Jiří Sléžka
Hello Paul,

thanks for reply and for pointing me to RHV documentation. Shame on me,
I forogot it exists and is well maintained and super relevant for oVirt.

But in this case I am a bit lost. I can't find something relevant to my
effort to modify HE vm's config to add the second NIC to it.

Or do you mean I should change the location of vm.conf from /var/run
location to something persistent and then modify this vm.conf as
mentioned in that old post?

For example, now I got this output for conf key

[root@ovirt-hci01 ~]# hosted-engine --get-shared-config conf
--type=he_shared

conf : /var/run/ovirt-hosted-engine-ha/vm.conf, type : he_shared

[root@ovirt-hci01 ~]# hosted-engine --get-shared-config conf --type=he_local

conf : /var/run/ovirt-hosted-engine-ha/vm.conf, type : he_local

Is it valid to change it to (for example)
/etc/ovirt-hosted-engine/vm.conf and modify that file there? Is it safe
for further updates, maintenance, etc.?

Maybe the second question - which process creates vm.conf in /var/run path?

Cheers,

Jiri

On 4/5/20 8:35 AM, Staniforth, Paul wrote:
> Hello Jri,
>   The configurations local and shared are managed by
> hosted-engine command.
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/chap-administering_the_self-hosted_engine
> <https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/chap-administering_the_self-hosted_engine>
>   
> Chapter 12. Administering the Self-Hosted Engine Red Hat Virtualization
> 4.3 | Red Hat Customer Portal
> <https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/chap-administering_the_self-hosted_engine>
> The Red Hat Customer Portal delivers the knowledge, expertise, and
> guidance available through your Red Hat subscription.
> access.redhat.com
> 
> see
> "hosted-engine --help"
> "man hosted-engine"



> 
> Regards,
>   Paul S.
> ----
> *From:* Jiří Sléžka 
> *Sent:* 04 April 2020 21:02
> *To:* users@ovirt.org 
> *Subject:* [ovirt-users] Multiple NICs on hosted engine, oVirt 4.3
>  
> Caution External Mail: Do not click any links or open any attachments
> unless you trust the sender and know that the content is safe.
> 
> Hello,
> 
> I would like to add second NIC to hosted engine vm (I need access to
> isolated network with host's power management). I found this solution...
> 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Fpipermail%2Fusers%2F2014-November%2F062610.htmldata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C31875f5cdc3143f4425708d7d8d49bd9%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637216279973033087sdata=2NtDru1nfjgkasnIXPReHEgFKnmjwEj3VBJJVqwv%2Bbg%3Dreserved=0
> 
> ...which seems to work in oVirt 3.5 but in oVirt 4.3 there is no file
> like /etc/ovirt-hosted-engine/vm.conf anymore.
> 
> In the file /etc/ovirt-hosted-engine/hosted-engine.conf is a line
> 
> ...
> conf=/var/run/ovirt-hosted-engine-ha/vm.conf
> ...
> 
> which points to this config but this is a running config...
> 
> Is there a way to add a second NIC to hosted engin vm?
> 
> Cheers,
> 
> Jiri
> 
> 
> To view the terms under which this email is distributed, please go to:-
> http://leedsbeckett.ac.uk/disclaimer/email/
> 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/46FQFLOI622O3G26YVL3LU4RCDCXZVY5/


[ovirt-users] Multiple NICs on hosted engine, oVirt 4.3

2020-04-04 Thread Jiří Sléžka
Hello,

I would like to add second NIC to hosted engine vm (I need access to
isolated network with host's power management). I found this solution...

https://lists.ovirt.org/pipermail/users/2014-November/062610.html

...which seems to work in oVirt 3.5 but in oVirt 4.3 there is no file
like /etc/ovirt-hosted-engine/vm.conf anymore.

In the file /etc/ovirt-hosted-engine/hosted-engine.conf is a line

...
conf=/var/run/ovirt-hosted-engine-ha/vm.conf
...

which points to this config but this is a running config...

Is there a way to add a second NIC to hosted engin vm?

Cheers,

Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RJ7C3X63YPIIDZHYHGLUMUGVJXZ4BLJ5/


[ovirt-users] hosts becomes NonResponsive

2019-05-21 Thread Jiří Sléžka
Hi,

time to time one of our four ovirt hosts become NonResponsive.

From engine point of view it looks this way (engine.log)

2019-05-21 13:10:30,261+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-95) [] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt03.net.slu.cz command Get
Host Capabilities failed: Message timeout which can be caused by
communication issues
2019-05-21 13:10:30,261+02 ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
(EE-ManagedThreadFactory-engineScheduled-Thread-95) [] Unable to
RefreshCapabilities: VDSNetworkException: VDSGenericException:
VDSNetworkException: Message timeout which can be caused by
communication issues

from host (which is reachable) it looks like (vdsm.log)

2019-05-21 13:10:27,154+0200 INFO  (vmrecovery) [vdsm.api] START
getConnectedStoragePoolsList(options=None) from=internal,
task_id=a1bebf2f-7070-4344-90b7-1d709ba94b5c (api:48)
2019-05-21 13:10:27,154+0200 INFO  (vmrecovery) [vdsm.api] FINISH
getConnectedStoragePoolsList return={'poollist': []} from=internal,
task_id=a1bebf2f-7070-4344-90b7-1d709ba94b5c (api:54)
2019-05-21 13:10:27,155+0200 INFO  (vmrecovery) [vds] recovery: waiting
for storage pool to go up (clientIF:709)
2019-05-21 13:10:31,245+0200 INFO  (jsonrpc/4) [api.host] START
getAllVmStats() from=::1,39144 (api:48)
2019-05-21 13:10:31,247+0200 INFO  (jsonrpc/4) [api.host] FINISH
getAllVmStats return={'status': {'message': 'Done', 'code': 0},
'statsList': (suppressed)} from=::1,39144 (api:54)
2019-05-21 13:10:31,249+0200 INFO  (jsonrpc/4) [jsonrpc.JsonRpcServer]
RPC call Host.getAllVmStats succeeded in 0.00 seconds (__init__:312)


hosts are latest CentOS7 (but old AMD Opteron HW), oVirt is 4.3.3.7-1.el7

I cannot track it down to network layer. We have 4 other RHV hosts on
the same infrastructure and it works well. Some clues what is happening?

Thanks in advance,

Jiri Slezka



smime.p7s
Description: Elektronicky podpis S/MIME
___
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/C7CNMZR75CRUXD4JPUT2YG5WFKDRPSDI/


[ovirt-users] oVirt 4.3 and AMD Opteron G3 CPU

2019-03-08 Thread Jiří Sléžka
Hi,

I know, old AMD Opterons G3 are unsupported in oVirt 4.3 but anyway, is
there a way to switch cluster to 4.3 mode with these old CPUs? On the
other hand 4.2 mode is no problem, I just would like to test new stuff
(on legacy hw ;-)

Cheers,

Jiri Slezka



smime.p7s
Description: S/MIME Cryptographic Signature
___
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/5LG7ICTTTYDB3SZFYDNQEJ2R4HNL5M7M/


[ovirt-users] Re: stucked snapshot, locked disk

2019-02-18 Thread Jiří Sléžka
Hi,


> 
> On Thu, Feb 14, 2019 at 11:37 AM Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hello,
> 
> we are using ovirt 4.2.8.2-1.el7.
> 
> One our user probably tried to preview taken snapshot but the task is
> stucked and never finished. Also disk is locked.
> 
> Here is engine.log
> 
> https://pastebin.com/izBJ1BUg
> 
> I am not sure what went wrong except one java.lang.NullPointerException
> error... Could it be some bug?
> 
> 
> Indeed, it looks like a bug. Can you open one: 
> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
> component = BLL.Virt,  team = Virt
> please attach your logs too.

here it is

https://bugzilla.redhat.com/show_bug.cgi?id=1678234

Cheers,

Jiri

>  
> 
> 
> Also I would like to unlock disk and clean this task. I can see locked
> snapshot and disk
> 
> [root@ovirt dbutils]# ./unlock_entity.sh -q -t snapshot -c
> 
> Locked snapshots
> 
>                 vm_id                 |             snapshot_id
> 
> 
> --+--
>  df27ee13-9961-41d5-a4eb-bbb0aadf9086 |
> 58998020-08cb-4c84-8847-0cb6790724ba
> 
> [root@ovirt dbutils]# ./unlock_entity.sh -q -t disk -c
> 
> Locked disks
> 
>                 vm_id                 |               disk_id
> 
> 
> --+--
>  df27ee13-9961-41d5-a4eb-bbb0aadf9086 |
> f6405448-baf8-4cc2-8ee7-798ca11cad10
> 
> but no runnig tasks
> 
> [root@ovirt dbutils]# ./taskcleaner.sh -o
>  t
> 
> but in ovirt-manager I see this stucked task...
> 
> Preview VM Snapshot predsysprep of VM install_10_64bit_LTSB_UK_ucebny -
> Started: Feb 12, 2019, 11:28:04 AM
> Validating - Completed: Feb 12, 2019, 11:28:04 AM
> Executing - Completed: Feb 12, 2019, 11:28:15 AM
> Creating Volume - Completed: Feb 12, 2019, 11:28:15 AM
> Finalizing - Started: Feb 12, 2019, 11:28:15 AM
> 
> what is best approach to unlock and clean this?
> 
> 
> I'm not sure -- hopefully someone else can assist :)
>  
> 
> 
> Thanks in advance,
> 
> Cheers, Jiri
> 
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
> <mailto: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/FVJTQ25MGI2PRAXJIEHSLEOL62VRPOT2/
> 
> 
> 
> -- 
> 
> GREG SHEREMETA
> 
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
> 
> Red Hat NA
> 
> <https://www.redhat.com/>
> 
> gsher...@redhat.com <mailto:gsher...@redhat.com>    IRC: gshereme
> 
> <https://red.ht/sig>
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/2NIINLK66IU242NHZ6MBVRF2X6S3D5SC/


[ovirt-users] Re: stucked snapshot, locked disk

2019-02-18 Thread Jiří Sléžka
Hi,

On 2/15/19 10:01 PM, Benny Zlotnik wrote:
> IIUC it shouldn't get to 475 since it would short-circuit if it isn't a disk
> 
> Jiří, can you attach the full engine logs so we can retrace everything
> that happened?

sure,
https://filesender.cesnet.cz/?s=download=a67b3f78-8f65-f559-6a9c-f709fff0a94b

Cheers,

Jiri

> 
> On Fri, Feb 15, 2019 at 10:06 PM Michal Skrivanek
> mailto:michal.skriva...@redhat.com>> wrote:
> 
> Isn’t the code wrong? Seems the function checks for disks or unmanaged
> device, and if it is unmanaged non-disk device it still kind of
> assumes it’s a disk at line 475?
> It’s not common, but any device can be unmanaged
> 
> > On 14 Feb 2019, at 16:45, Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> >
> > Hello,
> >
> > we are using ovirt 4.2.8.2-1.el7.
> >
> > One our user probably tried to preview taken snapshot but the task is
> > stucked and never finished. Also disk is locked.
> >
> > Here is engine.log
> >
> > https://pastebin.com/izBJ1BUg
> >
> > I am not sure what went wrong except one
> java.lang.NullPointerException
> > error... Could it be some bug?
> >
> > Also I would like to unlock disk and clean this task. I can see locked
> > snapshot and disk
> >
> > [root@ovirt dbutils]# ./unlock_entity.sh -q -t snapshot -c
> >
> > Locked snapshots
> >
> >                vm_id                 |             snapshot_id
> >
> >
> 
> --+--
> > df27ee13-9961-41d5-a4eb-bbb0aadf9086 |
> 58998020-08cb-4c84-8847-0cb6790724ba
> >
> > [root@ovirt dbutils]# ./unlock_entity.sh -q -t disk -c
> >
> > Locked disks
> >
> >                vm_id                 |               disk_id
> >
> >
> 
> --+--
> > df27ee13-9961-41d5-a4eb-bbb0aadf9086 |
> f6405448-baf8-4cc2-8ee7-798ca11cad10
> >
> > but no runnig tasks
> >
> > [root@ovirt dbutils]# ./taskcleaner.sh -o
> > t
> >
> > but in ovirt-manager I see this stucked task...
> >
> > Preview VM Snapshot predsysprep of VM
> install_10_64bit_LTSB_UK_ucebny -
> > Started: Feb 12, 2019, 11:28:04 AM
> > Validating - Completed: Feb 12, 2019, 11:28:04 AM
> > Executing - Completed: Feb 12, 2019, 11:28:15 AM
> > Creating Volume - Completed: Feb 12, 2019, 11:28:15 AM
> > Finalizing - Started: Feb 12, 2019, 11:28:15 AM
> >
> > what is best approach to unlock and clean this?
> >
> > Thanks in advance,
> >
> > Cheers, Jiri
> >
> > ___
> > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> > To unsubscribe send an email to users-le...@ovirt.org
> <mailto: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/FVJTQ25MGI2PRAXJIEHSLEOL62VRPOT2/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/RTHGO2NAVDC7VCPCAPZUAYOJC52GDDWW/


[ovirt-users] stucked snapshot, locked disk

2019-02-14 Thread Jiří Sléžka
Hello,

we are using ovirt 4.2.8.2-1.el7.

One our user probably tried to preview taken snapshot but the task is
stucked and never finished. Also disk is locked.

Here is engine.log

https://pastebin.com/izBJ1BUg

I am not sure what went wrong except one java.lang.NullPointerException
error... Could it be some bug?

Also I would like to unlock disk and clean this task. I can see locked
snapshot and disk

[root@ovirt dbutils]# ./unlock_entity.sh -q -t snapshot -c

Locked snapshots

vm_id | snapshot_id

--+--
 df27ee13-9961-41d5-a4eb-bbb0aadf9086 | 58998020-08cb-4c84-8847-0cb6790724ba

[root@ovirt dbutils]# ./unlock_entity.sh -q -t disk -c

Locked disks

vm_id |   disk_id

--+--
 df27ee13-9961-41d5-a4eb-bbb0aadf9086 | f6405448-baf8-4cc2-8ee7-798ca11cad10

but no runnig tasks

[root@ovirt dbutils]# ./taskcleaner.sh -o
 t

but in ovirt-manager I see this stucked task...

Preview VM Snapshot predsysprep of VM install_10_64bit_LTSB_UK_ucebny -
Started: Feb 12, 2019, 11:28:04 AM
Validating - Completed: Feb 12, 2019, 11:28:04 AM
Executing - Completed: Feb 12, 2019, 11:28:15 AM
Creating Volume - Completed: Feb 12, 2019, 11:28:15 AM
Finalizing - Started: Feb 12, 2019, 11:28:15 AM

what is best approach to unlock and clean this?

Thanks in advance,

Cheers, Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
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/FVJTQ25MGI2PRAXJIEHSLEOL62VRPOT2/


[ovirt-users] Re: cannot activate host

2018-08-10 Thread Jiří Sléžka
Well, issue was solved by installing latest async update 4.2.5...
Probably helped this part of upgrade process...

...
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
...


Cheers,

Jiri


On 08/10/2018 11:03 AM, Jiří Sléžka wrote:
> On 08/10/2018 10:52 AM, Raz Tamir wrote:
>>
>>
>> On Fri, Aug 10, 2018 at 11:30 AM, Jiří Sléžka > <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> Hi,
>>
>> On 08/09/2018 11:25 PM, Raz Tamir wrote:
>> > You can try using vdsm-client to check if there are running tasks on 
>> the
>> > host using this command:
>> > 
>> >     vdsm-client Host getAllTasksInfo
>>
>> thanks for support, I tried this on affected host
>>
>> [root@blade01 ~]# vdsm-client Host getAllTasksInfo
>> vdsm-client: Command Host.getAllTasksInfo with args {} failed:
>> (code=654, message=Not SPM: ())
>>
>> so I moved into SPM host (blade03 at this time)
>>
>> [root@blade03 ~]# vdsm-client Host getAllTasksInfo
>> {}
>>
>> I tried also
>>
>> [root@blade01 ~]# vdsm-client Host getAllTasks
>> {}
>> [root@blade01 ~]# vdsm-client Host getJobs
>> {}
>>
>> [root@blade03 ~]# vdsm-client Host getAllTasks
>> {}
>> [root@blade03 ~]# vdsm-client Host getJobs
>> {}
>>
>> It looks like there are no tasks/jobs running on hosts. It looks like
>> something is stucked in engine db.
>>
>> At the beginning of this issue, there were some race condition where
>> blade01 had two running tasks/jobs which cannot be finished (network
>> configuration and activating of host). I deleted this jobs manually in
>> db via
>>
>> SELECT * FROM job ORDER BY start_time DESC;
>> SELECT DeleteJob('...job_id...');
>> SELECT DeleteJob('...job_id...');
>>
>> Maybe it was not wise... but what can I do now to solve this? :-)
>>
>> Yes it can be bad to mess with the DB.
>> My best suugestion at the momet is to try and re-add this host.
> 
> I would like to but I cannot even remove this host (Cannot remove Host.
> Related operation is currently in progress. Please try again later.) :-(
> But maybe I can try to add it as brand new one?
> 
> But I am curious what checks do manager and why we cannot see the
> tasks/jobs/locks/anything in db...
> 
> Cheers, Jiri
> 
> 
> 
>>  
>>
>>
>> Cheers, Jiri
>>
>>
>> > 
>> > If there are running tasks, you can stop them:
>> > 
>> >     vdsm-client Task stop taskID=xxx-yyy
>> > 
>> > If there are finished tasks, you can clear them:
>> > 
>> >     vdsm-client Task clear taskID=xxx-yyy
>> > 
>> > 
>> > On Thu, Aug 9, 2018, 16:15 Jiří Sléžka > <mailto:jiri.sle...@slu.cz>
>> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
>> >
>> >     Hello,
>> >
>> >     still no luck with solving this issue.
>> >
>> >     I cannot even remove this host.
>> >
>> >     engine log is now spammed with this messages
>> >
>> >     2018-08-09 15:03:08,410+02 INFO
>> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
>> >     (EE-ManagedThreadFactory-engine-Thread-1057)
>> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
>> and wait
>> >     lock
>> >   
>>  
>> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
>> >     sharedLocks=''}'
>> >     2018-08-09 15:03:08,446+02 INFO
>> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
>> >     (EE-ManagedThreadFactory-engine-Thread-1057)
>> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
>> and wait
>> >     lock
>> >   
>>  
>> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
>> >     sharedLocks=''}'
>> >     2018-08-09 15:03:08,451+02 INFO
>> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
>> >     (EE-ManagedThreadFactory-engine-Thread-1057)
>> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
>> and wait
>> >     lock
>> >   
>>  
>> 'HostEngi

[ovirt-users] Re: cannot activate host

2018-08-10 Thread Jiří Sléžka
On 08/10/2018 10:52 AM, Raz Tamir wrote:
> 
> 
> On Fri, Aug 10, 2018 at 11:30 AM, Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> On 08/09/2018 11:25 PM, Raz Tamir wrote:
> > You can try using vdsm-client to check if there are running tasks on the
> > host using this command:
> > 
> >     vdsm-client Host getAllTasksInfo
> 
> thanks for support, I tried this on affected host
> 
> [root@blade01 ~]# vdsm-client Host getAllTasksInfo
> vdsm-client: Command Host.getAllTasksInfo with args {} failed:
> (code=654, message=Not SPM: ())
> 
> so I moved into SPM host (blade03 at this time)
> 
> [root@blade03 ~]# vdsm-client Host getAllTasksInfo
> {}
> 
> I tried also
> 
> [root@blade01 ~]# vdsm-client Host getAllTasks
> {}
> [root@blade01 ~]# vdsm-client Host getJobs
> {}
> 
> [root@blade03 ~]# vdsm-client Host getAllTasks
> {}
> [root@blade03 ~]# vdsm-client Host getJobs
> {}
> 
> It looks like there are no tasks/jobs running on hosts. It looks like
> something is stucked in engine db.
> 
> At the beginning of this issue, there were some race condition where
> blade01 had two running tasks/jobs which cannot be finished (network
> configuration and activating of host). I deleted this jobs manually in
> db via
> 
> SELECT * FROM job ORDER BY start_time DESC;
> SELECT DeleteJob('...job_id...');
> SELECT DeleteJob('...job_id...');
> 
> Maybe it was not wise... but what can I do now to solve this? :-)
> 
> Yes it can be bad to mess with the DB.
> My best suugestion at the momet is to try and re-add this host.

I would like to but I cannot even remove this host (Cannot remove Host.
Related operation is currently in progress. Please try again later.) :-(
But maybe I can try to add it as brand new one?

But I am curious what checks do manager and why we cannot see the
tasks/jobs/locks/anything in db...

Cheers, Jiri



>  
> 
> 
> Cheers, Jiri
> 
> 
> > 
> > If there are running tasks, you can stop them:
> > 
> >     vdsm-client Task stop taskID=xxx-yyy
> > 
> > If there are finished tasks, you can clear them:
> > 
> >     vdsm-client Task clear taskID=xxx-yyy
> > 
> > 
> > On Thu, Aug 9, 2018, 16:15 Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hello,
> >
> >     still no luck with solving this issue.
> >
> >     I cannot even remove this host.
> >
> >     engine log is now spammed with this messages
> >
> >     2018-08-09 15:03:08,410+02 INFO
> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> >     (EE-ManagedThreadFactory-engine-Thread-1057)
> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
> and wait
> >     lock
> >   
>  
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> >     sharedLocks=''}'
> >     2018-08-09 15:03:08,446+02 INFO
> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> >     (EE-ManagedThreadFactory-engine-Thread-1057)
> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
> and wait
> >     lock
> >   
>  
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> >     sharedLocks=''}'
> >     2018-08-09 15:03:08,451+02 INFO
> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> >     (EE-ManagedThreadFactory-engine-Thread-1057)
> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
> and wait
> >     lock
> >   
>  
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> >     sharedLocks=''}'
> >     2018-08-09 15:03:08,486+02 INFO
> >     [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> >     (EE-ManagedThreadFactory-engine-Thread-1057)
> >     [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock
> and wait
> >     lock
> >   
>      
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> >     sharedLocks=''}'
> >
> >     btw. oVirt 4.2.5.2-1.el7/CentOS7
> >
> >     Any tips how to resolve this and at least remove this host
> from ovirt?
> >
>  

[ovirt-users] Re: cannot activate host

2018-08-10 Thread Jiří Sléžka
Hi,

On 08/09/2018 11:25 PM, Raz Tamir wrote:
> You can try using vdsm-client to check if there are running tasks on the
> host using this command:
> 
> vdsm-client Host getAllTasksInfo

thanks for support, I tried this on affected host

[root@blade01 ~]# vdsm-client Host getAllTasksInfo
vdsm-client: Command Host.getAllTasksInfo with args {} failed:
(code=654, message=Not SPM: ())

so I moved into SPM host (blade03 at this time)

[root@blade03 ~]# vdsm-client Host getAllTasksInfo
{}

I tried also

[root@blade01 ~]# vdsm-client Host getAllTasks
{}
[root@blade01 ~]# vdsm-client Host getJobs
{}

[root@blade03 ~]# vdsm-client Host getAllTasks
{}
[root@blade03 ~]# vdsm-client Host getJobs
{}

It looks like there are no tasks/jobs running on hosts. It looks like
something is stucked in engine db.

At the beginning of this issue, there were some race condition where
blade01 had two running tasks/jobs which cannot be finished (network
configuration and activating of host). I deleted this jobs manually in
db via

SELECT * FROM job ORDER BY start_time DESC;
SELECT DeleteJob('...job_id...');
SELECT DeleteJob('...job_id...');

Maybe it was not wise... but what can I do now to solve this? :-)

Cheers, Jiri


> 
> If there are running tasks, you can stop them:
> 
> vdsm-client Task stop taskID=xxx-yyy
> 
> If there are finished tasks, you can clear them:
> 
> vdsm-client Task clear taskID=xxx-yyy
> 
> 
> On Thu, Aug 9, 2018, 16:15 Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hello,
> 
> still no luck with solving this issue.
> 
> I cannot even remove this host.
> 
> engine log is now spammed with this messages
> 
> 2018-08-09 15:03:08,410+02 INFO
> [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> (EE-ManagedThreadFactory-engine-Thread-1057)
> [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
> lock
> 
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> sharedLocks=''}'
> 2018-08-09 15:03:08,446+02 INFO
> [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> (EE-ManagedThreadFactory-engine-Thread-1057)
> [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
> lock
> 
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> sharedLocks=''}'
> 2018-08-09 15:03:08,451+02 INFO
> [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> (EE-ManagedThreadFactory-engine-Thread-1057)
> [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
> lock
> 
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> sharedLocks=''}'
> 2018-08-09 15:03:08,486+02 INFO
> [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
> (EE-ManagedThreadFactory-engine-Thread-1057)
> [cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
> lock
> 
> 'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
> sharedLocks=''}'
> 
> btw. oVirt 4.2.5.2-1.el7/CentOS7
> 
> Any tips how to resolve this and at least remove this host from ovirt?
> 
> Cheers, Jiri
> 
> 
> On 08/06/2018 12:52 PM, Gobinda Das wrote:
> > Can you please post vdsm log which is inside /var/log/vdsm/vdsm.log ?
> >
> > On Mon, Aug 6, 2018 at 3:51 PM, Jiří Sléžka  <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >     no one can help?
> >
> >     I still cannot activate this host - error is "Cannot activate
> Host.
> >     Related operation is currently in progress. Please try again
> later."
> >
> >     I believe relevant log entrieas are
> >
> >     2018-08-06 12:15:50,398+02 INFO
> >     [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> >     [9387077a-8276-4a3f-a087-584a10a09b08] Failed to Acquire Lock
> to object
> >   
>  'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
> >     sharedLocks=''}'
> >     2018-08-06 12:15:50,398+02 WARN
> >     [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> >     [9387077a-8276-4a3f-a087-584a10a09b08] Validation of action
> >     'ActivateVds' failed for user ***my_username***. Reasons:
> >   
>  VAR__ACTION__ACTIVATE,VAR__TYPE__HOST,ACTION_TYPE_FAILED_OBJECT_LOCKED
> >
> >
> >     when I tried to "reinstall host" I got

[ovirt-users] Re: cannot activate host

2018-08-09 Thread Jiří Sléžka
Hello,

still no luck with solving this issue.

I cannot even remove this host.

engine log is now spammed with this messages

2018-08-09 15:03:08,410+02 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(EE-ManagedThreadFactory-engine-Thread-1057)
[cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
lock
'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
sharedLocks=''}'
2018-08-09 15:03:08,446+02 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(EE-ManagedThreadFactory-engine-Thread-1057)
[cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
lock
'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
sharedLocks=''}'
2018-08-09 15:03:08,451+02 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(EE-ManagedThreadFactory-engine-Thread-1057)
[cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
lock
'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
sharedLocks=''}'
2018-08-09 15:03:08,486+02 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(EE-ManagedThreadFactory-engine-Thread-1057)
[cb8aa091-70ce-419a-b45b-3ffad6f2529b] Failed to acquire lock and wait
lock
'HostEngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS_INIT]',
sharedLocks=''}'

btw. oVirt 4.2.5.2-1.el7/CentOS7

Any tips how to resolve this and at least remove this host from ovirt?

Cheers, Jiri


On 08/06/2018 12:52 PM, Gobinda Das wrote:
> Can you please post vdsm log which is inside /var/log/vdsm/vdsm.log ?
> 
> On Mon, Aug 6, 2018 at 3:51 PM, Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> no one can help?
> 
> I still cannot activate this host - error is "Cannot activate Host.
> Related operation is currently in progress. Please try again later."
> 
> I believe relevant log entrieas are
> 
> 2018-08-06 12:15:50,398+02 INFO
> [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> [9387077a-8276-4a3f-a087-584a10a09b08] Failed to Acquire Lock to object
> 'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
> sharedLocks=''}'
> 2018-08-06 12:15:50,398+02 WARN
> [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> [9387077a-8276-4a3f-a087-584a10a09b08] Validation of action
> 'ActivateVds' failed for user ***my_username***. Reasons:
> VAR__ACTION__ACTIVATE,VAR__TYPE__HOST,ACTION_TYPE_FAILED_OBJECT_LOCKED
> 
> 
> when I tried to "reinstall host" I got entry in Events "Failed to update
> Host blade01" and correlation id. Relevant log entries are
> 
> 
> cat /var/log/ovirt-engine/engine.log | grep
> d2b332da-9050-419c-8188-8fdda5e9d807
> 
> 2018-08-06 12:08:57,451+02 INFO
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
> task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Running command:
> InstallVdsCommand internal: false. Entities affected :  ID:
> 786646cd-c9ef-49a8-8aea-56e858dcf202 Type: VDSAction group
> EDIT_HOST_CONFIGURATION with role type ADMIN
> 2018-08-06 12:08:57,476+02 INFO
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Failed to
> Acquire Lock to object
> 'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
> sharedLocks=''}'
> 2018-08-06 12:08:57,476+02 WARN
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Validation of
> action 'InstallVdsInternal' failed for user ***my_username***. Reasons:
> ACTION_TYPE_FAILED_OBJECT_LOCKED
> 2018-08-06 12:08:57,479+02 ERROR
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
> task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Installation/upgrade of
> Host '786646cd-c9ef-49a8-8aea-56e858dcf202', 'blade01' failed: Cannot
> ${action} ${type}. Related operation is currently in progress. Please
> try again later.
> 2018-08-06 12:08:57,482+02 INFO
> [org.ovirt.engine.core.bll.CommandCompensator] (default task-425)
> [d2b332da-9050-419c-8188-8fdda5e9d807] Command
> [id=b74adfbb-c043-4fa9-a163-0a6ea7fba9dc]: Compensating
> DELETED_OR_UPDATED_ENTITY of
> org.ovirt.engine.core.common.businessentities.VdsStatic; snapshot:
> id=786646cd-c9ef-49a8-8aea-56e858dcf202.
> 2018-08-06 12:08:57,486+02 ERROR
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
> task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Transaction rolled-back
> for command 'org.ovirt.engine.core.bll.hostdeploy.InstallVdsComm

[ovirt-users] Re: cannot activate host

2018-08-06 Thread Jiří Sléžka
Hello,

On 08/06/2018 12:52 PM, Gobinda Das wrote:
> Can you please post vdsm log which is inside /var/log/vdsm/vdsm.log ?

I suppose you are interested in vdsm log of affected host blade01

It looks like nothing special is there...


2018-08-06 12:08:37,736+0200 INFO  (periodic/0) [vdsm.api] START
repoStats(domains=()) from=internal, tas
k_id=e2c4f6da-8179-4022-a204-9e79f83223d2 (api:46)
2018-08-06 12:08:37,737+0200 INFO  (periodic/0) [vdsm.api] FINISH
repoStats return={} from=internal, task
_id=e2c4f6da-8179-4022-a204-9e79f83223d2 (api:52)
2018-08-06 12:08:37,737+0200 INFO  (periodic/0) [vdsm.api] START
multipath_health() from=internal, task_i
d=c5a1406e-1afd-458e-a97d-4942f86b7be0 (api:46)
2018-08-06 12:08:37,737+0200 INFO  (periodic/0) [vdsm.api] FINISH
multipath_health return={} from=interna
l, task_id=c5a1406e-1afd-458e-a97d-4942f86b7be0 (api:52)
2018-08-06 12:08:37,841+0200 INFO  (jsonrpc/2) [api.host] START
getAllVmStats() from=::1,43898 (api:46)
2018-08-06 12:08:37,842+0200 INFO  (jsonrpc/2) [api.host] FINISH
getAllVmStats return={'status': {'messag
e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52)
2018-08-06 12:08:37,842+0200 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer]
RPC call Host.getAllVmStats succee
ded in 0.00 seconds (__init__:573)
2018-08-06 12:08:52,761+0200 INFO  (periodic/3) [vdsm.api] START
repoStats(domains=()) from=internal, tas
k_id=6a0a0ecd-941c-4f21-99b2-ea8bd140df0e (api:46)
2018-08-06 12:08:52,761+0200 INFO  (periodic/3) [vdsm.api] FINISH
repoStats return={} from=internal, task
_id=6a0a0ecd-941c-4f21-99b2-ea8bd140df0e (api:52)
2018-08-06 12:08:52,761+0200 INFO  (periodic/3) [vdsm.api] START
multipath_health() from=internal, task_i
d=2243d5f5-2ca8-434d-953d-33778318d79d (api:46)
2018-08-06 12:08:52,761+0200 INFO  (periodic/3) [vdsm.api] FINISH
multipath_health return={} from=interna
l, task_id=2243d5f5-2ca8-434d-953d-33778318d79d (api:52)
2018-08-06 12:08:52,852+0200 INFO  (jsonrpc/3) [api.host] START
getAllVmStats() from=::1,43898 (api:46)
2018-08-06 12:08:52,853+0200 INFO  (jsonrpc/3) [api.host] FINISH
getAllVmStats return={'status': {'messag
e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52)
2018-08-06 12:08:52,853+0200 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer]
RPC call Host.getAllVmStats succee
ded in 0.00 seconds (__init__:573)
2018-08-06 12:09:07,784+0200 INFO  (periodic/0) [vdsm.api] START
repoStats(domains=()) from=internal, tas
k_id=05bc82c8-bca4-4ee3-81a1-d9f3f0b142e9 (api:46)
2018-08-06 12:09:07,785+0200 INFO  (periodic/0) [vdsm.api] FINISH
repoStats return={} from=internal, task
_id=05bc82c8-bca4-4ee3-81a1-d9f3f0b142e9 (api:52)
2018-08-06 12:09:07,785+0200 INFO  (periodic/0) [vdsm.api] START
multipath_health() from=internal, task_i
d=602cf720-762e-4f05-9ef7-3b9741377136 (api:46)
2018-08-06 12:09:07,785+0200 INFO  (periodic/0) [vdsm.api] FINISH
multipath_health return={} from=interna
l, task_id=602cf720-762e-4f05-9ef7-3b9741377136 (api:52)
2018-08-06 12:09:07,871+0200 INFO  (jsonrpc/4) [api.host] START
getAllVmStats() from=::1,43898 (api:46)
2018-08-06 12:09:07,872+0200 INFO  (jsonrpc/4) [api.host] FINISH
getAllVmStats return={'status': {'messag
e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52)
2018-08-06 12:09:07,872+0200 INFO  (jsonrpc/4) [jsonrpc.JsonRpcServer]
RPC call Host.getAllVmStats succee
ded in 0.00 seconds (__init__:573)

Cheers,

Jiri




> 
> On Mon, Aug 6, 2018 at 3:51 PM, Jiří Sléžka  <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> no one can help?
> 
> I still cannot activate this host - error is "Cannot activate Host.
> Related operation is currently in progress. Please try again later."
> 
> I believe relevant log entrieas are
> 
> 2018-08-06 12:15:50,398+02 INFO
> [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> [9387077a-8276-4a3f-a087-584a10a09b08] Failed to Acquire Lock to object
> 'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
> sharedLocks=''}'
> 2018-08-06 12:15:50,398+02 WARN
> [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
> [9387077a-8276-4a3f-a087-584a10a09b08] Validation of action
> 'ActivateVds' failed for user ***my_username***. Reasons:
> VAR__ACTION__ACTIVATE,VAR__TYPE__HOST,ACTION_TYPE_FAILED_OBJECT_LOCKED
> 
> 
> when I tried to "reinstall host" I got entry in Events "Failed to update
> Host blade01" and correlation id. Relevant log entries are
> 
> 
> cat /var/log/ovirt-engine/engine.log | grep
> d2b332da-9050-419c-8188-8fdda5e9d807
> 
> 2018-08-06 12:08:57,451+02 INFO
> [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
> task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Running command:
> InstallVdsCommand internal: false. Entities affecte

[ovirt-users] Re: cannot activate host

2018-08-06 Thread Jiří Sléžka
Hi,

no one can help?

I still cannot activate this host - error is "Cannot activate Host.
Related operation is currently in progress. Please try again later."

I believe relevant log entrieas are

2018-08-06 12:15:50,398+02 INFO
[org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
[9387077a-8276-4a3f-a087-584a10a09b08] Failed to Acquire Lock to object
'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
sharedLocks=''}'
2018-08-06 12:15:50,398+02 WARN
[org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426)
[9387077a-8276-4a3f-a087-584a10a09b08] Validation of action
'ActivateVds' failed for user ***my_username***. Reasons:
VAR__ACTION__ACTIVATE,VAR__TYPE__HOST,ACTION_TYPE_FAILED_OBJECT_LOCKED


when I tried to "reinstall host" I got entry in Events "Failed to update
Host blade01" and correlation id. Relevant log entries are


cat /var/log/ovirt-engine/engine.log | grep
d2b332da-9050-419c-8188-8fdda5e9d807

2018-08-06 12:08:57,451+02 INFO
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Running command:
InstallVdsCommand internal: false. Entities affected :  ID:
786646cd-c9ef-49a8-8aea-56e858dcf202 Type: VDSAction group
EDIT_HOST_CONFIGURATION with role type ADMIN
2018-08-06 12:08:57,476+02 INFO
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
(default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Failed to
Acquire Lock to object
'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]',
sharedLocks=''}'
2018-08-06 12:08:57,476+02 WARN
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
(default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Validation of
action 'InstallVdsInternal' failed for user ***my_username***. Reasons:
ACTION_TYPE_FAILED_OBJECT_LOCKED
2018-08-06 12:08:57,479+02 ERROR
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Installation/upgrade of
Host '786646cd-c9ef-49a8-8aea-56e858dcf202', 'blade01' failed: Cannot
${action} ${type}. Related operation is currently in progress. Please
try again later.
2018-08-06 12:08:57,482+02 INFO
[org.ovirt.engine.core.bll.CommandCompensator] (default task-425)
[d2b332da-9050-419c-8188-8fdda5e9d807] Command
[id=b74adfbb-c043-4fa9-a163-0a6ea7fba9dc]: Compensating
DELETED_OR_UPDATED_ENTITY of
org.ovirt.engine.core.common.businessentities.VdsStatic; snapshot:
id=786646cd-c9ef-49a8-8aea-56e858dcf202.
2018-08-06 12:08:57,486+02 ERROR
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default
task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Transaction rolled-back
for command 'org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand'.
2018-08-06 12:08:57,491+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] EVENT_ID:
USER_FAILED_UPDATE_VDS(105), Failed to update Host blade01 (User:
***my_username***).

How can I unlock this entries?

Thanks in advance,

Jiri Slezka



On 08/03/2018 02:07 PM, Jiří Sléžka wrote:
> Hi,
> 
> I have one interesting issue. I was asked by colleague to repair his
> cluster which is part of our oVirt installation. He tried to upgrade his
> host to gain 4.2 compatibility level but it fails in some cases. Never
> mind, I checked it, repaired, installed upgrades and activate his hosts
> with one exception.
> 
> One of hosts was stucked in finishing two tasks. One was changing
> network configuration, the second was activating of this host. I have to
> manually clear this tasks in database by
> 
> SELECT * FROM job ORDER BY start_time DESC;
> SELECT DeleteJob('...job_id...');
> SELECT DeleteJob('...job_id...');
> 
> Now this tasks are gone but still cannot activate this host.
> 
> 
> Error while executing action:
> 
> blade01:
> 
> Cannot activate Host. Related operation is currently in progress.
> Please try again later.
> 
> Host is updatet (latest 4.2 repo), rebooted, looks fine...
> 
> In tasks in UI are no tasks found (the same in db)...
> 
> What can I do now?
> 
> Cheers, Jiri
> 
> 
> 
> 
> ___
> 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/C2TWKXGOEESXCDJUZ7IBKYDE2APFN4ZB/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-p

[ovirt-users] cannot activate host

2018-08-03 Thread Jiří Sléžka
Hi,

I have one interesting issue. I was asked by colleague to repair his
cluster which is part of our oVirt installation. He tried to upgrade his
host to gain 4.2 compatibility level but it fails in some cases. Never
mind, I checked it, repaired, installed upgrades and activate his hosts
with one exception.

One of hosts was stucked in finishing two tasks. One was changing
network configuration, the second was activating of this host. I have to
manually clear this tasks in database by

SELECT * FROM job ORDER BY start_time DESC;
SELECT DeleteJob('...job_id...');
SELECT DeleteJob('...job_id...');

Now this tasks are gone but still cannot activate this host.


Error while executing action:

blade01:

Cannot activate Host. Related operation is currently in progress.
Please try again later.

Host is updatet (latest 4.2 repo), rebooted, looks fine...

In tasks in UI are no tasks found (the same in db)...

What can I do now?

Cheers, Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/C2TWKXGOEESXCDJUZ7IBKYDE2APFN4ZB/


[ovirt-users] Re: sun.security.validator

2018-07-10 Thread Jiří Sléžka
Hello,

> I'm running Version 4.2.3.8-1.el7, and after reboot the engine machine
> no longer could login into administration portal with this error:
> 
> sun.security.validator.ValidatorException: PKIX path validation faile
> java.security.cert.CertPathValidatorException: validity check failed
> 
> I'm using a self signed cert.

In other words, you are using your custom cert, right?

look into

/etc/httpd/conf.d/ssl.conf

and check

SSLCertificateFile
SSLCertificateKeyFile
SSLCACertificateFile

settings. They are probably overwriten by 4.2.3 upgrade process

it was solved in

https://bugzilla.redhat.com/show_bug.cgi?id=1576377

Cheers,

Jiri


> 
> Any idea?
> 
> Thanks
> 
> -- 
> 
> Jose Ferradeira
> http://www.logicworks.pt
> 
> 
> ___
> 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/RHAODTFY66DYI4DHS73PEIRNRO3P7Q5I/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/BGWNGZ3BYSM7PGQRNKGSMURTCL3EPUJ6/


[ovirt-users] Re: RHEL5 guests frequently hang when migrating host.

2018-06-27 Thread Jiří Sléžka
Hi,

I had similiar experience with some vms (really small amount of them).
It hangs, cpu was 100%, console inresponsible and powering that vm off
and on solves problem. But one of this vms was CentOS6, not 5 (in the
fact it was our mirror.slu.cz which mirrors also ovirt project so sorry
for unplanned outages ;-)

I am not sure if it is tied to migrations, I had this experience even
without migrating this vm (as long as it was not migrated automatically)

This didn't happen after I upgraded hosts to CentOS7.5.1804 (I am always
using the latest oVirt in time here)

Cpu familly is AMD Opteron(tm) Processor 6172 (yes, it is a little bit
older cluster :-)

Cheers,

Jiri Slezka


On 06/27/2018 08:59 AM, Eduardo Mayoral wrote:
> Hi,
> 
>     I am experiencing that my RHEL5 guests frequently "hang" when
> migrating host. Console is blank, CPU after migration is 100% and as far
> as oVirt is concerned, the VM is OK.
> 
>     oVirt is 4.2.3.8-1.el7, on CentOS 7. Hosts are CentOS 7 as well.
> Cluster is in "Intel Westmere family" CPU type.
> 
>     Guest is RHEL5, fully patched, kernel 4.2.3.8-1.el7 with
> ovirt-guest-agent installed from EPEL.
> 
>     I do not see anything out of place in the ovirt-engine and vdsm
> logs, and the guest logs are simply not there, the stop right before the
> migration,as if the machine had "frozen".
> 
>     Powering the VM off and starting it starts the VM correctly. This
> does not happen 100% of the time. If I try to migrate the VM when it is
> freshly started the migration is faster (maybe 5 seconds), and the guest
> OS does not hang.
> 
>     Anybody else experiencing something similar? Maybe something
> (timeouts?) that I should tune on the guest OS for RHEL5?
> 
>     Thanks!
> 
> --
> 
> Eduardo Mayoral.
> 
> 
> 
> 
> ___
> 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/42D5IQBRX7ABZFAXA3O4SHABRPLDCMZA/
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/JDNYDKUGP3LJQY4DMBEY3PIPOZFFPOII/


[ovirt-users] Re: oVirt 4.2 and CLI options

2018-06-06 Thread Jiří Sléžka
Hi

On 06/06/2018 11:33 AM, Torsten Stolpmann wrote:
> On 02.06.2018 08:52, Yaniv Kaul wrote:
>>
>>
>> On Thu, May 31, 2018, 10:08 PM Simon Coter > > wrote:
>>
>>     Hi,
>>
>>     what is the best choice for a CLI interface vs oVirt 4.2 ?
>>
>>
>> While I recommend looking at Ansible,
>> https://github.com/fbacchella/ovirtcmd is also an interesting option.
>>
> 
> I found ovirt-shell an indispensable tool during troubleshooting when
> ssh is the last usable option, due to its interactive nature in relation
> to ansible.
> 
> I feel sad to see it vanish in 4.3 without any equivalent replacement.

the same for me. I will miss ovirt-shell. It was really strong tool
(though I would prefer stronger tab completion and some polishing)

is there really no replacement?

> Will have a look at ovirtcmd though. Are there plans to make this
> available via yum in the future?

will check ovirtcmd too

Cheers, Jiri


> 
> 
> Torsten
> 
> 
>>     I've looked for it and I saw that ovirt-shell is already deprecated.
>>
>>
>> Correct.
>> Y.
>>
>>     Thanks
>>
>>     Simon
>>     ___
>>     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/IUSAU6HO776435P7DZ36CJ2AVHZLDGDW/
>>
>>
>>
>>
>> ___
>> 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/L2UZCZGCD7U75UOB6D35XYWXD4V3JTB4/
>>
>>
> ___
> 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/2NTSXTADGO62VGYX6KZKMJ6E37MDYDCS/
> 



smime.p7s
Description: S/MIME Cryptographic Signature
___
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/ETITLVDF6OF663SO2ZIRFNZFM24VCZH5/


[ovirt-users] Re: sun.security.validator.ValidatorException after update to 4.2.3

2018-05-08 Thread Jiří Sléžka
Hi,

solution was obvious. Upgrade process modified apache's ssl.conf and
reverted my customization.

for example - my custom cert...

SSLCertificateFile /etc/pki/tls/certs/ovirt.crt.pem

...was replaced by this

SSLCertificateFile /etc/pki/ovirt-engine/certs/apache.cer

the same for SSLCertificateKeyFile and SSLCACertificateFile

After reverting this changes everything works as usual but it makes me
unsure if I have my 3rd party certificate configured the right way...

Cheers,

Jiri


On 05/07/2018 05:41 PM, Jiří Sléžka wrote:
> Hi,
> 
> after upgrade ovirt from 4.2.2 to 4.2.3.5-1.el7.centos I cannot login
> into admin portal because
> 
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to
> find valid certification path to requested target
> 
> I am using custom 3rd party certificate
> 
> Any hints how to resolve this issue?
> 
> Thanks in advance,
> 
> Jiri Slezka
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] sun.security.validator.ValidatorException after update to 4.2.3

2018-05-07 Thread Jiří Sléžka
Hi,

after upgrade ovirt from 4.2.2 to 4.2.3.5-1.el7.centos I cannot login
into admin portal because

sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

I am using custom 3rd party certificate

Any hints how to resolve this issue?

Thanks in advance,

Jiri Slezka




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem importing ova vm

2018-02-22 Thread Jiří Sléžka
On 02/22/2018 01:58 PM, Richard W.M. Jones wrote:
> On Thu, Feb 22, 2018 at 01:27:18PM +0100, Jiří Sléžka wrote:
>> libvirt needs authentication to connect to libvirt URI qemu:///system
>> (see also: http://libvirt.org/auth.html http://libvirt.org/uri.html)
> 
> You can set the backend to direct to avoid needing libvirt:
> 
>   export LIBGUESTFS_BACKEND=direct
> 
> Alternately you can fiddle with the libvirt polkit configuration
> to permit access:

thanks, here is full output

http://mirror.slu.cz/tmp/libguestfs-test-tool.txt

Jiri

> 
>   https://libvirt.org/aclpolkit.html
> 
> Rich.
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem importing ova vm

2018-02-22 Thread Jiří Sléžka
On 02/22/2018 11:22 AM, Richard W.M. Jones wrote:
> On Thu, Feb 22, 2018 at 12:09:56PM +0200, Arik Hadas wrote:
>> supermin: failed to find a suitable kernel (host_cpu=x86_64).
> 
> Please run ‘libguestfs-test-tool’ and attach the complete output.

libguestfs-test-tool
 
 *IMPORTANT NOTICE
 *
 * When reporting bugs, include the COMPLETE, UNEDITED
 * output below in your bug report.
 *
 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
XDG_RUNTIME_DIR=/run/user/0
SELinux: Enforcing
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_direct: 0
guestfs_get_hv: /usr/libexec/qemu-kvm
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_smp: 1
guestfs_get_sockdir: /tmp
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.36.3rhel=7,release=6.el7_4.3,libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsmsimNR
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: libvirt version = 3002000 (3.2.0)
libguestfs: guest random name = guestfs-ii13o2gd48kt6mrz
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth =
default+wrapper, flags = 0
libvirt needs authentication to connect to libvirt URI qemu:///system
(see also: http://libvirt.org/auth.html http://libvirt.org/uri.html)

(not sure if you need information after authentication (and I am not
sure which credentials it needs))

> 
>> @Richard, this is an OVA of a VM installed with Debian64 as guest OS that


>> was exported from VirtualBox, is it supported by virt-v2v?
> 
> No, we only support OVAs exported from VMware.  OVF isn't a
> real standard, it's a ploy by VMware to pretend that they
> conform to standards.

:-)

maybe supporting import from VirtualBox is the way to lowering VmWare
importance :-)

Cheers, Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem importing ova vm

2018-02-21 Thread Jiří Sléžka
On 02/21/2018 05:35 PM, Arik Hadas wrote:
> 
> 
> On Wed, Feb 21, 2018 at 6:03 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
>     On 02/21/2018 03:43 PM, Jiří Sléžka wrote:
> > On 02/20/2018 11:09 PM, Arik Hadas wrote:
> >>
>     >>
> >> On Tue, Feb 20, 2018 at 6:37 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>
> >> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >>
> >>     On 02/20/2018 03:48 PM, Arik Hadas wrote:
> >>     >
> >>     >
> >>     > On Tue, Feb 20, 2018 at 3:49 PM, Jiří Sléžka
> <jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >>     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
> >>     >
> >>     >     Hi Arik,
> >>     >
> >>     >     On 02/20/2018 01:22 PM, Arik Hadas wrote:
> >>     >     >
> >>     >     >
> >>     >     > On Tue, Feb 20, 2018 at 2:03 PM, Jiří Sléžka
> <jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>
> >>     >     > <mailto:jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz> <mailto:jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>>
> >>     <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>>> wrote:
> >>     >     >
> >>     >     >     Hi,
> >>     >     >
> >>     >     >
> >>     >     > Hi Jiří,
> >>     >     >  
> >>     >     >
> >>     >     >
> >>     >     >     I would like to try import some ova files into
> our oVirt
> >>     instance [1]
> >>     >     >     [2] but I facing problems.
> >>     >     >
> >>     >     >     I have downloaded all ova images into one of hosts
> >>     (ovirt01) into
> >>     >     >     direcory /ova
> >>     >     >
> >>     >     >     ll /ova/
> >>     >     >     total 6532872
> >>     >     >     -rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21
> >>     HAAS-hpcowrie.ovf
> >>     >     >     -rw-r--r--. 1 vdsm kvm 785984 Feb 16 16:22
> >>     HAAS-hpdio.ova
> >>     >     >     -rw-r--r--. 1 vdsm kvm  846736896 Feb 16 16:22
> >>     HAAS-hpjdwpd.ova
> >>     >     >     -rw-r--r--. 1 vdsm kvm  891043328 Feb 16 16:23
> >>     HAAS-hptelnetd.ova
> >>     >     >     -rw-r--r--. 1 vdsm kvm  908222464 Feb 16 16:23
> >>     HAAS-hpuchotcp.ova
> >>     >     >     -rw-r--r--. 1 vdsm kvm  880643072 Feb 16 16:24
> >>     HAAS-hpuchoudp.ova
> >>     >     >     -rw-r--r--. 1 vdsm kvm  890833920 Feb 16 16:24
> >>     HAAS-hpuchoweb.ova
> >>     >     >
> >>     >     >     Then I tried to import them - from host ovirt01 and
> >>     directory /ova but
> >>     >     >     spinner spins infinitly and nothing is happen.
> >>     >     >
> >>     >     >
> >>     >     > And does it work when you provide a path to the
> actual ova
> >>     file, i.e.,
> >>     >     > /ova/HAAS-hpdio.ova, rather than to the directory?
> >>     >
> >>     >     this time it ends with "Failed to load VM configuration
> from
> >>     OVA file:
> >>     >     /ova/HAAS-hpdio.ova" error. 
> >>     >
> >>     >
> >>     > Note that the logic that is applied on a specified folder
> is "try
> >>     > fetching an 'ova folder' out of the destination folder"
> rather than
> >>     > "list all

Re: [ovirt-users] problem importing ova vm

2018-02-21 Thread Jiří Sléžka
On 02/21/2018 03:43 PM, Jiří Sléžka wrote:
> On 02/20/2018 11:09 PM, Arik Hadas wrote:
>>
>>
>> On Tue, Feb 20, 2018 at 6:37 PM, Jiří Sléžka <jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> On 02/20/2018 03:48 PM, Arik Hadas wrote:
>> >
>> >
>> > On Tue, Feb 20, 2018 at 3:49 PM, Jiří Sléžka <jiri.sle...@slu.cz 
>> <mailto:jiri.sle...@slu.cz>
>> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
>> >
>> >     Hi Arik,
>>     >
>> >     On 02/20/2018 01:22 PM, Arik Hadas wrote:
>> >     >
>> >     >
>> >     > On Tue, Feb 20, 2018 at 2:03 PM, Jiří Sléžka <jiri.sle...@slu.cz 
>> <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
>> >     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
>> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
>> >     >
>> >     >     Hi,
>> >     >
>> >     >
>> >     > Hi Jiří,
>> >     >  
>> >     >
>> >     >
>> >     >     I would like to try import some ova files into our oVirt
>> instance [1]
>> >     >     [2] but I facing problems.
>> >     >
>> >     >     I have downloaded all ova images into one of hosts
>> (ovirt01) into
>> >     >     direcory /ova
>> >     >
>> >     >     ll /ova/
>> >     >     total 6532872
>> >     >     -rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21
>> HAAS-hpcowrie.ovf
>> >     >     -rw-r--r--. 1 vdsm kvm 785984 Feb 16 16:22
>> HAAS-hpdio.ova
>> >     >     -rw-r--r--. 1 vdsm kvm  846736896 Feb 16 16:22
>> HAAS-hpjdwpd.ova
>> >     >     -rw-r--r--. 1 vdsm kvm  891043328 Feb 16 16:23
>> HAAS-hptelnetd.ova
>> >     >     -rw-r--r--. 1 vdsm kvm  908222464 Feb 16 16:23
>> HAAS-hpuchotcp.ova
>> >     >     -rw-r--r--. 1 vdsm kvm  880643072 Feb 16 16:24
>> HAAS-hpuchoudp.ova
>> >     >     -rw-r--r--. 1 vdsm kvm  890833920 Feb 16 16:24
>> HAAS-hpuchoweb.ova
>> >     >
>> >     >     Then I tried to import them - from host ovirt01 and
>> directory /ova but
>> >     >     spinner spins infinitly and nothing is happen.
>> >     >
>> >     >
>> >     > And does it work when you provide a path to the actual ova
>> file, i.e.,
>> >     > /ova/HAAS-hpdio.ova, rather than to the directory?
>> >
>> >     this time it ends with "Failed to load VM configuration from
>> OVA file:
>> >     /ova/HAAS-hpdio.ova" error. 
>> >
>> >
>> > Note that the logic that is applied on a specified folder is "try
>> > fetching an 'ova folder' out of the destination folder" rather than
>> > "list all the ova files inside the specified folder". It seems
>> that you
>> > expected the former output since there are no disks in that
>> folder, right?
>>
>> yes, It would be more user friendly to list all ova files and then
>> select which one to import (like listing all vms in vmware import)
>>
>> Maybe description of path field in manager should be "Path to ova file"
>> instead of "Path" :-)
>>
>>
>> Sorry, I obviously meant 'latter' rather than 'former' before..
>> Yeah, I agree that would be better, at least until listing the OVA files
>> in the folder is implemented (that was the original plan, btw) - could
>> you please file a bug?
> 
> yes, sure
> 
> 
>> >     >     I cannot see anything relevant in vdsm log of host ovirt01.
>> >     >
>> >     >     In the engine.log of our standalone ovirt manager is just 
>> this
>> >     >     relevant line
>> >     >
>> >     >     2018-02-20 12:35:04,289+01 INFO
>> >     >     [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] 
>> (default
>> >     >     task-31) [458990a7-b054-491a-904e-5c4fe44892c4] Executing 
>> Ansible
>> >     >     command: ANSIBLE_STDOUT_CALLBACK=ovaqueryp

Re: [ovirt-users] problem importing ova vm

2018-02-21 Thread Jiří Sléžka
On 02/20/2018 11:09 PM, Arik Hadas wrote:
> 
> 
> On Tue, Feb 20, 2018 at 6:37 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
> On 02/20/2018 03:48 PM, Arik Hadas wrote:
> >
> >
> > On Tue, Feb 20, 2018 at 3:49 PM, Jiří Sléžka <jiri.sle...@slu.cz 
> <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi Arik,
> >
> >     On 02/20/2018 01:22 PM, Arik Hadas wrote:
> >     >
> >     >
> >     > On Tue, Feb 20, 2018 at 2:03 PM, Jiří Sléžka <jiri.sle...@slu.cz 
> <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
> >     >
> >     >     Hi,
> >     >
> >     >
> >     > Hi Jiří,
> >     >  
> >     >
> >     >
> >     >     I would like to try import some ova files into our oVirt
> instance [1]
> >     >     [2] but I facing problems.
> >     >
> >     >     I have downloaded all ova images into one of hosts
> (ovirt01) into
> >     >     direcory /ova
> >     >
> >     >     ll /ova/
> >     >     total 6532872
> >     >     -rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21
> HAAS-hpcowrie.ovf
> >     >     -rw-r--r--. 1 vdsm kvm 785984 Feb 16 16:22
> HAAS-hpdio.ova
> >     >     -rw-r--r--. 1 vdsm kvm  846736896 Feb 16 16:22
> HAAS-hpjdwpd.ova
> >     >     -rw-r--r--. 1 vdsm kvm  891043328 Feb 16 16:23
> HAAS-hptelnetd.ova
> >     >     -rw-r--r--. 1 vdsm kvm  908222464 Feb 16 16:23
> HAAS-hpuchotcp.ova
> >     >     -rw-r--r--. 1 vdsm kvm  880643072 Feb 16 16:24
> HAAS-hpuchoudp.ova
> >     >     -rw-r--r--. 1 vdsm kvm  890833920 Feb 16 16:24
> HAAS-hpuchoweb.ova
> >     >
> >     >     Then I tried to import them - from host ovirt01 and
> directory /ova but
> >     >     spinner spins infinitly and nothing is happen.
> >     >
> >     >
> >     > And does it work when you provide a path to the actual ova
> file, i.e.,
> >     > /ova/HAAS-hpdio.ova, rather than to the directory?
> >
> >     this time it ends with "Failed to load VM configuration from
> OVA file:
> >     /ova/HAAS-hpdio.ova" error. 
> >
> >
> > Note that the logic that is applied on a specified folder is "try
> > fetching an 'ova folder' out of the destination folder" rather than
> > "list all the ova files inside the specified folder". It seems
> that you
> > expected the former output since there are no disks in that
> folder, right?
> 
> yes, It would be more user friendly to list all ova files and then
> select which one to import (like listing all vms in vmware import)
> 
> Maybe description of path field in manager should be "Path to ova file"
> instead of "Path" :-)
> 
> 
> Sorry, I obviously meant 'latter' rather than 'former' before..
> Yeah, I agree that would be better, at least until listing the OVA files
> in the folder is implemented (that was the original plan, btw) - could
> you please file a bug?

yes, sure


> >     >     I cannot see anything relevant in vdsm log of host ovirt01.
> >     >
> >     >     In the engine.log of our standalone ovirt manager is just this
> >     >     relevant line
> >     >
> >     >     2018-02-20 12:35:04,289+01 INFO
> >     >     [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] 
> (default
> >     >     task-31) [458990a7-b054-491a-904e-5c4fe44892c4] Executing 
> Ansible
> >     >     command: ANSIBLE_STDOUT_CALLBACK=ovaqueryplugin
> >     >     [/usr/bin/ansible-playbook,
> >     >     --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa,
> >     >     --inventory=/tmp/ansible-inventory8237874608161160784,
> >     >     --extra-vars=ovirt_query_ova_path=/ova,
> >     >     /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml] 
> [Logfile:
> >     >     
> /var/log/ovirt-engine/ova/ovirt-query-ova-ansib

Re: [ovirt-users] problem importing ova vm

2018-02-20 Thread Jiří Sléžka
On 02/20/2018 03:48 PM, Arik Hadas wrote:
> 
> 
> On Tue, Feb 20, 2018 at 3:49 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi Arik,
> 
> On 02/20/2018 01:22 PM, Arik Hadas wrote:
> >
>     >
> > On Tue, Feb 20, 2018 at 2:03 PM, Jiří Sléžka <jiri.sle...@slu.cz 
> <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >
> > Hi Jiří,
> >  
> >
> >
> >     I would like to try import some ova files into our oVirt instance 
> [1]
> >     [2] but I facing problems.
> >
> >     I have downloaded all ova images into one of hosts (ovirt01) into
> >     direcory /ova
> >
> >     ll /ova/
> >     total 6532872
> >     -rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21 HAAS-hpcowrie.ovf
> >     -rw-r--r--. 1 vdsm kvm 785984 Feb 16 16:22 HAAS-hpdio.ova
> >     -rw-r--r--. 1 vdsm kvm  846736896 Feb 16 16:22 HAAS-hpjdwpd.ova
> >     -rw-r--r--. 1 vdsm kvm  891043328 Feb 16 16:23 HAAS-hptelnetd.ova
> >     -rw-r--r--. 1 vdsm kvm  908222464 Feb 16 16:23 HAAS-hpuchotcp.ova
> >     -rw-r--r--. 1 vdsm kvm  880643072 Feb 16 16:24 HAAS-hpuchoudp.ova
> >     -rw-r--r--. 1 vdsm kvm  890833920 Feb 16 16:24 HAAS-hpuchoweb.ova
> >
> >     Then I tried to import them - from host ovirt01 and directory /ova 
> but
> >     spinner spins infinitly and nothing is happen.
> >
> >
> > And does it work when you provide a path to the actual ova file, i.e.,
> > /ova/HAAS-hpdio.ova, rather than to the directory?
> 
> this time it ends with "Failed to load VM configuration from OVA file:
> /ova/HAAS-hpdio.ova" error. 
> 
> 
> Note that the logic that is applied on a specified folder is "try
> fetching an 'ova folder' out of the destination folder" rather than
> "list all the ova files inside the specified folder". It seems that you
> expected the former output since there are no disks in that folder, right?

yes, It would be more user friendly to list all ova files and then
select which one to import (like listing all vms in vmware import)

Maybe description of path field in manager should be "Path to ova file"
instead of "Path" :-)

> >     I cannot see anything relevant in vdsm log of host ovirt01.
> >
> >     In the engine.log of our standalone ovirt manager is just this
> >     relevant line
> >
> >     2018-02-20 12:35:04,289+01 INFO
> >     [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] 
> (default
> >     task-31) [458990a7-b054-491a-904e-5c4fe44892c4] Executing Ansible
> >     command: ANSIBLE_STDOUT_CALLBACK=ovaqueryplugin
> >     [/usr/bin/ansible-playbook,
> >     --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa,
> >     --inventory=/tmp/ansible-inventory8237874608161160784,
> >     --extra-vars=ovirt_query_ova_path=/ova,
> >     /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml] [Logfile:
> >     
> /var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20180220123504-ovirt01.net
> <http://ovirt-query-ova-ansible-20180220123504-ovirt01.net>
> >     <http://20180220123504-ovirt01.net
> <http://20180220123504-ovirt01.net>>.slu.cz.log]
> >
> >     also there are two ansible processes which are still running
> (and makes
> >     heavy load on system (load 9+ and growing, it looks like it
> eats all the
> >     memory and system starts swapping))
> >
> >     ovirt    32087  3.3  0.0 332252  5980 ?        Sl   12:35   0:41
> >     /usr/bin/python2 /usr/bin/ansible-playbook
> >     --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
> >     --inventory=/tmp/ansible-inventory8237874608161160784
> >     --extra-vars=ovirt_query_ova_path=/ova
> >     /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml
> >     ovirt    32099 57.5 78.9 15972880 11215312 ?   R    12:35  11:52
> >     /usr/bin/python2 /usr/bin/ansible-playbook
> >     --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
> >     --inventory=/tmp/ansible-inventory8237874608161160784
> >     --extra-vars=ovirt_query_ova_path=/ova
> >     /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml
> >
> >     playbook looks like
> >
> >     - hosts: all
>

[ovirt-users] problem importing ova vm

2018-02-20 Thread Jiří Sléžka
Hi,

I would like to try import some ova files into our oVirt instance [1]
[2] but I facing problems.

I have downloaded all ova images into one of hosts (ovirt01) into
direcory /ova

ll /ova/
total 6532872
-rw-r--r--. 1 vdsm kvm 1160387072 Feb 16 16:21 HAAS-hpcowrie.ovf
-rw-r--r--. 1 vdsm kvm 785984 Feb 16 16:22 HAAS-hpdio.ova
-rw-r--r--. 1 vdsm kvm  846736896 Feb 16 16:22 HAAS-hpjdwpd.ova
-rw-r--r--. 1 vdsm kvm  891043328 Feb 16 16:23 HAAS-hptelnetd.ova
-rw-r--r--. 1 vdsm kvm  908222464 Feb 16 16:23 HAAS-hpuchotcp.ova
-rw-r--r--. 1 vdsm kvm  880643072 Feb 16 16:24 HAAS-hpuchoudp.ova
-rw-r--r--. 1 vdsm kvm  890833920 Feb 16 16:24 HAAS-hpuchoweb.ova

Then I tried to import them - from host ovirt01 and directory /ova but
spinner spins infinitly and nothing is happen.

I cannot see anything relevant in vdsm log of host ovirt01.

In the engine.log of our standalone ovirt manager is just this relevant line

2018-02-20 12:35:04,289+01 INFO
[org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default
task-31) [458990a7-b054-491a-904e-5c4fe44892c4] Executing Ansible
command: ANSIBLE_STDOUT_CALLBACK=ovaqueryplugin
[/usr/bin/ansible-playbook,
--private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa,
--inventory=/tmp/ansible-inventory8237874608161160784,
--extra-vars=ovirt_query_ova_path=/ova,
/usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml] [Logfile:
/var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20180220123504-ovirt01.net.slu.cz.log]

also there are two ansible processes which are still running (and makes
heavy load on system (load 9+ and growing, it looks like it eats all the
memory and system starts swapping))

ovirt32087  3.3  0.0 332252  5980 ?Sl   12:35   0:41
/usr/bin/python2 /usr/bin/ansible-playbook
--private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
--inventory=/tmp/ansible-inventory8237874608161160784
--extra-vars=ovirt_query_ova_path=/ova
/usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml
ovirt32099 57.5 78.9 15972880 11215312 ?   R12:35  11:52
/usr/bin/python2 /usr/bin/ansible-playbook
--private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa
--inventory=/tmp/ansible-inventory8237874608161160784
--extra-vars=ovirt_query_ova_path=/ova
/usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml

playbook looks like

- hosts: all
  remote_user: root
  gather_facts: no

  roles:
- ovirt-ova-query

and it looks like it only runs query_ova.py but on all hosts?

How does this work? ...or should it work?

I am using latest 4.2.1.7-1.el7.centos version

Cheers,
Jiri Slezka


[1] https://haas.cesnet.cz/#!index.md - Cesnet HAAS
[2] https://haas.cesnet.cz/downloads/release-01/ - Image repository



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Gluster-users] slow performance with export storage on glusterfs

2017-11-29 Thread Jiří Sléžka
Hello,

> 
> If you use Gluster as FUSE mount it's always slower than you expect it
> to be.
> If you want to get better performance out of your oVirt/Gluster storage,
> try the following: 
> 
> - create a Linux VM in your oVirt environment, assign 4/8/12 virtual
> disks (Virtual disks are located on your Gluster storage volume).
> - Boot/configure the VM, then use LVM to create VG/LV with 4 stripes
> (lvcreate -i 4) and use all 4/8/12 virtual disks as PVS.
> - then install NFS server and export LV you created in previous step,
> use the NFS export as export domain in oVirt/RHEV.
> 
> You should get wire speed when you use multiple stripes on Gluster
> storage, FUSE mount on oVirt host will fan out requests to all 4 servers.
> Gluster is very good at distributed/parallel workloads, but when you use
> direct Gluster FUSE mount for Export domain you only have one data
> stream, which is fragmented even more my multiple writes/reads that
> Gluster needs to do to save your data on all member servers.

Thanks for explanation, it is an interesting solution.

Cheers,

Jiri

> 
> 
> 
> On Mon, Nov 27, 2017 at 8:41 PM, Donny Davis <do...@fortnebula.com
> <mailto:do...@fortnebula.com>> wrote:
> 
> What about mounting over nfs instead of the fuse client. Or maybe
> libgfapi. Is that available for export domains
> 
> On Fri, Nov 24, 2017 at 3:48 AM Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
>     On 11/24/2017 06:41 AM, Sahina Bose wrote:
> >
> >
> > On Thu, Nov 23, 2017 at 4:56 PM, Jiří Sléžka
> <jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >     On 11/22/2017 07:30 PM, Nir Soffer wrote:
> >     > On Mon, Nov 20, 2017 at 5:22 PM Jiří Sléžka
> <jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>
> >     > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>
> <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>>> wrote:
> >     >
> >     >     Hi,
> >     >
> >     >     I am trying realize why is exporting of vm to export
> storage on
> >     >     glusterfs such slow.
> >     >
> >     >     I am using oVirt and RHV, both instalations on
> version 4.1.7.
> >     >
> >     >     Hosts have dedicated nics for rhevm network - 1gbps,
> data
> >     storage itself
> >     >     is on FC.
> >     >
> >     >     GlusterFS cluster lives separate on 4 dedicated
> hosts. It has
> >     slow disks
> >     >     but I can achieve about 200-400mbit throughput in other
> >     applications (we
> >     >     are using it for "cold" data, backups mostly).
> >     >
> >     >     I am using this glusterfs cluster as backend for export
> >     storage. When I
> >     >     am exporting vm I can see only about 60-80mbit
> throughput.
> >     >
> >     >     What could be the bottleneck here?
> >     >
> >     >     Could it be qemu-img utility?
> >     >
> >     >     vdsm      97739  0.3  0.0 354212 29148 ?        S<l 
> 15:43   0:06
> >     >     /usr/bin/qemu-img convert -p -t none -T none -f raw
> >     >   
> >   
>   
> /rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> >     >     -O raw
> >     >   
> >   
>   
> /rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> >     >
> >     >     Any idea how to make it work faster or what
> throughput should I
> >     >     expected?
> >     >
> >     >
> >     > gluster storage operations are using fuse mount - so
> every write:
> >     > - travel to the kernel
> >     > 

Re: [ovirt-users] slow performance with export storage on glusterfs

2017-11-24 Thread Jiří Sléžka
On 11/24/2017 06:41 AM, Sahina Bose wrote:
> 
> 
> On Thu, Nov 23, 2017 at 4:56 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> On 11/22/2017 07:30 PM, Nir Soffer wrote:
> > On Mon, Nov 20, 2017 at 5:22 PM Jiří Sléžka <jiri.sle...@slu.cz 
> <mailto:jiri.sle...@slu.cz>
> > <mailto:jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>>> wrote:
> >
> >     Hi,
> >
> >     I am trying realize why is exporting of vm to export storage on
> >     glusterfs such slow.
> >
> >     I am using oVirt and RHV, both instalations on version 4.1.7.
> >
> >     Hosts have dedicated nics for rhevm network - 1gbps, data
> storage itself
> >     is on FC.
> >
> >     GlusterFS cluster lives separate on 4 dedicated hosts. It has
> slow disks
> >     but I can achieve about 200-400mbit throughput in other
> applications (we
> >     are using it for "cold" data, backups mostly).
> >
> >     I am using this glusterfs cluster as backend for export
> storage. When I
> >     am exporting vm I can see only about 60-80mbit throughput.
> >
> >     What could be the bottleneck here?
> >
> >     Could it be qemu-img utility?
> >
> >     vdsm      97739  0.3  0.0 354212 29148 ?        S<l  15:43   0:06
> >     /usr/bin/qemu-img convert -p -t none -T none -f raw
> >   
>  
> /rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> >     -O raw
> >   
>  
> /rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> >
> >     Any idea how to make it work faster or what throughput should I
> >     expected?
> >
> >
> > gluster storage operations are using fuse mount - so every write:
> > - travel to the kernel
> > - travel back to the gluster fuse helper process
> > - travel to all 3 replicas - replication is done on client side
> > - return to kernel when all writes succeeded
> > - return to caller
> >
> > So gluster will never set any speed record.
> >
> > Additionally, you are copying from raw lv on FC - qemu-img cannot do
> > anything
> > smart and avoid copying unused clusters. Instead if copies
> gigabytes of
> > zeros
> > from FC.
> 
> ok, it does make sense
> 
> > However 7.5-10 MiB/s sounds too slow.
> >
> > I would try to test with dd - how much time it takes to copy
> > the same image from FC to your gluster storage?
> >
> > dd
> > 
> if=/rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> > 
> of=/rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/__test__
> > bs=8M oflag=direct status=progress
> 
> unfrotunately dd performs the same
> 
> 1778384896 bytes (1.8 GB) copied, 198.565265 s, 9.0 MB/s
> 
> 
> > If dd can do this faster, please ask on qemu-discuss mailing list:
> > https://lists.nongnu.org/mailman/listinfo/qemu-discuss
> <https://lists.nongnu.org/mailman/listinfo/qemu-discuss>
> >
> > If both give similar results, I think asking in gluster mailing list
> > about this can help. Maybe your gluster setup can be optimized.
> 
> ok, this is definitly on the gluster side. Thanks for your guidance.
> 
> I will investigate the gluster side and also will try Export on NFS
> share.
> 
> 
> [Adding gluster users ml]
> 
> Please provide "gluster volume info" output for the rhv_export gluster
> volume and also volume profile details (refer to earlier mail from Shani
> on how to run this) while performing the dd operation above.

you can find all this output on https://pastebin.com/sBK01VS8

as mentioned in other posts. Gluster cluster uses really slow (green)
disks but without direct io it can achieve throughput around 400mbit/s.

This storage is used mostly for backup purposes. It is not used as a vm
storage.

In my case it would be nice not to use direct io in export case but I
understand why it might not be wise.

Cheers,

Jiri

> 
>

Re: [ovirt-users] slow performance with export storage on glusterfs

2017-11-23 Thread Jiří Sléžka
well, another idea

when I did not use the direct flag, the performace was much better

15787360256 bytes (16 GB) copied, 422.955159 s, 37.3 MB/s

probably qemu-img uses direct write too and I understand why. But in
case of backup it is not as hot I think. Is there a chance to modify
this behavior for backup case? Is it a good idea? Should I fill RFE?

Cheers,

Jiri


On 11/23/2017 12:26 PM, Jiří Sléžka wrote:
> Hi,
> 
> On 11/22/2017 07:30 PM, Nir Soffer wrote:
>> On Mon, Nov 20, 2017 at 5:22 PM Jiří Sléžka <jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> Hi,
>>
>> I am trying realize why is exporting of vm to export storage on
>> glusterfs such slow.
>>
>> I am using oVirt and RHV, both instalations on version 4.1.7.
>>
>> Hosts have dedicated nics for rhevm network - 1gbps, data storage itself
>> is on FC.
>>
>> GlusterFS cluster lives separate on 4 dedicated hosts. It has slow disks
>> but I can achieve about 200-400mbit throughput in other applications (we
>> are using it for "cold" data, backups mostly).
>>
>> I am using this glusterfs cluster as backend for export storage. When I
>> am exporting vm I can see only about 60-80mbit throughput.
>>
>> What could be the bottleneck here?
>>
>> Could it be qemu-img utility?
>>
>> vdsm      97739  0.3  0.0 354212 29148 ?        S<l  15:43   0:06
>> /usr/bin/qemu-img convert -p -t none -T none -f raw
>> 
>> /rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
>> -O raw
>> 
>> /rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
>>
>> Any idea how to make it work faster or what throughput should I
>> expected?
>>
>>
>> gluster storage operations are using fuse mount - so every write:
>> - travel to the kernel
>> - travel back to the gluster fuse helper process
>> - travel to all 3 replicas - replication is done on client side
>> - return to kernel when all writes succeeded
>> - return to caller
>>
>> So gluster will never set any speed record.
>>
>> Additionally, you are copying from raw lv on FC - qemu-img cannot do
>> anything
>> smart and avoid copying unused clusters. Instead if copies gigabytes of
>> zeros
>> from FC.
> 
> ok, it does make sense
> 
>> However 7.5-10 MiB/s sounds too slow.
>>
>> I would try to test with dd - how much time it takes to copy
>> the same image from FC to your gluster storage?
>>
>> dd
>> if=/rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
>> of=/rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/__test__
>> bs=8M oflag=direct status=progress
> 
> unfrotunately dd performs the same
> 
> 1778384896 bytes (1.8 GB) copied, 198.565265 s, 9.0 MB/s
> 
> 
>> If dd can do this faster, please ask on qemu-discuss mailing list:
>> https://lists.nongnu.org/mailman/listinfo/qemu-discuss
>>
>> If both give similar results, I think asking in gluster mailing list
>> about this can help. Maybe your gluster setup can be optimized.
> 
> ok, this is definitly on the gluster side. Thanks for your guidance.
> 
> I will investigate the gluster side and also will try Export on NFS share.
> 
> Cheers,
> 
> Jiri
> 
> 
>>
>> Nir
>>  
>>
>>
>> Cheers,
>>
>> Jiri
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] slow performance with export storage on glusterfs

2017-11-23 Thread Jiří Sléžka
Hi,

On 11/22/2017 07:30 PM, Nir Soffer wrote:
> On Mon, Nov 20, 2017 at 5:22 PM Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi,
> 
> I am trying realize why is exporting of vm to export storage on
> glusterfs such slow.
> 
> I am using oVirt and RHV, both instalations on version 4.1.7.
> 
> Hosts have dedicated nics for rhevm network - 1gbps, data storage itself
> is on FC.
> 
> GlusterFS cluster lives separate on 4 dedicated hosts. It has slow disks
> but I can achieve about 200-400mbit throughput in other applications (we
> are using it for "cold" data, backups mostly).
> 
> I am using this glusterfs cluster as backend for export storage. When I
> am exporting vm I can see only about 60-80mbit throughput.
> 
> What could be the bottleneck here?
> 
> Could it be qemu-img utility?
> 
> vdsm      97739  0.3  0.0 354212 29148 ?        S<l  15:43   0:06
> /usr/bin/qemu-img convert -p -t none -T none -f raw
> 
> /rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> -O raw
> 
> /rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> 
> Any idea how to make it work faster or what throughput should I
> expected?
> 
> 
> gluster storage operations are using fuse mount - so every write:
> - travel to the kernel
> - travel back to the gluster fuse helper process
> - travel to all 3 replicas - replication is done on client side
> - return to kernel when all writes succeeded
> - return to caller
> 
> So gluster will never set any speed record.
> 
> Additionally, you are copying from raw lv on FC - qemu-img cannot do
> anything
> smart and avoid copying unused clusters. Instead if copies gigabytes of
> zeros
> from FC.

ok, it does make sense

> However 7.5-10 MiB/s sounds too slow.
> 
> I would try to test with dd - how much time it takes to copy
> the same image from FC to your gluster storage?
> 
> dd
> if=/rhev/data-center/2ff6d0ee-a10b-473d-b77c-be9149945f5f/ff3cd56a-1005-4426-8137-8f422c0b47c1/images/ba42cbcc-c068-4df8-af3d-00f2077b1e27/c57acd5f-d6cf-48cc-ad0c-4a7d979c0c1e
> of=/rhev/data-center/mnt/glusterSD/10.20.30.41:_rhv__export/81094499-a392-4ea2-b081-7c6288fbb636/__test__
> bs=8M oflag=direct status=progress

unfrotunately dd performs the same

1778384896 bytes (1.8 GB) copied, 198.565265 s, 9.0 MB/s


> If dd can do this faster, please ask on qemu-discuss mailing list:
> https://lists.nongnu.org/mailman/listinfo/qemu-discuss
> 
> If both give similar results, I think asking in gluster mailing list
> about this can help. Maybe your gluster setup can be optimized.

ok, this is definitly on the gluster side. Thanks for your guidance.

I will investigate the gluster side and also will try Export on NFS share.

Cheers,

Jiri


> 
> Nir
>  
> 
> 
> Cheers,
> 
> Jiri
> 
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] slow performance with export storage on glusterfs

2017-11-20 Thread Jiří Sléžka
Hi,

I am trying realize why is exporting of vm to export storage on
glusterfs such slow.

I am using oVirt and RHV, both instalations on version 4.1.7.

Hosts have dedicated nics for rhevm network - 1gbps, data storage itself
is on FC.

GlusterFS cluster lives separate on 4 dedicated hosts. It has slow disks
but I can achieve about 200-400mbit throughput in other applications (we
are using it for "cold" data, backups mostly).

I am using this glusterfs cluster as backend for export storage. When I
am exporting vm I can see only about 60-80mbit throughput.

What could be the bottleneck here?

Could it be qemu-img utility?

vdsm  97739  0.3  0.0 354212 29148 ?S

smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ANN] oVirt 4.2.0 First Beta Release is now available for testing

2017-11-02 Thread Jiří Sléžka
On 10/31/2017 06:57 PM, Oved Ourfali wrote:
> As mentioned earlier, this is one motivation but not the only one. You
> see right click less and less in web applications, as it isn't
> considered a good user experience. This is also the patternfly guideline
> (patternfly is a framework we heavily use throughout the application). 
> 
> We will however consider bringing this back if there will be high demand. 

I'm using right click time to time, but for me is much more important
clean, simple and compatible UI. Especially if this means it will be
possible to simple select and copy any text or log messages from UI.
This is my biggest pain when interacting with manager.

Cheers, Jiri

> 
> Thanks for the feedback!
> Oved 
> 
> On Oct 31, 2017 7:50 PM, "Darrell Budic"  > wrote:
> 
> Agreed. I use the right click functionality all the time and will
> miss it. With 70+ VMs, I may check status in a mobile interface, but
> I’m never going to use it for primary work. Please prioritize ease
> of use on Desktop over Mobile!
> 
> 
>> 
>> *From:* FERNANDO FREDIANI > >
>> *Subject:* Re: [ovirt-users] [ANN] oVirt 4.2.0 First Beta Release
>> is now available for testing
>> *Date:* October 31, 2017 at 11:59:20 AM CDT
>> *To:* users@ovirt.org 
>>
>>
>> On 31/10/2017 13:43, Alexander Wels wrote:

 Will the right click dialog be available in the final release?
 Because,
 currently in 4.2 we need to go at the up right corner to
 interact with
 object (migrate, maintenance...)

>>> Short answer: No, we removed it on purpose.
>>>
>>> Long answer: No, here are the reasons why:
>>> - We are attempting to get the UI more mobile friendly, and while
>>> its not 100%
>>> there yet, it is actually quite useable on a mobile device now.
>>> Mobile devices
>>> don't have a right click, so hiding functionality in there would
>>> make no
>>> sense.
>> Please don't put mobile usage over Desktop usage. While mobile
>> usage is nice to have in "certain" situations. In real day by day
>> operation nobody uses mobile devices to do their deployments and
>> manage their large environments. If having both options where you
>> can switch between then is nice, but if something should prevail
>> should always be Desktop. We are not talking about a Stock Trading
>> interface or something you need that level or flexibility and
>> mobility to do static things anytime anywhere.
>>
>> So I beg you to consider well before remove things which are
>> pretty useful for a day by day and real management usage because
>> of a new trend or buzz stuff.
>> Right click is always on popular on Desktop enviroments and will
>> be for quite a while.
>>> - You can now right click and get the browsers menu instead of
>>> ours and you
>>> can do things like copy from the menu.
>>> - We replicated all the functionality from the menu in the
>>> buttons/kebab menu
>>> available on the right. Our goal was to have all the commonly
>>> used actions as
>>> a button, and less often used actions in the kebab to declutter
>>> the interface.
>>> We traded an extra click for some mouse travel
>>> - Lots of people didn't realize there even was a right click menu
>>> because its
>>> a web interface, and they couldn't find some functionality that
>>> was only
>>> available in the right click menu.
>>>
>>> Now that being said, we are still debating if it was a good move
>>> or not. For
>>> now we want to see how it plays out, if a lot of people want it
>>> back, it is
>>> certainly possible we will put it back.
>>>
> that is something you are interested in. Its also much faster
> and better
> than before.
>
>> On 31/10/2017 10:13, Sandro Bonazzola wrote:
>>> The oVirt Project is pleased to announce the availability of
>>> the First
>>> Beta Release of oVirt 4.2.0, as of October 31st, 2017
>>>
>>>
>>> This is pre-release software. This pre-release should not to
>>> be used
>>> in production.
>>>
>>> Please take a look at our community page[1] to learn how to ask
>>> questions and interact with developers and users.All issues
>>> or bugs
>>> should be reported via oVirt Bugzilla[2].
>>>
>>> This update is the first beta release of the 4.2.0 version. This
>>> release brings more than 230 enhancements and more than one
>>> thousand
>>> bug fixes, including more than 380 high or urgent severity
>>> fixes, on
>>> top of oVirt 4.1 series.
>>>

Re: [ovirt-users] direct lun resizing

2017-10-25 Thread Jiří Sléžka
Hi,

it worked!

for reference...

on host where vm is running...

multipath -r

shows old size so I rescan both paths...

echo 1 > /sys/class/scsi_device/2\:0\:1\:62/device/rescan
echo 1 > /sys/class/scsi_device/2\:0\:0\:62/device/rescan

then...

multipath -r

...shows new size

now I get lun_id (part of --path) and vm_id (--domain) from api and...

virsh -c qemu:///system blockresize --path
/dev/mapper/36005076b07500eff54180960001c --size 629145600 --domain
7a5de3e0-ecbd-4ed6-bf98-2e7a45e96027

btw. size is in KiB, so in my case 600GiB * 1024 * 1024

I had to set sasl passwd for my user... I hope this doesn't break
something...

saslpasswd2 -a libvirt my_username

after this resize the colegue tell me that direct lun was resized on the
vm side...

[524704.451468] sd 2:0:0:1: Capacity data has changed
[525449.969906] sd 2:0:0:1: Capacity data has changed
[525449.971771] sd 2:0:0:1: [sdb] 1258291200 512-byte logical blocks:
(644 GB/600 GiB)
[525449.972697] sdb: detected capacity change from 536870912000 to
644245094400

I have no idea what could happen if I set wrong size :-)


Thanks, Jiri


On 10/19/2017 04:34 PM, Jiří Sléžka wrote:
> Hi,
> 
> thanks a lot! I am going to try sugested workaround but tommorow :-)
> 
> Cheers, Jiri
> 
> 
> On 10/19/2017 02:25 PM, Fred Rolland wrote:
>> Hi,
>>
>> Offline refresh of a direct lun's size is supported since oVirt 3.4 [1].
>> Online refresh, however, is not yet supported [2].
>> You can try the workaround posted on [2], comment 7.
>>
>> [1] *Bug 1026868* <https://bugzilla.redhat.com/show_bug.cgi?id=1026868>
>> -Direct LUN is not being updated after resizing
>> [2] *Bug 1155275* <https://bugzilla.redhat.com/show_bug.cgi?id=1155275>
>> -[RFE] Online update Direct LUN size to the Guest after LUN resize
>>
>> On Thu, Oct 19, 2017 at 1:30 PM, Jiří Sléžka <jiri.sle...@slu.cz
>> <mailto:jiri.sle...@slu.cz>> wrote:
>>
>> Hi all,
>>
>> one of our user uses direct lun inside one of his vm. Now he expanded
>> this lun on the disk array side from 500GB to 600GB but this change was
>> not reflected on oVirt nor vm side.
>>
>> How is direct lun resizing handled in oVirt?
>>
>> Cheers,
>>
>> Jiri
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>> <http://lists.ovirt.org/mailman/listinfo/users>
>>
>>
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] direct lun resizing

2017-10-19 Thread Jiří Sléžka
Hi,

thanks a lot! I am going to try sugested workaround but tommorow :-)

Cheers, Jiri


On 10/19/2017 02:25 PM, Fred Rolland wrote:
> Hi,
> 
> Offline refresh of a direct lun's size is supported since oVirt 3.4 [1].
> Online refresh, however, is not yet supported [2].
> You can try the workaround posted on [2], comment 7.
> 
> [1] *Bug 1026868* <https://bugzilla.redhat.com/show_bug.cgi?id=1026868>
> -Direct LUN is not being updated after resizing
> [2] *Bug 1155275* <https://bugzilla.redhat.com/show_bug.cgi?id=1155275>
> -[RFE] Online update Direct LUN size to the Guest after LUN resize
> 
> On Thu, Oct 19, 2017 at 1:30 PM, Jiří Sléžka <jiri.sle...@slu.cz
> <mailto:jiri.sle...@slu.cz>> wrote:
> 
> Hi all,
> 
> one of our user uses direct lun inside one of his vm. Now he expanded
> this lun on the disk array side from 500GB to 600GB but this change was
> not reflected on oVirt nor vm side.
> 
> How is direct lun resizing handled in oVirt?
> 
> Cheers,
> 
> Jiri
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] direct lun resizing

2017-10-19 Thread Jiří Sléžka
Hi all,

one of our user uses direct lun inside one of his vm. Now he expanded
this lun on the disk array side from 500GB to 600GB but this change was
not reflected on oVirt nor vm side.

How is direct lun resizing handled in oVirt?

Cheers,

Jiri




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vmware ova import problem

2017-09-13 Thread Jiří Sléžka
Hi,

thanks for reply


On 09/12/2017 12:44 PM, Michal Skrivanek wrote:
> 
>> On 11 Sep 2017, at 14:12, Jiří Sléžka <jiri.sle...@slu.cz> wrote:
>>
>> Hi,
>>
>> today I tested vmware ova import for first time but unfortunately it
>> failed. (btw. it would be great to have a possibility to upload ova
>> directly from manager…)
> 
> in 4.1 you can only upload qcow disks, in future we will support complete OVA 
> (native oVirt’s OVA’s though)

good news :-)

>>
>> problem seems to be this (vdsm/import log)
>>
>> ...
>> libguestfs: trace: v2v: inspect_get_type = "linux"
>>   i_root = /dev/sda1
>>  i_type =
>> linux
>>  i_distro = debian
>> i_arch = i386
>>
>>   i_major_version = 9
>>  i_minor_version = 0
>>
>> i_package_format = deb
>>   i_package_management = apt
>>
>> i_product_name = 9.0
>>   i_product_variant = unknown
>>  i_uefi =
>> false
>>
>> ...
>> ...
>> ...
>> [  13.7] Converting 9.0 to run on KVM
>>   virt-v2v: error: virt-v2v is unable to
>> convert this guest type
>> (linux/debian)
>>   rm -rf '/var/tmp/ova.lB3mEN'
>>  rm -rf
>> '/var/tmp/null.kaX2uZ'
>> ...
>>
>> so is debian really unsupported to be imported fom vmware ova?
> 
> it is supported only in libguestfs 1.36+ which is released in EL 7.4

nice, I can't wait for CentOS7.4 release

>>
>> I believe this vm could run as is, even without v2v convert.
>>
>> It would be nice to have a possibility to bypass v2v process and import
>> appliance as is, just disk(s) and vm definition. Does it make sense?
> 
> the disk needs conversion, as well as changes to be able to boot (that’s the 
> part originally missing for debina-based guests)

It depends. In this case I converted vmdk disk to raw, created vm in
oVirt, dded raw image to this vm and I had to change just ethernet
interface name. It was ugly workaround but it is working. So for this
case it would be nice to have a possibility to bypass v2v :-) but ok,
this is very specific case.

Cheers,

Jiri Slezka

> 
> Thanks,
> michal
> 
>>
>> Cheers,
>>
>> Jiri Slezka
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vmware ova import problem

2017-09-11 Thread Jiří Sléžka
Hi,

today I tested vmware ova import for first time but unfortunately it
failed. (btw. it would be great to have a possibility to upload ova
directly from manager...)

problem seems to be this (vdsm/import log)

...
libguestfs: trace: v2v: inspect_get_type = "linux"
   i_root = /dev/sda1
  i_type =
linux
  i_distro = debian
 i_arch = i386

   i_major_version = 9
  i_minor_version = 0

i_package_format = deb
   i_package_management = apt

i_product_name = 9.0
   i_product_variant = unknown
  i_uefi =
false

...
...
...
[  13.7] Converting 9.0 to run on KVM
   virt-v2v: error: virt-v2v is unable to
convert this guest type
(linux/debian)
   rm -rf '/var/tmp/ova.lB3mEN'
  rm -rf
'/var/tmp/null.kaX2uZ'
...

so is debian really unsupported to be imported fom vmware ova?

I believe this vm could run as is, even without v2v convert.

It would be nice to have a possibility to bypass v2v process and import
appliance as is, just disk(s) and vm definition. Does it make sense?

Cheers,

Jiri Slezka



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vms stucked after migrate from 4.1.0 to 4.1.1 host

2017-03-28 Thread Jiří Sléžka
On 03/28/2017 01:50 PM, Michal Skrivanek wrote:
> 
>> On 28 Mar 2017, at 13:41, Jiří Sléžka <jiri.sle...@slu.cz> wrote:
>>
>> On 03/28/2017 12:34 AM, Jiří Sléžka wrote:
>>> Hi all,
>>>
>>> I have just upgraded ovirt manager from 4.1.0 to 4.1.1, then I have
>>> upgraded one host. After reboot and activation of this host some vms
>>> started to migrate here.
>>>
>>> Some time after migration CPU of this vms go to 100% and vms become
>>> unreachable.
>>>
>>> There is /var/log/libvirt/qemu/hypnos.log (hypnos is one of this vms)
>>> https://pastebin.com/U30xfBMJ
>>>
>>> Powering off and starting again solve this but I would like to have a
>>> glue what is happening.
>>>
>>> I suspect this line
>>>
>>> 2017-03-27T22:09:23.746710Z qemu-kvm: warning: TSC frequency mismatch
>>> between VM (2600031 kHz) and host (2100024 kHz), and TSC scaling unavailable
>>>
>>> Original host uses "AMD Opteron(TM) Processor 6238" with "cpu MHz:
>>> 2600.113" and upgraded host uses "AMD Opteron(tm) Processor 6172" with
>>> "cpu MHz: 2100.097".
>>
>> It looks like it isn't problem with 4.1.1 at all.
>>
>> There is just missing tsc_scale cpu flag on our older AMD CPUs...
>>
>> http://unix.stackexchange.com/questions/296636/100-cpu-utilisation-and-hang-after-virsh-migrate
>>
>> This is probably unsolvable hw problem, right?
> 
> And this is without host-model CPU type?
> That 6172 should be Opteron G3…is that what you have set in your Cluster?

Yes, Cluster CPU type is set to AMD Opteron G3. 6172 should be G3 (we
have 3 of 4 hosts in this cluster with 6172 CPU), 6238 is probably G4
but forced (I hoped) to G3.

Problem occurs only when migrating from 6238 CPU to 6172.

Cheers,

Jiri

> 
> Thanks,
> michal
> 
>>
>> Cheers,
>>
>> Jiri
>>
>>>
>>> Cheers,
>>>
>>> Jiri
>>>
>>>
>>>
>>> ___
>>> 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
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vms stucked after migrate from 4.1.0 to 4.1.1 host

2017-03-28 Thread Jiří Sléžka
On 03/28/2017 12:34 AM, Jiří Sléžka wrote:
> Hi all,
> 
> I have just upgraded ovirt manager from 4.1.0 to 4.1.1, then I have
> upgraded one host. After reboot and activation of this host some vms
> started to migrate here.
> 
> Some time after migration CPU of this vms go to 100% and vms become
> unreachable.
> 
> There is /var/log/libvirt/qemu/hypnos.log (hypnos is one of this vms)
> https://pastebin.com/U30xfBMJ
> 
> Powering off and starting again solve this but I would like to have a
> glue what is happening.
> 
> I suspect this line
> 
> 2017-03-27T22:09:23.746710Z qemu-kvm: warning: TSC frequency mismatch
> between VM (2600031 kHz) and host (2100024 kHz), and TSC scaling unavailable
> 
> Original host uses "AMD Opteron(TM) Processor 6238" with "cpu MHz:
> 2600.113" and upgraded host uses "AMD Opteron(tm) Processor 6172" with
> "cpu MHz: 2100.097".

It looks like it isn't problem with 4.1.1 at all.

There is just missing tsc_scale cpu flag on our older AMD CPUs...

http://unix.stackexchange.com/questions/296636/100-cpu-utilisation-and-hang-after-virsh-migrate

This is probably unsolvable hw problem, right?

Cheers,

Jiri

> 
> Cheers,
> 
> Jiri
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 




smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vms stucked after migrate from 4.1.0 to 4.1.1 host

2017-03-27 Thread Jiří Sléžka
Hi all,

I have just upgraded ovirt manager from 4.1.0 to 4.1.1, then I have
upgraded one host. After reboot and activation of this host some vms
started to migrate here.

Some time after migration CPU of this vms go to 100% and vms become
unreachable.

There is /var/log/libvirt/qemu/hypnos.log (hypnos is one of this vms)
https://pastebin.com/U30xfBMJ

Powering off and starting again solve this but I would like to have a
glue what is happening.

I suspect this line

2017-03-27T22:09:23.746710Z qemu-kvm: warning: TSC frequency mismatch
between VM (2600031 kHz) and host (2100024 kHz), and TSC scaling unavailable

Original host uses "AMD Opteron(TM) Processor 6238" with "cpu MHz:
2600.113" and upgraded host uses "AMD Opteron(tm) Processor 6172" with
"cpu MHz: 2100.097".

Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-02-01 Thread Jiří Sléžka

Hi,


On 02/01/2017 04:06 PM, Ondra Machacek wrote:

On Wed, Feb 1, 2017 at 3:27 PM, Jiří Sléžka <jiri.sle...@slu.cz> wrote:

Hi Ondra,


I am testing oVirt ansible modules and I am stucked in this simple scenario.
I would like to create a new vm with new bootable disk attached to it.

I wrote this simple role for it

http://pastebin.com/XwwyCH4b

when I run it I got


$ ansible-playbook site.yml

PLAY [create ovirt vm]
*

TASK [setup]
***
ok: [localhost]

TASK [create_vm : ovirt_auth]
**
ok: [localhost]

TASK [create_vm : ovirt_disks]
*
changed: [localhost]

TASK [create_vm : ovirt_vms]
***
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg":
"Fault reason is \"Operation Failed\". Fault detail is \"[Cannot run VM
without at least one bootable disk.\nAlternatives:\n- Create a disk for this
VM, and rerun the VM.\n- Change the boot sequence using the Edit VM command
(Boot Option Sub-Tab).\n- Use the 'Run Once' command to select a different
boot option and rerun the VM.]\". HTTP response code is 409."}
to retry, use: --limit
@/home/dron/#work/#cit/ovirt/ansible/ovirt/site.retry

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


In the manager I can see the is disk successfully created, vm too, disk is
attached to vm but not activated.

When I activate it manually, I am able to run this vm.

Any ideas how can I achieve this via ansible?


Yes, this is bug which was fixed[1], but wasn't backported to 2.2.

But since you are using role you are good.
Just download lastest vms module[2] and put it into the library directory,
which you must create in your role, for example:

 $ mkdir roles/vm-create-role/library
 $ cd roles/vm-create-role/library
 $ wget 
https://raw.githubusercontent.com/ansible/ansible-modules-extras/devel/cloud/ovirt/ovirt_vms.py


yes, it is the way.

I have downloaded devel version of module, put it into library 
directory. It was correctly used by ansible but it failed with an error


"msg": "'NoneType' object has no attribute 'append'"

never mind, I will wait till Ansible 2.3 and then I'll try it once more.

Cheers,

Jiri



Then it should work OK, at least I think the modules in library has
higher priority.
If not then renaming that module should work, for example:

 $ mv ovirt_vms.py ovirt_vms_dev.py

and then use it as:

tasks:
  ...
  - name: Create vm
ovirt_vms_dev:
  name: vm0
  ...

Btw. in ~month there should be Ansible 2.3 release, with has much more features,
and also will have this issue fixed.

[1] https://github.com/ansible/ansible-modules-extras/pull/3322
[2] 
https://raw.githubusercontent.com/ansible/ansible-modules-extras/devel/cloud/ovirt/ovirt_vms.py




Thanks in advance,

Jiri Slezka





On 12/02/2016 02:12 PM, Ondra Machacek wrote:


Hello all,

I would like to kindly ask everyone who is Ansible or oVirt user for
testing of the new Ansible oVirt modules. For everyone who is familiar
with the Ansible and oVirt, this[1] describes the steps you need to do,
to setup oVirt modules library and start using those modules (Most of
those modules will be available in Ansible 2.3, some of them are already
in 2.2).

If you have any issue setting this up, please contact me, I will do the
best to help you.

If you have an issue, which you think is a bug, please open an issue
here[2]. Please note that Ansible is merging it's repositories, so since
next week it will actually be stored here[3]. If you are missing
anything please open an issue as well, or just contact me, and I will
do fix it. You are also very welcome to sent PR with fixes.

For those who don't have testing environment which can test against,
I've created an Vagrant project which will deploy you the oVirt instance
using Ansible playbooks. You can find how to use it here[4].

The repository also contains few examples[5], so you don't have to
copy-paste them from the source.

Thanks all for reading this and any feedback,
Ondra

[1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1
[2] https://github.com/ansible/ansible-modules-extras/issues
[3] https://github.com/ansible/ansible
[4] https://github.com/machacekondra/ovirt-tests
[5] https://github.com/machacekondra/ovirt-tests/tree/master/examples
___
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






smime.p7s
Description: S/MIME Cryptographic Signatur

Re: [ovirt-users] Request for oVirt Ansible modules testing feedback

2017-02-01 Thread Jiří Sléžka

Hi Ondra,


I am testing oVirt ansible modules and I am stucked in this simple 
scenario. I would like to create a new vm with new bootable disk 
attached to it.


I wrote this simple role for it

http://pastebin.com/XwwyCH4b

when I run it I got


$ ansible-playbook site.yml

PLAY [create ovirt vm] 
*


TASK [setup] 
***

ok: [localhost]

TASK [create_vm : ovirt_auth] 
**

ok: [localhost]

TASK [create_vm : ovirt_disks] 
*

changed: [localhost]

TASK [create_vm : ovirt_vms] 
***
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": 
"Fault reason is \"Operation Failed\". Fault detail is \"[Cannot run VM 
without at least one bootable disk.\nAlternatives:\n- Create a disk for 
this VM, and rerun the VM.\n- Change the boot sequence using the Edit VM 
command (Boot Option Sub-Tab).\n- Use the 'Run Once' command to select a 
different boot option and rerun the VM.]\". HTTP response code is 409."}
	to retry, use: --limit 
@/home/dron/#work/#cit/ovirt/ansible/ovirt/site.retry


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



In the manager I can see the is disk successfully created, vm too, disk 
is attached to vm but not activated.


When I activate it manually, I am able to run this vm.

Any ideas how can I achieve this via ansible?


Thanks in advance,

Jiri Slezka




On 12/02/2016 02:12 PM, Ondra Machacek wrote:

Hello all,

I would like to kindly ask everyone who is Ansible or oVirt user for
testing of the new Ansible oVirt modules. For everyone who is familiar
with the Ansible and oVirt, this[1] describes the steps you need to do,
to setup oVirt modules library and start using those modules (Most of
those modules will be available in Ansible 2.3, some of them are already
in 2.2).

If you have any issue setting this up, please contact me, I will do the
best to help you.

If you have an issue, which you think is a bug, please open an issue
here[2]. Please note that Ansible is merging it's repositories, so since
next week it will actually be stored here[3]. If you are missing
anything please open an issue as well, or just contact me, and I will
do fix it. You are also very welcome to sent PR with fixes.

For those who don't have testing environment which can test against,
I've created an Vagrant project which will deploy you the oVirt instance
using Ansible playbooks. You can find how to use it here[4].

The repository also contains few examples[5], so you don't have to
copy-paste them from the source.

Thanks all for reading this and any feedback,
Ondra

[1] https://github.com/machacekondra/ovirt-tests/releases/tag/0.1
[2] https://github.com/ansible/ansible-modules-extras/issues
[3] https://github.com/ansible/ansible
[4] https://github.com/machacekondra/ovirt-tests
[5] https://github.com/machacekondra/ovirt-tests/tree/master/examples
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] is there any technical guide for 3rd party appliance developers?

2017-01-04 Thread Jiří Sléžka

Hi,

it is just idea. It would be nice if there were some guide for 3rd party 
appliance developers which would describe how to prepare their 
appliances to run on oVirt without problem.


I am just oVirt/RHV administrator but we often face the situation we 
would like to run some appliance on oVirt/RHV but it is not officially 
supported (like VmWare). It would be great benefit for oVirt if you 
could break the wall of concerns and encourage 3rd party developers to 
make their appliances also fo oVirt/RHV.



Cheers,

Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem with changing cluster compatibility version to 4.0

2016-10-26 Thread Jiří Sléžka

Hello,


There were one vm with Video Type = CYRRUS and Graphics protocol = SPICE 
(which is probably illegal combination). I have changed it do QXL, SPICE 
(Single PCI is checked) and I was able to change cluster compatibility 
level without problems.



Thanks a lot for advice!

Cheers, Jiri



On 10/25/2016 11:22 AM, Michal Skrivanek wrote:


On 17 Oct 2016, at 15:31, Jiří Sléžka <jiri.sle...@slu.cz 
<mailto:jiri.sle...@slu.cz>> wrote:


Hello,


I am trying to change cluster compatibility version on one of our 
clusters in our oVirt 4.0.4.4-1.el7.centos installation and I am 
getting this error:



Error while executing action Edit Cluster properties: Internal Engine 
Error



(btw. it would be realy nice make all texts/logs in manager copyable 
in some easy way (simple ctrl+c does not usually work))



In engine.log I found this interesting lines


2016-10-17 15:02:50,415 WARN 
[org.ovirt.engine.core.bll.UpdateVmCommand] (default task-51) 
[2921f45e] Validation of action 'UpdateVm' failed for user user@auth. 
Reasons: 
VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_SINGLE_DEVICE_DISPLAY_TYPE
2016-10-17 15:02:50,417 ERROR 
[org.ovirt.engine.core.bll.UpdateVmCommand] (default task-51) 
[2921f45e] Transaction rolled-back for command 
'org.ovirt.engine.core.bll.UpdateVmCommand'.
2016-10-17 15:02:50,417 ERROR 
[org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-51) 
[2921f45e] Transaction rolled-back for command 
'org.ovirt.engine.core.bll.UpdateClusterCommand'.
2016-10-17 15:02:50,421 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-51) [2921f45e] Correlation ID: 11011a71, Call Stack: 
null, Custom Event ID: -1, Message: Failed to update Host cluster 
(User: user@auth)
2016-10-17 15:02:50,422 INFO 
[org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-51) 
[2921f45e] Lock freed to object 'EngineLock:{exclusiveLocks='null', 
sharedLocks='[27161d3d-01ef-4446-aa7a-be5483fdbdf5=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 0323b12f-a515-4759-9bae-cf53336a7756=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 1c6d0ce4-bdcd-4f77-906b-65e4f6415cc3=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 8240ebe8-388c-4a5b-996e-f9e5c77e6375=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, e6fab9a1-8f45-4565-8483-363137536334=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 7a5de3e0-ecbd-4ed6-bf98-2e7a45e96027=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 6db37ee2-0ff0-4642-9907-666376b13bda=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, dccb8bc9-4760-487b-a2bf-100906a50502=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, ea63bea8-f41d-4878-814e-fa62b123a89f=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 885b9641-fda5-4e90-889e-488b858bc37b=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 886a6b86-1bf9-43a0-b7ee-2c43640f8f42=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, f4fa4a7e-d0eb-44d8-8ed3-00c2b2705cb4=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 9d4673af-6fba-4b62-bdbf-0864dac65941=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 5ef8560e-bf35-4dfb-8677-3b444fcb9a5d=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 2dfc397f-7230-4517-b143-0bec13b3cd55=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, f9d1161f-0d7e-4da5-b45f-1796f87ddab5=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 2b0afe1d-1196-4c99-ab61-43e3764fe1ac=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 08016bb0-e638-431c-a429-0a8f3272632b=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 0a4596ec-fa40-46a1-9d2a-7dcaf0127136=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 9f0bb9a0-374f-41ec-9bec-e35fec4275a1=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 606f3257-7d38-405f-8fc9-b56ff6d36684=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 64976d4e-a64d-453b-8bcb-514c687ae208=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 833ebee2-7e8f-480c-877d-3bbdbf78c7ca=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 7dcabc9d-0d61-4bb0-a532-39655caa900d=<VM, 
ACTION_TYPE_FAILED_CLUSTER_IS_BEING_UPDATED$clusterName 
Math-IBM_BladeS>, 9eaceca3-4e48-4bde-8cfb-024219d226a9=<VM, 
ACTION_TYPE_

[ovirt-users] ovirt list's smtp on blacklist?

2016-10-17 Thread Jiří Sléžka

Hello,

it looks like mailserver which serving users@ovirt.org is on blacklist.

line from our smtp server log...

Oct 17 15:31:25 hermes postfix/smtpd[14082]: NOQUEUE: reject: RCPT from 
lists.ovirt.org[2600:3c01::f03c:91ff:fe93:4b0d]: 554 5.7.1 Service 
unavailable; Client host [2600:3c01::f03c:91ff:fe93:4b0d] blocked using 
sbl.spamhaus.org; https://www.spamhaus.org/sbl/query/SBLCSS; 
from= to= proto=ESMTP 
helo=



Cheers,
Jiri



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] problem with changing cluster compatibility version to 4.0

2016-10-17 Thread Jiří Sléžka

Hello,


I am trying to change cluster compatibility version on one of our 
clusters in our oVirt 4.0.4.4-1.el7.centos installation and I am getting 
this error:



Error while executing action Edit Cluster properties: Internal Engine Error


(btw. it would be realy nice make all texts/logs in manager copyable in 
some easy way (simple ctrl+c does not usually work))



In engine.log I found this interesting lines


2016-10-17 15:02:50,415 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] 
(default task-51) [2921f45e] Validation of action 'UpdateVm' failed for 
user user@auth. Reasons: 
VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_SINGLE_DEVICE_DISPLAY_TYPE
2016-10-17 15:02:50,417 ERROR 
[org.ovirt.engine.core.bll.UpdateVmCommand] (default task-51) [2921f45e] 
Transaction rolled-back for command 
'org.ovirt.engine.core.bll.UpdateVmCommand'.
2016-10-17 15:02:50,417 ERROR 
[org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-51) 
[2921f45e] Transaction rolled-back for command 
'org.ovirt.engine.core.bll.UpdateClusterCommand'.
2016-10-17 15:02:50,421 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-51) [2921f45e] Correlation ID: 11011a71, Call Stack: null, 
Custom Event ID: -1, Message: Failed to update Host cluster (User: 
user@auth)
2016-10-17 15:02:50,422 INFO 
[org.ovirt.engine.core.bll.UpdateClusterCommand] (default task-51) 
[2921f45e] Lock freed to object 'EngineLock:{exclusiveLocks='null', 
sharedLocks='[27161d3d-01ef-4446-aa7a-be5483fdbdf5=, 0323b12f-a515-4759-9bae-cf53336a7756=, 1c6d0ce4-bdcd-4f77-906b-65e4f6415cc3=, 8240ebe8-388c-4a5b-996e-f9e5c77e6375=, e6fab9a1-8f45-4565-8483-363137536334=, 7a5de3e0-ecbd-4ed6-bf98-2e7a45e96027=, 6db37ee2-0ff0-4642-9907-666376b13bda=, dccb8bc9-4760-487b-a2bf-100906a50502=, ea63bea8-f41d-4878-814e-fa62b123a89f=, 885b9641-fda5-4e90-889e-488b858bc37b=, 886a6b86-1bf9-43a0-b7ee-2c43640f8f42=, f4fa4a7e-d0eb-44d8-8ed3-00c2b2705cb4=, 9d4673af-6fba-4b62-bdbf-0864dac65941=, 5ef8560e-bf35-4dfb-8677-3b444fcb9a5d=, 2dfc397f-7230-4517-b143-0bec13b3cd55=, f9d1161f-0d7e-4da5-b45f-1796f87ddab5=, 2b0afe1d-1196-4c99-ab61-43e3764fe1ac=, 08016bb0-e638-431c-a429-0a8f3272632b=, 0a4596ec-fa40-46a1-9d2a-7dcaf0127136=, 9f0bb9a0-374f-41ec-9bec-e35fec4275a1=, 606f3257-7d38-405f-8fc9-b56ff6d36684=, 64976d4e-a64d-453b-8bcb-514c687ae208=, 833ebee2-7e8f-480c-877d-3bbdbf78c7ca=, 7dcabc9d-0d61-4bb0-a532-39655caa900d=, 9eaceca3-4e48-4bde-8cfb-024219d226a9=]'}'



It looks to me like one of our vm has 
"ILLEGAL_SINGLE_DEVICE_DISPLAY_TYPE" set which fail upgrade. But which 
one and which setting correspond to this? :-)



I have no idea if changing cluster compatibility version should fail due 
this error. Should I fill Bugreport for this?



Cheers,

Jiri






smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt python sdk and starting stateless vm

2016-09-26 Thread Jiří Sléžka

Dne 26.9.2016 v 13:07 Ondra Machacek napsal(a):

On 09/26/2016 12:48 PM, Jiří Sléžka wrote:

Dne 26.9.2016 v 12:10 Ondra Machacek napsal(a):

On 09/26/2016 11:41 AM, Jiří Sléžka wrote:

Hello,

I am testing some from scratch deployment so I created a stateless vm
and wrote small python script to shutdown and start the vm again (to
revert vm state to starting point).

http://pastebin.com/b5yTFEkN

problem is that after stopping the vm there is a running operation of
snapshot removal and when script try to start the vm it fails with

Failed to Start VM:

status: 409
reason: Conflict
detail: Cannot run VM. Related operation is currently in progress.
Please try again later.

Is there a cleaner way than checking status and looping or waiting some
time to end of this operation? (desclaimer: I am new to python so
please
don't hit me :-)


Unfortunatelly, no. You always have to poll the API to check the status
of the operation.


ok, I will


Just for info, we have new Python SDK version 4[1]. Python SDK version
3 will be removed someday in future. So you would have to migrate your
scripts, so maybe better to write it in version 4 now, then rewrite it
later.


thanks for link. Unfortunatelly it looks like there is only 3.6.3.0
version of ovirt-engine-sdk-python in Fedora24 repo at this time (and
ovirt-engine-sdk-python-3.6.9.1-1.fc23.noarch.rpm in /ovirt-4.0 repo for
fc23)


It has different name - python-ovirt-engine-sdk4.

http://resources.ovirt.org/pub/ovirt-4.0/rpm/fc23/x86_64/python-ovirt-engine-sdk4-4.0.1-1.fc23.x86_64.rpm


+1

:-)







And also, if you don't know Python, but you know Ansible, you can use
Ansible VMs module[2].


thanks once more. I am using ansible and I will try ovirt module for
sure (but python is on my todo list as well ;-)

Cheers, Jiri



[1] - https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk
[2] - http://docs.ansible.com/ansible/ovirt_vms_module.html








Cheers, Jiri



___
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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt python sdk and starting stateless vm

2016-09-26 Thread Jiří Sléžka

Dne 26.9.2016 v 12:10 Ondra Machacek napsal(a):

On 09/26/2016 11:41 AM, Jiří Sléžka wrote:

Hello,

I am testing some from scratch deployment so I created a stateless vm
and wrote small python script to shutdown and start the vm again (to
revert vm state to starting point).

http://pastebin.com/b5yTFEkN

problem is that after stopping the vm there is a running operation of
snapshot removal and when script try to start the vm it fails with

Failed to Start VM:

status: 409
reason: Conflict
detail: Cannot run VM. Related operation is currently in progress.
Please try again later.

Is there a cleaner way than checking status and looping or waiting some
time to end of this operation? (desclaimer: I am new to python so please
don't hit me :-)


Unfortunatelly, no. You always have to poll the API to check the status
of the operation.


ok, I will


Just for info, we have new Python SDK version 4[1]. Python SDK version
3 will be removed someday in future. So you would have to migrate your
scripts, so maybe better to write it in version 4 now, then rewrite it
later.


thanks for link. Unfortunatelly it looks like there is only 3.6.3.0 
version of ovirt-engine-sdk-python in Fedora24 repo at this time (and 
ovirt-engine-sdk-python-3.6.9.1-1.fc23.noarch.rpm in /ovirt-4.0 repo for 
fc23)



And also, if you don't know Python, but you know Ansible, you can use
Ansible VMs module[2].


thanks once more. I am using ansible and I will try ovirt module for 
sure (but python is on my todo list as well ;-)


Cheers, Jiri



[1] - https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk
[2] - http://docs.ansible.com/ansible/ovirt_vms_module.html








Cheers, Jiri



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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt python sdk and starting stateless vm

2016-09-26 Thread Jiří Sléžka

Hello,

I am testing some from scratch deployment so I created a stateless vm 
and wrote small python script to shutdown and start the vm again (to 
revert vm state to starting point).


http://pastebin.com/b5yTFEkN

problem is that after stopping the vm there is a running operation of 
snapshot removal and when script try to start the vm it fails with


Failed to Start VM:

status: 409
reason: Conflict
detail: Cannot run VM. Related operation is currently in progress. 
Please try again later.


Is there a cleaner way than checking status and looping or waiting some 
time to end of this operation? (desclaimer: I am new to python so please 
don't hit me :-)



Cheers, Jiri

<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-29 Thread Jiří Sléžka
Thanks for info, I am looking forward to 4.0.1 or 4.0.2. This feature 
will help a lot!


Cheers, Jiri



On 06/29/2016 09:48 AM, Michal Skrivanek wrote:



On 28 Jun 2016, at 17:37, Jiří Sléžka <jiri.sle...@slu.cz> wrote:

Dne 28.6.2016 v 17:19 Alexander Wels napsal(a):

On Tuesday, June 28, 2016 05:11:14 PM Jiří Sléžka wrote:

I forgot attach the screenshot...

Jiri



The label that has the dotted line under it should have a tooltip explaining
the issue. But some of the most likely issues are:


you are righ, there is a tooltip explaining tha I have to shutdown all vms before 
changing compatibility version (I suppose this is valid only for 3->4 upgrade 
because minor upgrades were possible without downtime)


currently for all upgrades, not just 3->4, that is “new” in 3.6.7
it will be a whole lot easier after 
https://bugzilla.redhat.com/show_bug.cgi?id=1348907 gets in




1. DC is at 3.6 and you can't have 4.0 clusters in 3.6 DC.


but when I try to change DC version from 3.6 to 4.0 I got

"Error while executing action: Cannot update Data Center compatibility version to a 
value that is greater than its Cluster's version. The following clusters should be 
upgraded CIT-oVirt."


2. Active host on 3.6 in the cluster. You can put the hosts in maintenance and
upgrade the cluster, you will obviously also have to upgrade the hosts after
that before you can activate them again.


ok, thanks for help. I have to schedule maintenance window.

Cheers, Jiri





Dne 28.6.2016 v 17:06 Jiří Sléžka napsal(a):

Hi all,

I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except
custom certificate problem which is described and solved here
https://bugzilla.redhat.com/show_bug.cgi?id=1336838).

Then I upgraded all hosts in cluster and I would like to change cluster
compatibility level but it fails in a way there is a red border around
"Compatibility Version" dropdown box but no explanation why. There are
no entries in logs...

What are prerequisities to change cluster compatibility level to 4.0? Do
I missing something?

Engine (standalone) and hosts are CentOS 7.2

btw. dashboard looks really nice!

Cheers, Jiri


___
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







smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-28 Thread Jiří Sléžka

Dne 28.6.2016 v 17:19 Alexander Wels napsal(a):

On Tuesday, June 28, 2016 05:11:14 PM Jiří Sléžka wrote:

I forgot attach the screenshot...

Jiri



The label that has the dotted line under it should have a tooltip explaining
the issue. But some of the most likely issues are:


you are righ, there is a tooltip explaining tha I have to shutdown all 
vms before changing compatibility version (I suppose this is valid only 
for 3->4 upgrade because minor upgrades were possible without downtime)



1. DC is at 3.6 and you can't have 4.0 clusters in 3.6 DC.


but when I try to change DC version from 3.6 to 4.0 I got

"Error while executing action: Cannot update Data Center compatibility 
version to a value that is greater than its Cluster's version. The 
following clusters should be upgraded CIT-oVirt."



2. Active host on 3.6 in the cluster. You can put the hosts in maintenance and
upgrade the cluster, you will obviously also have to upgrade the hosts after
that before you can activate them again.


ok, thanks for help. I have to schedule maintenance window.

Cheers, Jiri





Dne 28.6.2016 v 17:06 Jiří Sléžka napsal(a):

Hi all,

I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except
custom certificate problem which is described and solved here
https://bugzilla.redhat.com/show_bug.cgi?id=1336838).

Then I upgraded all hosts in cluster and I would like to change cluster
compatibility level but it fails in a way there is a red border around
"Compatibility Version" dropdown box but no explanation why. There are
no entries in logs...

What are prerequisities to change cluster compatibility level to 4.0? Do
I missing something?

Engine (standalone) and hosts are CentOS 7.2

btw. dashboard looks really nice!

Cheers, Jiri


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




<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-28 Thread Jiří Sléžka

I forgot attach the screenshot...

Jiri

Dne 28.6.2016 v 17:06 Jiří Sléžka napsal(a):

Hi all,

I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except
custom certificate problem which is described and solved here
https://bugzilla.redhat.com/show_bug.cgi?id=1336838).

Then I upgraded all hosts in cluster and I would like to change cluster
compatibility level but it fails in a way there is a red border around
"Compatibility Version" dropdown box but no explanation why. There are
no entries in logs...

What are prerequisities to change cluster compatibility level to 4.0? Do
I missing something?

Engine (standalone) and hosts are CentOS 7.2

btw. dashboard looks really nice!

Cheers, Jiri


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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] cannot change cluster compatibility version from 3.6 to 4.0

2016-06-28 Thread Jiří Sléžka

Hi all,

I have just upgraded engine from 3.6.6 to 4.0 (all worked fine except 
custom certificate problem which is described and solved here 
https://bugzilla.redhat.com/show_bug.cgi?id=1336838).


Then I upgraded all hosts in cluster and I would like to change cluster 
compatibility level but it fails in a way there is a red border around 
"Compatibility Version" dropdown box but no explanation why. There are 
no entries in logs...


What are prerequisities to change cluster compatibility level to 4.0? Do 
I missing something?


Engine (standalone) and hosts are CentOS 7.2

btw. dashboard looks really nice!

Cheers, Jiri
<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to automate the ovirt host deployment?

2016-05-31 Thread Jiří Sléžka

Dne 30.5.2016 v 22:22 Arman Khalatyan napsal(a):

Sorry for the previous empty email.

I was testing foreman plugins for ovirt deploy. They are some how
broken. The foreman-install --enable-ovirt-provisioning-plugin breaks
the foreman installation. I need to dig deeper:(


hello,

I had similar problem but guys from foreman's irc channel told me that 
ovirt-provisioning-plugin is broken (has no active developers) but is 
not needed. All you need is ovirt compute node which works well and is 
supported.


cheers, Jiri



Am 28.05.2016 4:07 nachm. schrieb "Yaniv Kaul" >:

>




On Sat, May 28, 2016 at 12:50 PM, Arman Khalatyan > wrote:

>>


Thank you for the hint. I will try next week.
Foreman looks quite complex:)



I think this is an excellent suggestion - Foreman, while may take a

while to set up, will also be extremely useful to provision and manage
not only hosts, but VMs later on!




>> I would prefer simple Python script with 4 lines: add, install,
setup networks and activate.





You can look at ovirt-system-tests , the testing suite for oVirt, on

Python code for the above.

Y.






Am 27.05.2016 6:51 nachm. schrieb "Karli Sjöberg"

>:

>>>



Den 27 maj 2016 18:41 skrev Arman Khalatyan >:

>
> Hi, I am looking some method to automate the host deployments in a

cluster environment.

> Assuming we have 20 nodes with centos 7 eth0/eth1 configured. Is

it possible to automate installation with ovirt-sdk?

> Are there some examples  ?

You could do that, or look into full life cycle management with The

Foreman.


/K

>
> Thanks,
> Arman.



___
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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ui errors in manager

2016-02-08 Thread Jiří Sléžka

Hello,

after upgrading to 3.6.2.6-1.el7.centos (from 3.6.1) I am getting 
occasionally this error in manager UI



Uncaught exception occurred. Please try reloading the page. Details: 
(TypeError) __gwt$exception: : d is null

Please have your administrator check the UI logs


Corresponding error in /var/log/ovirt-engine/ui.log is



2016-02-08 12:51:01,954 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-61) [] Permutation name: 820D83469A671E575623913A3B35130C
2016-02-08 12:51:01,954 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-61) [] Uncaught exception: : 
com.google.gwt.event.shared.UmbrellaException: Exception caught: 
(TypeError)

 __gwt$exception: : d is null
at Unknown.ms(Unknown Source)   at Unknown.us(Unknown Source) 
 at Unknown.f3(Unknown Source)   at Unknown.i3(Unknown Source)   at 
Unknown.t2(Unknown Source)   at Unknown.evf(Unknown Source)  at 
Unknown.mcm(Unknown Source)  at Unknown.xcm(Unknown Source)  at 
Unknown.ivf(Unknown Source)  at Unknown.Ju(Unknown Source)   at 
Unknown.zu(Unknown Source)   at Unknown.bu(Unknown Source)   at 
Unknown.au(Unknown Source)   at Unknown._t/<(Unknown Source) at 
Unknown.anonymous(Unknown Source)Caused by: 
com.google.gwt.core.client.JavaScriptException: (TypeError)

 __gwt$exception: : d is null
at Unknown.nVg(Unknown Source)  at Unknown.E6s(Unknown Source) 
 at Unknown.J6s(Unknown Source)  at Unknown.L6s(Unknown Source)  at 
Unknown.DKr(Unknown Source)  at Unknown.oml(Unknown Source)  at 
Unknown.lIp(Unknown Source)  at Unknown.OHo(Unknown Source)  at 
Unknown.iHo(Unknown Source)  at Unknown.$Ho(Unknown Source)  at 
Unknown.uqo(Unknown Source)  at Unknown.Aro(Unknown Source)  at 
Unknown.kso(Unknown Source)  at Unknown.RPk(Unknown Source)  at 
Unknown.qcs(Unknown Source)  at Unknown.dvf(Unknown Source)  at 
Unknown.D2(Unknown Source)   ... 11 more


2016-02-08 12:51:06,573 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-45) [] Permutation name: 820D83469A671E575623913A3B35130C
2016-02-08 12:51:06,573 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-45) [] Uncaught exception: : 
com.google.gwt.core.client.JavaScriptException: (TypeError)

 __gwt$exception: : d is null
at Unknown.nVg(Unknown Source)  at Unknown.E6s(Unknown Source) 
 at Unknown.J6s(Unknown Source)  at Unknown.L6s(Unknown Source)  at 
Unknown.DKr(Unknown Source)  at Unknown.oml(Unknown Source)  at 
Unknown.eIp(Unknown Source)  at Unknown.dIp(Unknown Source)  at 
Unknown.OHo(Unknown Source)  at Unknown.iHo(Unknown Source)  at 
Unknown.$Ho(Unknown Source)  at Unknown.sro(Unknown Source)  at 
Unknown.jso(Unknown Source)  at Unknown.Mxo(Unknown Source)  at 
Unknown.WOn(Unknown Source)  at Unknown.ZOn(Unknown Source)  at 
Unknown.QSn(Unknown Source)  at Unknown.TSn(Unknown Source)  at 
Unknown.ORn(Unknown Source)  at Unknown.RRn(Unknown Source)  at 
Unknown.GIe(Unknown Source)  at Unknown.Cxk(Unknown Source)  at 
Unknown.s3(Unknown Source)   at Unknown.L3(Unknown Source)   at 
Unknown.Dvf/c.onreadystatechange<(Unknown Source)at 
Unknown.Yt(Unknown Source)   at Unknown.au(Unknown Source)   at 
Unknown._t/<(Unknown Source) at Unknown.anonymous(Unknown Source)



Any ideas what it is about or how to solve it?

Cheers,

Jiri


<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ui errors in manager

2016-02-08 Thread Jiří Sléžka

Hello,



after upgrading to 3.6.2.6-1.el7.centos (from 3.6.1) I am getting
occasionally this error in manager UI


Uncaught exception occurred. Please try reloading the page. Details:
(TypeError) __gwt$exception: : d is null
Please have your administrator check the UI logs



That means something happened in the UI that caused an uncaught exception. The
application then sends the exception to the backend. If you have debuginfo
packages installed it will de-obfuscate the exception into something human
readable. These packages are not installed by default as the debuginfo is
fairly large (~50M).

Run this command on the ENGINE to install the debuginfo packages.

yum install ovirt-engine-webadmin-portal-debuginfo ovirt-engine-userportal-
debuginfo

Once you have done that and the UI.log has some more interesting info please
open a bugzilla with the stack trace so we can fix the problem.


Thanks for info, I have debuginfo packages installed and I am trying to 
raise this error once more (with no luck at this time ;-)


As soon as I succeed I will report it to bugzilla

Regards,
Jiri




Thanks,
Alexander




Corresponding error in /var/log/ovirt-engine/ui.log is



2016-02-08 12:51:01,954 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-61) [] Permutation name: 820D83469A671E575623913A3B35130C
2016-02-08 12:51:01,954 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-61) [] Uncaught exception: :
com.google.gwt.event.shared.UmbrellaException: Exception caught:
(TypeError)
   __gwt$exception: : d is null
  at Unknown.ms(Unknown Source)   at Unknown.us(Unknown Source)
   at Unknown.f3(Unknown Source)   at Unknown.i3(Unknown Source)   at
Unknown.t2(Unknown Source)   at Unknown.evf(Unknown Source)  at
Unknown.mcm(Unknown Source)  at Unknown.xcm(Unknown Source)  at
Unknown.ivf(Unknown Source)  at Unknown.Ju(Unknown Source)   at
Unknown.zu(Unknown Source)   at Unknown.bu(Unknown Source)   at
Unknown.au(Unknown Source)   at Unknown._t/<(Unknown Source) at
Unknown.anonymous(Unknown Source)Caused by:
com.google.gwt.core.client.JavaScriptException: (TypeError)
   __gwt$exception: : d is null
  at Unknown.nVg(Unknown Source)  at Unknown.E6s(Unknown Source)
   at Unknown.J6s(Unknown Source)  at Unknown.L6s(Unknown Source)  at
Unknown.DKr(Unknown Source)  at Unknown.oml(Unknown Source)  at
Unknown.lIp(Unknown Source)  at Unknown.OHo(Unknown Source)  at
Unknown.iHo(Unknown Source)  at Unknown.$Ho(Unknown Source)  at
Unknown.uqo(Unknown Source)  at Unknown.Aro(Unknown Source)  at
Unknown.kso(Unknown Source)  at Unknown.RPk(Unknown Source)  at
Unknown.qcs(Unknown Source)  at Unknown.dvf(Unknown Source)  at
Unknown.D2(Unknown Source)   ... 11 more

2016-02-08 12:51:06,573 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-45) [] Permutation name: 820D83469A671E575623913A3B35130C
2016-02-08 12:51:06,573 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-45) [] Uncaught exception: :
com.google.gwt.core.client.JavaScriptException: (TypeError)
   __gwt$exception: : d is null
  at Unknown.nVg(Unknown Source)  at Unknown.E6s(Unknown Source)
   at Unknown.J6s(Unknown Source)  at Unknown.L6s(Unknown Source)  at
Unknown.DKr(Unknown Source)  at Unknown.oml(Unknown Source)  at
Unknown.eIp(Unknown Source)  at Unknown.dIp(Unknown Source)  at
Unknown.OHo(Unknown Source)  at Unknown.iHo(Unknown Source)  at
Unknown.$Ho(Unknown Source)  at Unknown.sro(Unknown Source)  at
Unknown.jso(Unknown Source)  at Unknown.Mxo(Unknown Source)  at
Unknown.WOn(Unknown Source)  at Unknown.ZOn(Unknown Source)  at
Unknown.QSn(Unknown Source)  at Unknown.TSn(Unknown Source)  at
Unknown.ORn(Unknown Source)  at Unknown.RRn(Unknown Source)  at
Unknown.GIe(Unknown Source)  at Unknown.Cxk(Unknown Source)  at
Unknown.s3(Unknown Source)   at Unknown.L3(Unknown Source)   at
Unknown.Dvf/c.onreadystatechange<(Unknown Source)at
Unknown.Yt(Unknown Source)   at Unknown.au(Unknown Source)   at
Unknown._t/<(Unknown Source) at Unknown.anonymous(Unknown Source)


Any ideas what it is about or how to solve it?

Cheers,

Jiri




<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Merry Christmas!

2015-12-24 Thread Jiří Sléžka

On 12/24/2015 10:44 AM, Roy Golan wrote:



On Thu, Dec 24, 2015 at 10:49 AM, Karli Sjöberg > wrote:

And a happy new year, from Sweden!

/K


Merry Christmas and a happy new year, list :)


I also wish you merry xmas and happy new year!


btw. upgrade from 3.5.5 to 3.6.1 was easy and without any problem :-)

Thanks oVirt community!




___
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






smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] missing glusterfs support in hosted engine appliance

2015-11-11 Thread Jiří Sléžka

Hello,


I am playing with oVirt3.6 hosted engine on glusterfs. Installation
seems to work without problems but after login to manager it looks
like whole "volumes" tab is missing and also settings regarding
gluster service (also virt service) in cluster edit window...

I use CentOS7.1 on both hosts and hosted engine was deployed from
appliance in ovirt repo.

Also when I try to add a new storage domain (data, glusterfs) I get
error

Operation Canceled

Error while executing action Add Storage Connection: Internal Engine
Error


Here is engine.log

http://pastebin.com/MB3CaCDx


I can see this nice error...

"The connection with details '10.224.102.91:/vol5-strip2-rep2'
failed because of error code '480' and error message is: 480"

...but have no idea what does it mean :-)



"Gluster volume replica count is not supported"

(taken from https://github.com/oVirt/vdsm/search?utf8=%E2%9C%93=480 )

Can you make sure you have a replica count of 3 on your Gluster?


as I red in another thread it looks like in 3.6 is supported gluster 
volume only in replica 3 setup.


I am using replica 3 for hosted engine but for data I tried to connect 
"stripped-replicated" volume (replica 2).


It looks like I could try modify supported replica count in vdsm config 
to solve this (this is just my testing, not production).


But what about missing "Volumes" tab in manager?


Thanks,

Jiri Slezka





Y.


Any suggestions?

Cheers, Jiri Slezka


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







smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to remove orphaned image

2015-10-16 Thread Jiří Sléžka

Hi,

it took me awhile to realize that in my case is removing the orphaned 
image as easy as


vdsClient -s 0 deleteImage "088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"


You have to run it on SPM host

It returns job UUID, then you can grep your vdsm.log to see what happened.

anyway, orphaned images feature would be still useful ;-)

Cheers,
Jiri



Is the image located under the same storage pool the host is currently
connected to?
You can check the current connected storage pool by the following:
# vdsClient -s 0 getConnectedStoragePoolsList


yes, it is located on the same storage pool

vdsClient -s 0 getConnectedStoragePoolsList
0002-0002-0002-0002-02b9

orphaned image info is

vdsClient -s 0 getVolumeInfo "088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"
"0681822f-3ac8-473b-95ce-380f8ab4de06"

 status = OK
 domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
 capacity = 322122547200
 voltype = LEAF
 description =
 parent = ----
 format = RAW
 image = be5c56de-6a22-4d1a-8579-f0f5d501d90c
 uuid = 0681822f-3ac8-473b-95ce-380f8ab4de06
 disktype = 2
 legality = LEGAL
 mtime = 0
 apparentsize = 322122547200
 truesize = 322122547200
 type = PREALLOCATED
 children = []
 pool =
 ctime = 1440611370


Cheers,

Jiri





On Fri, Oct 9, 2015 at 12:45 PM, Jiří Sléžka <jiri.sle...@slu.cz
<mailto:jiri.sle...@slu.cz>> wrote:

Hello,

I have some orphaned images on a storage domain which are not
visible from manager and I would like to remove them.

I found one proposed feature which would be useful but seems not
exists yet - http://www.ovirt.org/Features/Orphaned_Images

Also I found this feature http://www.ovirt.org/Features/Domain_Scan
but there is no documentation how to use it.

Could you suggest me safe manual steps to remove an orphaned image?

btw. I know all info about this image - sdUUID, spUUID, imgUUID,
volUUID, volume path, logical volume on which is stored,... I am
using oVirt3.5.4

Thanks in advance,

Jiri Slezka


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






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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] how to remove orphaned image

2015-10-13 Thread Jiří Sléžka

Hi Elad,


Is the image located under the same storage pool the host is currently
connected to?
You can check the current connected storage pool by the following:
# vdsClient -s 0 getConnectedStoragePoolsList


yes, it is located on the same storage pool

vdsClient -s 0 getConnectedStoragePoolsList
0002-0002-0002-0002-02b9

orphaned image info is

vdsClient -s 0 getVolumeInfo "088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c" 
"0681822f-3ac8-473b-95ce-380f8ab4de06"


status = OK
domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
capacity = 322122547200
voltype = LEAF
description =
parent = ----
format = RAW
image = be5c56de-6a22-4d1a-8579-f0f5d501d90c
uuid = 0681822f-3ac8-473b-95ce-380f8ab4de06
disktype = 2
legality = LEGAL
mtime = 0
apparentsize = 322122547200
truesize = 322122547200
type = PREALLOCATED
children = []
pool =
ctime = 1440611370


Cheers,

Jiri





On Fri, Oct 9, 2015 at 12:45 PM, Jiří Sléžka <jiri.sle...@slu.cz
<mailto:jiri.sle...@slu.cz>> wrote:

Hello,

I have some orphaned images on a storage domain which are not
visible from manager and I would like to remove them.

I found one proposed feature which would be useful but seems not
exists yet - http://www.ovirt.org/Features/Orphaned_Images

Also I found this feature http://www.ovirt.org/Features/Domain_Scan
but there is no documentation how to use it.

Could you suggest me safe manual steps to remove an orphaned image?

btw. I know all info about this image - sdUUID, spUUID, imgUUID,
volUUID, volume path, logical volume on which is stored,... I am
using oVirt3.5.4

Thanks in advance,

Jiri Slezka


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




<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] how to remove orphaned image

2015-10-09 Thread Jiří Sléžka

Hello,

I have some orphaned images on a storage domain which are not visible 
from manager and I would like to remove them.


I found one proposed feature which would be useful but seems not exists 
yet - http://www.ovirt.org/Features/Orphaned_Images


Also I found this feature http://www.ovirt.org/Features/Domain_Scan but 
there is no documentation how to use it.


Could you suggest me safe manual steps to remove an orphaned image?

btw. I know all info about this image - sdUUID, spUUID, imgUUID, 
volUUID, volume path, logical volume on which is stored,... I am using 
oVirt3.5.4


Thanks in advance,

Jiri Slezka

<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Any way to correlate a VM disk (e.g. /dev/vda) to the vdsm ovirt disk?

2015-10-07 Thread Jiří Sléžka

Hi,

Dne 6.10.2015 v 22:07 c...@endlessnow.com napsal(a):

I want to correlate virtual disks back to their originating storage under
ovirt. Is there any way to do this?

e.g. (made up example)

/dev/vda

maps to ovirt disk

disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8


In oVirt there are two storage types - filesystem based (NFS, posix, 
glusterfs - uses files for storing images) and block device based (FC, 
iSCSI - uses lvm)


If I understand correctly, you would like know where exactly is stored a 
virtual disk. Right?


All you know is on which storage domain is your virtual disk stored and 
disk uuid (imgUUID)), right?


My approach is this (I am using block device based FC stroage so my 
virtual disks are stored as logical volumes). Probably there is much 
easier way ;-) please correct me


ssh to any host

list storage domains (sdUUID)

vdsClient -s 0 getImageDomainsList

find your domain uuid by name

vdsClient -s 0 getStorageDomainInfo sdUUID

you will get also pool (spUUID)

now you can search for volume(s) the image consists of

getVolumesList sdUUID spUUID imgUUID

you will get volUUID (one or more)

now you can check volume info

getVolumeInfo sdUUID spUUID imgUUID volUUID

and also you can get volume path

getVolumePath sdUUID spUUID imgUUID volUUID

you will get something like

/rhev/data-center/mnt/blockSD/088e7ed9-84c7-4fbd-a570-f37fa986a772/images/be5c56de-6a22-4d1a-8579-f0f5d501d90c/0681822f-3ac8-473b-95ce-380f8ab4de06

it is symlink which points to target block device

it looks to me that on block devices the path is

/dev/sdUUID/volUUID


btw. I am using oVirt3.5...


Cheers, Jiri




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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moving storage and importing vms issue

2015-10-06 Thread Jiří Sléžka

Hello,

I have not much time to deal with this issue until today. I happily 
recovered lost disk image.


As I mentioned before, I found lost disk image (volume) but it wasn't 
accessible because it's logical volume (I'm using FC storage) wasn't 
active...


I double check that this image is not used anywhere and set it active

lvchange -a y 
/dev/088e7ed9-84c7-4fbd-a570-f37fa986a772/0681822f-3ac8-473b-95ce-380f8ab4de06


then I was able to backup my data (in fact I created new vm disk and dd 
this volume to it)


btw. After successful recovery I still have this orphaned image on my 
storage which is not visible from manager. How can I correctly remove 
it? (from storage and from engine)


It looks like this (http://www.ovirt.org/Features/Orphaned_Images) 
utility would helped a lot ;-)


Cheers, Jiri




any hope and/or hint for me?

Before I moved storage I (partly live) migrated disks to this storage
(we have about 5 LUNS). Probably there could be some issues. Just a
guess - could it mean that some disks would stay on original storage as
orphaned images?

It would be useful to have some low-level util to display all images
(also orphaned) and their properties and correlations with vms.

Kind regards,

Jiri



Dne 10.9.2015 v 16:31 Eli Mesika napsal(a):

Adding Allon M

- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: "Eli Mesika" <emes...@redhat.com>
Cc: users@ovirt.org, "Omer Frenkel" <ofren...@redhat.com>
Sent: Thursday, September 10, 2015 4:07:48 PM
Subject: Re: [ovirt-users] moving storage and importing vms issue

Hello,


- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: emes...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, September 10, 2015 1:50:14 PM
Subject: Re: [ovirt-users] moving storage and importing vms issue

Hello,


- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: users@ovirt.org
Sent: Thursday, September 10, 2015 1:30:29 AM
Subject: [ovirt-users] moving storage and importing vms issue

Hello,

I am working on some consolidation of our RHEV/oVirt servers and
I moved
one storage to new oVirt datacenter (put it into maintenance,
detached
it from old and imported into new datacenter) which worked pretty
good.

Then I tried to import all the vms which worked also great except
for
three of them.

These vms are stucked in VM Import sub-tab and are quietly failing
import attempts (I can only see failed task "Importing VM
clavius-winxp
from configuration to Cluster CIT-oVirt" but no related event and/or
explanation)

There is only one host in this datacenter/cluster which is SPM. I
can't
find anything interesting in vdsm.log (short span of import time
is in
attachment).


Can you please attach also engine.log ?


sure

well, here I can see an error... it looks like some db and/or snapshot
issue.


Yes, seems as ImportVmFromConfigurationCommand tries to add
snapshots with
the empty GUID (000..0)
This cause violation of the primary key of the snapshots table
CCing Omer F on that



well and it looks like I lost also one secondary disk from one
correctly
imported vm.

is there a way to show all images on some storage domain?

I found that my storage is this

[root@ovirt04 ~]# vdsClient -s 0 getStorageDomainInfo
088e7ed9-84c7-4fbd-a570-f37fa986a772
uuid = 088e7ed9-84c7-4fbd-a570-f37fa986a772
vguuid = MkMpr6-o9c1-LBUq-rZ0E-ZRSg-X31T-2aU1PV
state = OK
version = 3
role = Master
type = FCP
class = Data
pool = ['0002-0002-0002-0002-02b9']
name = oVirt-SlowStorage

but I have no luck with finding how to display all images on it.


try

# vdsClient -s getImagesList "088e7ed9-84c7-4fbd-a570-f37fa986a772"


yes, it works :-)

now I have list of imgUUIDs on this storage. When I compare it against
Disks tab in oVirt manager a see 5 images that are not visible in
manager.

346ad5af-9db8-46eb-9a45-172ce3213496
45493042-67f5-4dcd-8dae-5b2c213aa95a
fb8f3165-5976-4094-9d37-ea0b09124547
e15288bc-30ec-4a77-837b-bdc7de37a08b
be5c56de-6a22-4d1a-8579-f0f5d501d90c

now I tried to find anything about these images

[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"346ad5af-9db8-46eb-9a45-172ce3213496"
eeca0e49-ba6d-4b4b-9eb4-731b90b48091 : Exported by virt-v2v.
da00feb8-991d-4b91-b424-6931daf00c83 : Parent is
eeca0e49-ba6d-4b4b-9eb4-731b90b48091



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"45493042-67f5-4dcd-8dae-5b2c213aa95a"

d2916b5d-50e4-482c-aa6b-e26d2c78ef46 : Exported by virt-v2v.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"fb8f3165-5976-4094-9d

Re: [ovirt-users] moving storage and importing vms issue

2015-09-15 Thread Jiří Sléžka

Hello,

any hope and/or hint for me?

Before I moved storage I (partly live) migrated disks to this storage 
(we have about 5 LUNS). Probably there could be some issues. Just a 
guess - could it mean that some disks would stay on original storage as 
orphaned images?


It would be useful to have some low-level util to display all images 
(also orphaned) and their properties and correlations with vms.


Kind regards,

Jiri



Dne 10.9.2015 v 16:31 Eli Mesika napsal(a):

Adding Allon M

- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: "Eli Mesika" <emes...@redhat.com>
Cc: users@ovirt.org, "Omer Frenkel" <ofren...@redhat.com>
Sent: Thursday, September 10, 2015 4:07:48 PM
Subject: Re: [ovirt-users] moving storage and importing vms issue

Hello,


- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: emes...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, September 10, 2015 1:50:14 PM
Subject: Re: [ovirt-users] moving storage and importing vms issue

Hello,


- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: users@ovirt.org
Sent: Thursday, September 10, 2015 1:30:29 AM
Subject: [ovirt-users] moving storage and importing vms issue

Hello,

I am working on some consolidation of our RHEV/oVirt servers and I moved
one storage to new oVirt datacenter (put it into maintenance, detached
it from old and imported into new datacenter) which worked pretty good.

Then I tried to import all the vms which worked also great except for
three of them.

These vms are stucked in VM Import sub-tab and are quietly failing
import attempts (I can only see failed task "Importing VM clavius-winxp
from configuration to Cluster CIT-oVirt" but no related event and/or
explanation)

There is only one host in this datacenter/cluster which is SPM. I can't
find anything interesting in vdsm.log (short span of import time is in
attachment).


Can you please attach also engine.log ?


sure

well, here I can see an error... it looks like some db and/or snapshot
issue.


Yes, seems as ImportVmFromConfigurationCommand tries to add snapshots with
the empty GUID (000..0)
This cause violation of the primary key of the snapshots table
CCing Omer F on that



well and it looks like I lost also one secondary disk from one correctly
imported vm.

is there a way to show all images on some storage domain?

I found that my storage is this

[root@ovirt04 ~]# vdsClient -s 0 getStorageDomainInfo
088e7ed9-84c7-4fbd-a570-f37fa986a772
uuid = 088e7ed9-84c7-4fbd-a570-f37fa986a772
vguuid = MkMpr6-o9c1-LBUq-rZ0E-ZRSg-X31T-2aU1PV
state = OK
version = 3
role = Master
type = FCP
class = Data
pool = ['0002-0002-0002-0002-02b9']
name = oVirt-SlowStorage

but I have no luck with finding how to display all images on it.


try

# vdsClient -s getImagesList "088e7ed9-84c7-4fbd-a570-f37fa986a772"


yes, it works :-)

now I have list of imgUUIDs on this storage. When I compare it against
Disks tab in oVirt manager a see 5 images that are not visible in manager.

346ad5af-9db8-46eb-9a45-172ce3213496
45493042-67f5-4dcd-8dae-5b2c213aa95a
fb8f3165-5976-4094-9d37-ea0b09124547
e15288bc-30ec-4a77-837b-bdc7de37a08b
be5c56de-6a22-4d1a-8579-f0f5d501d90c

now I tried to find anything about these images

[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"346ad5af-9db8-46eb-9a45-172ce3213496"
eeca0e49-ba6d-4b4b-9eb4-731b90b48091 : Exported by virt-v2v.
da00feb8-991d-4b91-b424-6931daf00c83 : Parent is
eeca0e49-ba6d-4b4b-9eb4-731b90b48091



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"45493042-67f5-4dcd-8dae-5b2c213aa95a"

d2916b5d-50e4-482c-aa6b-e26d2c78ef46 : Exported by virt-v2v.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"fb8f3165-5976-4094-9d37-ea0b09124547"
cc83caa4-e366-4fd6-94b7-d16089aa29d6 : Parent is
53c5003d-80de-4dfd-b5d8-50537a3a54d6

53c5003d-80de-4dfd-b5d8-50537a3a54d6 : imported by virt-v2v.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"e15288bc-30ec-4a77-837b-bdc7de37a08b"

2f2c2a1c-6dcc-436c-962c-00e4e074a39a :
{"DiskAlias":"polymatheia1.slu.cz_Disk1","DiskDescription":""}.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList
"088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"

0681822f-3ac8-473b-95ce-380f8ab4de06 :



Re: [ovirt-users] moving storage and importing vms issue

2015-09-10 Thread Jiří Sléžka

Hello,


- Original Message -

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: emes...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, September 10, 2015 1:50:14 PM
Subject: Re: [ovirt-users] moving storage and importing vms issue

Hello,


- Original Message -----

From: "Jiří Sléžka" <jiri.sle...@slu.cz>
To: users@ovirt.org
Sent: Thursday, September 10, 2015 1:30:29 AM
Subject: [ovirt-users] moving storage and importing vms issue

Hello,

I am working on some consolidation of our RHEV/oVirt servers and I moved
one storage to new oVirt datacenter (put it into maintenance, detached
it from old and imported into new datacenter) which worked pretty good.

Then I tried to import all the vms which worked also great except for
three of them.

These vms are stucked in VM Import sub-tab and are quietly failing
import attempts (I can only see failed task "Importing VM clavius-winxp
from configuration to Cluster CIT-oVirt" but no related event and/or
explanation)

There is only one host in this datacenter/cluster which is SPM. I can't
find anything interesting in vdsm.log (short span of import time is in
attachment).


Can you please attach also engine.log ?


sure

well, here I can see an error... it looks like some db and/or snapshot
issue.


Yes, seems as ImportVmFromConfigurationCommand tries to add snapshots with the 
empty GUID (000..0)
This cause violation of the primary key of the snapshots table
CCing Omer F on that



well and it looks like I lost also one secondary disk from one correctly
imported vm.

is there a way to show all images on some storage domain?

I found that my storage is this

[root@ovirt04 ~]# vdsClient -s 0 getStorageDomainInfo
088e7ed9-84c7-4fbd-a570-f37fa986a772
uuid = 088e7ed9-84c7-4fbd-a570-f37fa986a772
vguuid = MkMpr6-o9c1-LBUq-rZ0E-ZRSg-X31T-2aU1PV
state = OK
version = 3
role = Master
type = FCP
class = Data
pool = ['0002-0002-0002-0002-02b9']
name = oVirt-SlowStorage

but I have no luck with finding how to display all images on it.


try

# vdsClient -s getImagesList "088e7ed9-84c7-4fbd-a570-f37fa986a772"


yes, it works :-)

now I have list of imgUUIDs on this storage. When I compare it against 
Disks tab in oVirt manager a see 5 images that are not visible in manager.


346ad5af-9db8-46eb-9a45-172ce3213496
45493042-67f5-4dcd-8dae-5b2c213aa95a
fb8f3165-5976-4094-9d37-ea0b09124547
e15288bc-30ec-4a77-837b-bdc7de37a08b
be5c56de-6a22-4d1a-8579-f0f5d501d90c

now I tried to find anything about these images

[root@ovirt04 ~]# vdsClient -s 0 getVolumesList 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"346ad5af-9db8-46eb-9a45-172ce3213496"

eeca0e49-ba6d-4b4b-9eb4-731b90b48091 : Exported by virt-v2v.
da00feb8-991d-4b91-b424-6931daf00c83 : Parent is 
eeca0e49-ba6d-4b4b-9eb4-731b90b48091




[root@ovirt04 ~]# vdsClient -s 0 getVolumesList 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"45493042-67f5-4dcd-8dae-5b2c213aa95a"


d2916b5d-50e4-482c-aa6b-e26d2c78ef46 : Exported by virt-v2v.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"fb8f3165-5976-4094-9d37-ea0b09124547"
cc83caa4-e366-4fd6-94b7-d16089aa29d6 : Parent is 
53c5003d-80de-4dfd-b5d8-50537a3a54d6


53c5003d-80de-4dfd-b5d8-50537a3a54d6 : imported by virt-v2v.



[root@ovirt04 ~]# vdsClient -s 0 getVolumesList 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"e15288bc-30ec-4a77-837b-bdc7de37a08b"


2f2c2a1c-6dcc-436c-962c-00e4e074a39a : 
{"DiskAlias":"polymatheia1.slu.cz_Disk1","DiskDescription":""}.




[root@ovirt04 ~]# vdsClient -s 0 getVolumesList 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"


0681822f-3ac8-473b-95ce-380f8ab4de06 :



when I look on last case

[root@ovirt04 ~]# vdsClient -s 0 getVolumeInfo 
"088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c" 
"0681822f-3ac8-473b-95ce-380f8ab4de06"

status = OK
domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
capacity = 322122547200
voltype = LEAF
description =
parent = ----
format = RAW
image = be5c56de-6a22-4d1a-8579-f0f5d501d90c
uuid = 0681822f-3ac8-473b-95ce-380f8ab4de06
disktype = 2
legality = LEGAL
mtime = 0
apparentsize = 322122547200
truesize = 322122547200
type = PREALLOCATED
children = []
 

  1   2   >