[ovirt-users] Re: Q: Node SW Install from oVirt Engine UI Failed

2021-01-15 Thread Andrei Verovski
Hi,

After installing fresh CentOS stream (on HP ProLiant Node) with recommended 
partitioning scheme I did in oVirt Engine Web UI Hosts -> New (add node ended 
with success), the Hosts -> Installation -> Install, and this failed. 


> On 15 Jan 2021, at 17:11, penguin pages  wrote:
> 
> What is in /var/log/messages
> 
> 
> What steps did you take to deploy post CentOS 8 Streams deployment?  Did you 
> launch from Cockpit UI?
> 
> The GUI deployment process does output reasonable logs
> ___
> 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/RPYUG7T5724BOHTUEKVAEBKP2WYJNA5R/
___
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/W57F2T2UYOFCET2YOM2UH4LS2WDBGFC4/


[ovirt-users] Q: Node SW Install from oVirt Engine UI Failed

2021-01-15 Thread Andrei Verovski
Hi,

I installed fresh CentOS Stream on HP ProLiant and now trying to install Node 
SW from oVirt Engine WEB UI.
Software installation failed but no comprehensive description displayed in WEB 
UI.
Where I can find detailed logs what’s going wrong?

On node "sudo dnf repolist —all” lists required repos, with unnecessary 
disabled.

Thanks in advance.
Andrei.


repo id  repo name  
  status
appstreamCentOS Stream 
8 - AppStream  enabled
baseos   CentOS Stream 
8 - BaseOS enabled
debuginfoCentOS Stream 
8 - Debuginfo  disabled
extras   CentOS Stream 
8 - Extras enabled
ha   CentOS Stream 
8 - HighAvailability   disabled
media-appstream  CentOS Stream 
8 - Media - AppStream  disabled
media-baseos CentOS Stream 
8 - Media - BaseOS disabled
ovirt-4.4Latest oVirt 
4.4 Release enabled
ovirt-4.4-advanced-virtualization-testingAdvanced 
Virtualization testing pack enabled
ovirt-4.4-centos-nfv-openvswitch CentOS-8 - NFV 
OpenvSwitch   enabled
ovirt-4.4-centos-opstoolsCentOS-8 - 
OpsTools - collectd   enabled
ovirt-4.4-centos-ovirt44-testing CentOS-8 - 
oVirt 4.4 - testing   enabled
ovirt-4.4-copr:copr.fedorainfracloud.org:mdbarroso:ovsdbapp  Copr repo for 
ovsdbapp owned by mdba enabled
ovirt-4.4-copr:copr.fedorainfracloud.org:sac:gluster-ansible Copr repo for 
gluster-ansible owned  enabled
ovirt-4.4-copr:copr.fedorainfracloud.org:sbonazzo:EL8_collection Copr repo for 
EL8_collection owned b enabled
ovirt-4.4-epel   Extra Packages 
for Enterprise Linux  enabled
ovirt-4.4-glusterfs-7-testingGlusterFS 7 
testing packages for x86 enabled
ovirt-4.4-ioprocess-preview  Copr repo for 
iprocess-preview owned enabled
ovirt-4.4-ovirt-imageio-preview  Copr repo for 
ovirt-imageio-preview  enabled
ovirt-4.4-virtio-win-latest  virtio-win 
builds roughly matching w enabled
powertools   CentOS Stream 
8 - PowerTools enabled
rt   CentOS Stream 
8 - RealTime   disabled
spp  Service Pack 
for ProLiantenabled
___
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/XRCXCVC4RPVG6S2FCI72UMZUKJOWJQUG/


[ovirt-users] Q: oVirt 4.4.4.7 Node settings on CentOS Stream

2021-01-14 Thread Andrei Verovski
Hi !

I’m installing new oVirt 4.4.4 node on CentOS Stream and its seems there are 
some changes since older node on CentOS 7.x.

1) NFS shares for storage domain.
In 7.x I used
chown -Rv nfsnobody:nfsnobody /vmraid/nfs; chmod -Rv 755 /vmraid/nfs
In Stream nfsnobody don’t exists, should I use:
chown -Rv nobody:nobody /vmraid/nfs; chmod -Rv 777 /vmraid/nfs

Is that correct settings?


2) SELinux seems to be more permissive now, looks like I don’t have to tweak it 
to have my custom cron and SNMP scripts running.
Yes, SELinux is running, getenforce -> yields “Enforcing”.

Will oVirt sw node installation change this behaviour?


Thanks in advance
Andrei
___
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/RIHO3XXDJ625VUHTNQVNBNEQDAIEWZVD/


[ovirt-users] Q: New oVirt Node - CentOS 8 or Stream ?

2021-01-13 Thread Andrei Verovski
Hi,


I’m currently adding new oVirt node to existing 4.4 setup.
Which underlying OS version would you recommend for long-term deployment - 
CentOS 8 or Stream ?

I don’t use pre-built node ISO since I have a number of custom scripts running 
on node host OS.

Thanks in advance.
Andrei
___
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/QSUIBES6BLKUB277W7JGRGZFXCM32YLJ/


[ovirt-users] Re: Upgrade Problem oVirt engine 4.4.1.8-1.el8 -> 4.4.3

2020-11-11 Thread Andrei Verovski
Yes I know I can reinstall and import back database, but its kinda awkward.


> On 11 Nov 2020, at 14:21, tfe...@swissonline.ch wrote:
> 
> Hi
> 
> I would like to add to this thread that I had experienced a very similar 
> problem yesterday on my test system.
> 
> Notice that I have a different installation (engine installed on same host as 
> oVirt host).
> I worked around the issue with the following steps:
> 
> make engine-backup of the oVirt engine (pre-upgrade)
> yum history rollback (to the state before the upgrade)
> yum remove ovirt-engine
> yum clean all
> yum update
> yum install ovirt-engine
> engine-backup --restore the backup file of my engine backup
> engine-setup
> Hope this helps
> 
> Toni Feric
> 
> On 11.11.20 13:00, Andrei Verovski wrote:
>> Hi !
>> 
>> I’m trying to upgrade oVirt engine 4.4.1.8-1.el8 to the latest 4.4.3, 
>> running as KVM appliance (not hosted engine).
>> 
>> This sequence of commands
>> 
>> yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm 
>> <https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm>
>> engine-upgrade-check
>> yum update ovirt\*setup\*
>> 
>> Results in a long list of dependency errors, short excerpt below.
>> Looks like something (e.g. repo) is missing. How to fix this? Thanks in 
>> advance.
>> 
>> — LOG --
>> 
>> Problem 1: problem with installed package 
>> ovirt-engine-ui-extensions-1.2.2-1.el8.noarch
>>  - package ovirt-engine-ui-extensions-1.2.2-1.el8.noarch requires 
>> ovirt-ansible-cluster-upgrade >= 1.1.12, but none of the providers can be 
>> installed
>> 
>> Problem 2: package ovirt-engine-4.4.1.8-1.el8.noarch requires 
>> ovirt-engine-ui-extensions >= 1.0.4, but none of the providers can be 
>> installed
>> 
>>  - package ovirt-engine-ui-extensions-1.2.2-1.el8.noarch requires 
>> ovirt-ansible-cluster-upgrade >= 1.1.12, but none of the providers can be 
>> installed
>>  - package ovirt-engine-4.4.1.8-1.el8.noarch requires ovirt-ansible-roles >= 
>> 1.2.0, but none of the providers can be installed
>>  - package ovirt-ansible-collection-1.2.1-1.el8.noarch obsoletes 
>> ovirt-ansible-cluster-upgrade provided by 
>> ovirt-ansible-cluster-upgrade-1.2.3-1.el8.noarch
>> 
>> 
>> ___
>> 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 
>> <https://www.ovirt.org/privacy-policy.html>
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/ 
>> <https://www.ovirt.org/community/about/community-guidelines/>
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/EMRQIDUGHYRUISAHDVWZ763NVHZP2NCM/
>>  
>> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/EMRQIDUGHYRUISAHDVWZ763NVHZP2NCM/>

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


[ovirt-users] Upgrade Problem oVirt engine 4.4.1.8-1.el8 -> 4.4.3

2020-11-11 Thread Andrei Verovski
Hi !

I’m trying to upgrade oVirt engine 4.4.1.8-1.el8 to the latest 4.4.3, running 
as KVM appliance (not hosted engine).

This sequence of commands

yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
engine-upgrade-check
yum update ovirt\*setup\*

Results in a long list of dependency errors, short excerpt below.
Looks like something (e.g. repo) is missing. How to fix this? Thanks in advance.

— LOG --

Problem 1: problem with installed package 
ovirt-engine-ui-extensions-1.2.2-1.el8.noarch
 - package ovirt-engine-ui-extensions-1.2.2-1.el8.noarch requires 
ovirt-ansible-cluster-upgrade >= 1.1.12, but none of the providers can be 
installed

Problem 2: package ovirt-engine-4.4.1.8-1.el8.noarch requires 
ovirt-engine-ui-extensions >= 1.0.4, but none of the providers can be installed

 - package ovirt-engine-ui-extensions-1.2.2-1.el8.noarch requires 
ovirt-ansible-cluster-upgrade >= 1.1.12, but none of the providers can be 
installed
 - package ovirt-engine-4.4.1.8-1.el8.noarch requires ovirt-ansible-roles >= 
1.2.0, but none of the providers can be installed
 - package ovirt-ansible-collection-1.2.1-1.el8.noarch obsoletes 
ovirt-ansible-cluster-upgrade provided by 
ovirt-ansible-cluster-upgrade-1.2.3-1.el8.noarch


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


[ovirt-users] Re: VM Struck in Shutdown Mode

2020-11-05 Thread Andrei Verovski
H,

Select query wen succesfull, unfortunately (vm_guid copied from VM profile, 
rest copied from [1]):

engine=# update vm_dynamic set 
run_on_vds='82f92946-9130-4dbd-8663-1ac0b50668a1' where 
vm_guid='d168bbeb-0532-44e4-93da-fdfcd7cc7f20';

ERROR:  insert or update on table "vm_dynamic" violates foreign key constraint 
"vds_static_vm_dynamic_r"
DETAIL:  Key (run_on_vds)=(82f92946-9130-4dbd-8663-1ac0b50668a1) is not present 
in table "vds_static".

How to properly determine value “ run_on_vds” ? Is this node UUID?

Thanks.


> On 3 Nov 2020, at 18:21, Arik Hadas  wrote:
> 
> 
> 
> On Tue, Nov 3, 2020 at 5:36 PM Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi,
> 
> I have oVirt 4.4 engine and v4.2 nodes.
> 
> On one node newly created VM struck in shutdown mode (with green round 
> recycle icon) - I can’t anything, neither power off neither shutdown, both 
> operation fail (with no explanation). This VM have no value whatsoever, but I 
> can’t delete it either.
> 
> Restarted oVirt engine, all same.
> 
> Process list (on node) clearly shows absence of this VM as KVM process. VM is 
> down.
> 
> How to reset its status in oVirt?
> 
> Hi,
> 
> Please try the steps described in [1]
> 
> [1] https://www.mail-archive.com/users@ovirt.org/msg62928.html 
> <https://www.mail-archive.com/users@ovirt.org/msg62928.html>
>  
> 
> Thanks in advance.
> Andrei
> ___
> 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 
> <https://www.ovirt.org/privacy-policy.html>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/VVQT4YDC5JKGSVXBXSXXZONUNQBVLXJQ/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/VVQT4YDC5JKGSVXBXSXXZONUNQBVLXJQ/>

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


[ovirt-users] VM Struck in Shutdown Mode

2020-11-03 Thread Andrei Verovski
Hi,

I have oVirt 4.4 engine and v4.2 nodes.

On one node newly created VM struck in shutdown mode (with green round recycle 
icon) - I can’t anything, neither power off neither shutdown, both operation 
fail (with no explanation). This VM have no value whatsoever, but I can’t 
delete it either.

Restarted oVirt engine, all same.

Process list (on node) clearly shows absence of this VM as KVM process. VM is 
down.

How to reset its status in oVirt?

Thanks in advance.
Andrei
___
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/VVQT4YDC5JKGSVXBXSXXZONUNQBVLXJQ/


[ovirt-users] Q: Failed creating snapshot

2020-10-30 Thread Andrei Verovski
Hi,

I have oVirt 4.4 with nodes 4.2.8

Attempt to create snapshot failed with: 
EventID 10802 VDSM node11 command SnapshotVDS failed: Message timeout can be 
caused by communication issues.
Event ID 2022 Add-disk operation failed to complete.

However, snapshot is on disk since VM now takes 1200GB instead of 500.
Yes snapshot list in VM details is empty.

How to recover disk space occupied by unsuccessful snapshot ?
I looked at /vmraid/nfs/disks/--xxx/images

and there are no distinctive files which I can identify as snapshot.

Thanks in advance.
Andrei
___
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/AH5WCQ6W4RWRVJVZDERPMQSGNDSTWNHE/


[ovirt-users] Re: oVirt 4.4 Engine data migration & GUI notes

2020-07-22 Thread Andrei Verovski


> On 22 Jul 2020, at 13:05, Yedidyah Bar David  wrote:
> 
> On Wed, Jul 22, 2020 at 12:50 PM Andrei Verovski  wrote:
>> 
>> Hi !
>> 
>> I have installed new oVirt 4.4 Engine (as separate entity, not hosted 
>> engine) and migrated data from old 4.3 installation.
>> Everything went smooth.
> 
> Can you please clarify exactly what you did? Did you use engine-backup
> backup/restore?

Yes, ovirt built-in backup/restore

engine-backup --mode=restore --log=restore1.log 
--file=ovirt-engine-backup-20200721122423.backup --provision-db 
--provision-dwh-db --no-restore-permissions

> 
>> 
>> Q: Which PostgreSQL password now active - new one I entered during install 
>> or old which could migrate with old data?
> 
> I do not think you should have been prompted for a password during
> install, unless you refer to Grafana's admin. Please clarify.
> 
> Perhaps you used a remote database?

Database local, not remote.
I had a prompt for postgresql password during install.

oVirt Engine 4.4 fresh install on CentOS 8.2 appliance, with these command, 
instruction from official web site, then restore from backup (snippet above)

yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
yum module -y enable javapackages-tools
yum module -y enable pki-deps
yum module -y enable postgresql:12
yum install postgresql-server postgresql-contrib
postgresql-setup --initdb
systemctl enable postgresql; systemctl start postgresql

su - postgres -c psql
create role engine with login encrypted password ‘my password';
create role ovirt_engine_history with login encrypted password 'my password';

create database engine owner engine template template0 encoding 'UTF8' 
lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';
create database ovirt_engine_history owner ovirt_engine_history template 
template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';

\c engine
CREATE EXTENSION "uuid-ossp";
CREATE LANGUAGE plpgsql;

\c ovirt_engine_history
CREATE EXTENSION "uuid-ossp";
CREATE LANGUAGE plpgsql;

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


[ovirt-users] oVirt 4.4 Engine data migration & GUI notes

2020-07-22 Thread Andrei Verovski
Hi !

I have installed new oVirt 4.4 Engine (as separate entity, not hosted engine) 
and migrated data from old 4.3 installation.
Everything went smooth.

Q: Which PostgreSQL password now active - new one I entered during install or 
old which could migrate with old data?

I noticed GUI changes straight on dashboard.
Icons on top (data centres, clusters, hosts, etc) are simply put, too huge. 
This serves no useful purpose whatsoever, and consumes screen real estate for 
no reason.
Decreasing their size by 2/3 will help to make 1st page more informative at 1st 
sight without extra scrolling.

with best regards
Andrei

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


[ovirt-users] Re: oVirt 4.3 -> 4.4 Upgrade Path Questions

2020-07-07 Thread Andrei Verovski

Hi !

Something wrong went with this list manager, since July 2 I stopped to 
receive e-mails. I can't login with my old password, neither I can reset it.


Is it possible to check by list admins?

Thanks in advance.
Andrei
___
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/6HKTEOPX2T3DWUT4W2OKTSQBUPVCM354/


[ovirt-users] oVirt 4.3 -> 4.4 Upgrade Path Questions

2020-07-07 Thread Andrei Verovski
Hi !

I have 2-node oVirt 4.3 installation, with engine running as KVM guest on SuSE 
file server (not hosted engine).
Nodes are manually installed on CentOS 7.x (further referred as old node #1 and 
#2).

I’m going to add 1 additional node, and migrate system to CentOS 8.2 / oVirt 
4.4.

Is this correct roadmap, or something can be done in a better way? Here is my 
plan.

1) Upgrade oVirt Hosted Engine running under KVM / SuSE file server to CentOS 
8.2 / oVirt 4.4.
Or its better to install from scratch new CentOS 8.2/oVirt 4.4 and migrate 
database?

2) Install CentOS 8.2 and oVirt node 4.4 on new server (let’s name it node #3).
3) Migrate virtual machines from old node #1 to the new (#3).
4) Upgrade CentOS on old node #1 to v8.2, and oVirt from web interface. Will 
that work, or upgrade CentOS 7 -> 8 will render this process unmanageable due 
to removal of many components? 
5) Migrate back virtual machines from node #3 to newly upgraded node #1.
6) Repeat step 4 and 5 for old node #2.


I have set of custom shell and python scripts running on engine and nodes, so 
manual installation was a way to go.

Thanks in advance for any suggestion(s)

with best regards
Andrei
___
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/B6TKPHULJE37CF2O44FJJVJ3KOXR5IZI/


[ovirt-users] Re: Q: Fixing SELinux Permissions on oVirt node

2020-05-29 Thread Andrei Verovski
Hi,

OK, Michael, thanks a LOT, these commands fixed problem.

cat /var/log/audit/audit.log | grep snmpd | grep sed | audit2allow -M 
my_module_for_snmpd
semodule -i my_module_for_snmpd.pp




> On 29 May 2020, at 16:31, Michaël Couren  wrote:
> 
> Hi, 
> you coul'd start with :
> 
> cat /var/log/audit/audit.log | grep denied | audit2why 
> 
> The messages are quite clear.
> 
> After you coul'd also refine a little bit more :
> 
> cat /var/log/audit/audit.log |grep snmpd |  audit2allow -M my_module_for_snmpd
> 
> Remember to renew audit.log sometimes, in order to filter errors more 
> preciselly
> -- 
> Cordialement / Best regards, Michaël Couren,
> ABES, Montpellier, France.
> 
> 
> 
> - Le 29 Mai 20, à 15:14, Andrei Verovski andre...@starlett.lv a écrit :
> 
>> Hi,
>> 
>> SELinux is quite cumbersome for someone which not used it before.
>> 
>> stat /var/log/anvraidcheck.log
>> #  File: ‘/var/log/anvraidcheck.log’
>> #  Size: 75  Blocks: 8  IO Block: 4096   regular file
>> # Device: fd08h/64776dInode: 138 Links: 1
>> # Access: (0666/-rw-rw-rw-)  Uid: (0/root)   Gid: (0/root)
>> # Context: system_u:object_r:cron_log_t:s0
>> 
>> ps -eZ | grep snmpd
>> # system_u:system_r:snmpd_t:s0 1835 ?00:02:00 snmpd
>> 
>> 
>> How to enforce this policy (if its correct of course)?
>> 
>> allow snmpd_t cron_log_t:file { read };
>> 
>> 
>> 
>>> On 29 May 2020, at 12:31, Alan  wrote:
>>> 
>>> When running from the terminal you are unconfined, hence it runs without 
>>> error.
>>> 
>>> Probably your only option is to create custom policy to allow this. 
>>> Although I
>>> would question why the log file you are reading is cron_log_t and not
>>> var_log_t.
>>> 
>>> 
>>>  On Fri, 29 May 2020 09:25:41 +0100 Andrei Verovski 
>>> 
>>> wrote 
>>> 
>>> Hi !
>>> 
>>> I’m struggling with SELinux blocking SNMP script from reading log file 
>>> (oVirt
>>> node manually installed on CentOS 7).
>>> Log file is readable by all (chmod ugo+r).
>>> 
>>> Scripts working fine when executed from terminal.
>>> 
>>> I did not dig deep into CentOS internals, I’m mostly use Debian and SuSE. 
>>> As far
>>> as I know, SELinux can’t be turned off on oVirt node.
>>> 
>>> Thanks in advance for any suggestion(s).
>>> 
>>> 
>>> **
>>> 
>>> option in snmpd.conf
>>> 
>>> extend .1.3.6.1.4.1.2021.7890.5 checkraid /opt/4anvcheckraid_hp.sh
>>> 
>>> 
>>> **
>>> script 4anvcheckraid_hp.sh
>>> 
>>> #!/bin/bash
>>> 
>>> LOGFILE='/var/log/anvraidcheck.log'
>>> 
>>> if [ ! -f $LOGFILE ]; then
>>> exit 0
>>> fi
>>> 
>>> # Variant 1 with sed
>>> sed '/^[ \t]*$/d' $LOGFILE | while read line; do
>>> echo "$line"
>>> exit 1
>>> done
>>> 
>>> # Variant 2 without sed
>>> while read line
>>> do
>>> if [[ "$line" =~ [^[:space:]] ]]; then
>>> echo "$line"
>>> exit 1
>>> fi
>>> done < $LOGFILE
>>> 
>>> 
>>> **
>>> 
>>> SELinux audit log:
>>> 
>>> type=AVC msg=audit(1590673970.198:469304): avc: denied { read } for 
>>> pid=12142
>>> comm="sed" name="anvraidcheck.log" dev="dm-8" ino=138
>>> scontext=system_u:system_r:snmpd_t:s0 
>>> tcontext=system_u:object_r:cron_log_t:s0
>>> tclass=file permissive=0
>>> 
>>> type=AVC msg=audit(1590673970.197:469303): avc: denied { read } for 
>>> pid=12141
>>> comm="4anvcheckraid_h" name="anvraidcheck.log" dev="dm-8" ino=138
>>> scontext=system_u:system_r:snmpd_t:s0 
>>> tcontext=system_u:object_r:cron_log_t:s0
>>> tclass=file permissive=0
>>> 
>>> ___
>>> 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
>>> <https://www.ovirt.org/privacy-policy.html>
>>> oVirt Code of Conduct:
>>> https://www.o

[ovirt-users] Re: Q: Fixing SELinux Permissions on oVirt node

2020-05-29 Thread Andrei Verovski
Hi,

SELinux is quite cumbersome for someone which not used it before.

stat /var/log/anvraidcheck.log 
#  File: ‘/var/log/anvraidcheck.log’
#  Size: 75  Blocks: 8  IO Block: 4096   regular file
# Device: fd08h/64776dInode: 138 Links: 1
# Access: (0666/-rw-rw-rw-)  Uid: (0/root)   Gid: (0/root)
# Context: system_u:object_r:cron_log_t:s0

ps -eZ | grep snmpd
# system_u:system_r:snmpd_t:s0 1835 ?00:02:00 snmpd


How to enforce this policy (if its correct of course)?

allow snmpd_t cron_log_t:file { read };



> On 29 May 2020, at 12:31, Alan  wrote:
> 
> When running from the terminal you are unconfined, hence it runs without 
> error.
> 
> Probably your only option is to create custom policy to allow this. Although 
> I would question why the log file you are reading is cron_log_t and not 
> var_log_t.
> 
> 
>  On Fri, 29 May 2020 09:25:41 +0100 Andrei Verovski 
>  wrote 
> 
> Hi ! 
> 
> I’m struggling with SELinux blocking SNMP script from reading log file (oVirt 
> node manually installed on CentOS 7). 
> Log file is readable by all (chmod ugo+r). 
> 
> Scripts working fine when executed from terminal. 
> 
> I did not dig deep into CentOS internals, I’m mostly use Debian and SuSE. As 
> far as I know, SELinux can’t be turned off on oVirt node. 
> 
> Thanks in advance for any suggestion(s). 
> 
> 
> ** 
> 
> option in snmpd.conf 
> 
> extend .1.3.6.1.4.1.2021.7890.5 checkraid /opt/4anvcheckraid_hp.sh 
> 
> 
> ** 
> script 4anvcheckraid_hp.sh 
> 
> #!/bin/bash 
> 
> LOGFILE='/var/log/anvraidcheck.log' 
> 
> if [ ! -f $LOGFILE ]; then 
> exit 0 
> fi 
> 
> # Variant 1 with sed 
> sed '/^[ \t]*$/d' $LOGFILE | while read line; do 
> echo "$line" 
> exit 1 
> done 
> 
> # Variant 2 without sed 
> while read line 
> do 
> if [[ "$line" =~ [^[:space:]] ]]; then 
> echo "$line" 
> exit 1 
> fi 
> done < $LOGFILE 
> 
> 
> ** 
> 
> SELinux audit log: 
> 
> type=AVC msg=audit(1590673970.198:469304): avc: denied { read } for pid=12142 
> comm="sed" name="anvraidcheck.log" dev="dm-8" ino=138 
> scontext=system_u:system_r:snmpd_t:s0 
> tcontext=system_u:object_r:cron_log_t:s0 tclass=file permissive=0 
> 
> type=AVC msg=audit(1590673970.197:469303): avc: denied { read } for pid=12141 
> comm="4anvcheckraid_h" name="anvraidcheck.log" dev="dm-8" ino=138 
> scontext=system_u:system_r:snmpd_t:s0 
> tcontext=system_u:object_r:cron_log_t:s0 tclass=file permissive=0 
> 
> ___
> 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 
> <https://www.ovirt.org/privacy-policy.html>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MYWS2S57UP5GISJ7APXVJO6NVCVEFM22/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/MYWS2S57UP5GISJ7APXVJO6NVCVEFM22/>
> 
> 

___
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/3MICJMAXCALWNSYLWWJXQABJ4EAHW55L/


[ovirt-users] Q: Fixing SELinux Permissions on oVirt node

2020-05-29 Thread Andrei Verovski
Hi !

I’m struggling with SELinux blocking SNMP script from reading log file (oVirt 
node manually installed on CentOS 7).
Log file is readable by all (chmod ugo+r).

Scripts working fine when executed from terminal.

I did not dig deep into CentOS internals, I’m mostly use Debian and SuSE. As 
far as I know, SELinux can’t be turned off on oVirt node.

Thanks in advance for any suggestion(s). 


**

option in snmpd.conf

extend .1.3.6.1.4.1.2021.7890.5 checkraid /opt/4anvcheckraid_hp.sh


**
script 4anvcheckraid_hp.sh

#!/bin/bash

LOGFILE='/var/log/anvraidcheck.log'

if [ ! -f $LOGFILE ]; then
exit 0
fi

# Variant 1 with sed
sed '/^[ \t]*$/d' $LOGFILE | while read line; do
echo "$line"
exit 1
done

# Variant 2 without sed
while read line
do
if [[ "$line" =~ [^[:space:]] ]]; then
echo "$line"
exit 1
fi
done < $LOGFILE


**

SELinux audit log:

type=AVC msg=audit(1590673970.198:469304): avc:  denied  { read } for  
pid=12142 comm="sed" name="anvraidcheck.log" dev="dm-8" ino=138 
scontext=system_u:system_r:snmpd_t:s0 tcontext=system_u:object_r:cron_log_t:s0 
tclass=file permissive=0

type=AVC msg=audit(1590673970.197:469303): avc:  denied  { read } for  
pid=12141 comm="4anvcheckraid_h" name="anvraidcheck.log" dev="dm-8" ino=138 
scontext=system_u:system_r:snmpd_t:s0 tcontext=system_u:object_r:cron_log_t:s0 
tclass=file permissive=0

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


[ovirt-users] oVirt engine / node & snmp

2020-05-11 Thread Andrei Verovski
Hi,

oVirt node seems to run snmp by defeult, “service snmpd status” returns some 
data.
I’m going to connect all servers to LibreNMS, and it requires custom snmp 
options.
What options I should keep in oVirt node default nsmp.conf? Or I may just fully 
overwrite this file with my own?

Please note my oVirt node installed manually on CentOS, I don’t use node DVD 
image from oVirt project.


with best regards
Thanks in advance.
Andrei
___
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/BBMLCEMMOKAO3DULZWVQ5VQGC7GPUDEC/


[ovirt-users] Re: Followup: Create New VM from Template Glitch

2019-06-05 Thread Andrei Verovski


> On 5 Jun 2019, at 12:51, Eyal Shenitzky  wrote:
> 
> 
> 
> On Wed, Jun 5, 2019 at 12:40 PM Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi,
> 
> It is located on NFS storage domain V4.
> 
> Note that there is a bug that will prevent you from creating a VM from a 
> template as with preallocated disks - 
> https://bugzilla.redhat.com/show_bug.cgi?id=1403183 
> <https://bugzilla.redhat.com/show_bug.cgi?id=1403183>
> This was fixed only in version 4.3
> 
> Furthermore, it seems that fix missed the scenario you described.
> 
> Can you please submit a bug and attach the VDSM and the engine logs?


Are all log files located on hosted engine ?
Or something needs to be taken from node PC ?


> 
>  
> 
> 
>> On 5 Jun 2019, at 12:28, Eyal Shenitzky > <mailto:eshen...@redhat.com>> wrote:
>> 
>> Is your disk is based on a file storage domain?
>> 
>> On Wed, Jun 5, 2019 at 12:19 PM Andrei Verovski > <mailto:andre...@starlett.lv>> wrote:
>> Hi !
>> 
>> Followup to my previous post.
>> Creating template from snapshot in 4.2.8 also suffers from the same bug - 
>> allocation policy selected to thin provision even if I select RAW from the 
>> popup menu.
>> Verified twice.
>> 
>> 
>> > Looks like there is some strange glitch creating new VM from template on 
>> > oVirt 4.2.8.2.
>> > 
>> > Basically I’m need to convert disk image from QCOW2 thin allocated to raw 
>> > format in an existing VM.
>> > These are steps performed:
>> > 1) Create snapshot of an existing VM.
>> > 2) Make template from snapshot.
>> > 3) Create new VM using template, in Resource Allocation -> Storage 
>> > Allocation -> Clone  -> Format -> Raw.
>> > 
>> > Unfortunately, newly created VM still have QCOW2 thin allocated disk.
>> > Did this operation twice to be sure, and both times things went wrong.
>> > 
>> > What is done wrong, and how to solve this problem?
>> > Thanks in advance.
>> > 
>> ___
>> 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/ 
>> <https://www.ovirt.org/site/privacy-policy/>
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/ 
>> <https://www.ovirt.org/community/about/community-guidelines/>
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PML643EOXCTC72MRAPP6UYLFSJNAPD7M/
>>  
>> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/PML643EOXCTC72MRAPP6UYLFSJNAPD7M/>
>> 
>> 
>> -- 
>> Regards,
>> Eyal Shenitzky
> 
> ___
> 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/ 
> <https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/COZNUX35NFM5C2PHUN2U3A3XJUMZPFIQ/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/COZNUX35NFM5C2PHUN2U3A3XJUMZPFIQ/>
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


[ovirt-users] Re: Followup: Create New VM from Template Glitch

2019-06-05 Thread Andrei Verovski
Hi,

It is located on NFS storage domain V4.


> On 5 Jun 2019, at 12:28, Eyal Shenitzky  wrote:
> 
> Is your disk is based on a file storage domain?
> 
> On Wed, Jun 5, 2019 at 12:19 PM Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi !
> 
> Followup to my previous post.
> Creating template from snapshot in 4.2.8 also suffers from the same bug - 
> allocation policy selected to thin provision even if I select RAW from the 
> popup menu.
> Verified twice.
> 
> 
> > Looks like there is some strange glitch creating new VM from template on 
> > oVirt 4.2.8.2.
> > 
> > Basically I’m need to convert disk image from QCOW2 thin allocated to raw 
> > format in an existing VM.
> > These are steps performed:
> > 1) Create snapshot of an existing VM.
> > 2) Make template from snapshot.
> > 3) Create new VM using template, in Resource Allocation -> Storage 
> > Allocation -> Clone  -> Format -> Raw.
> > 
> > Unfortunately, newly created VM still have QCOW2 thin allocated disk.
> > Did this operation twice to be sure, and both times things went wrong.
> > 
> > What is done wrong, and how to solve this problem?
> > Thanks in advance.
> > 
> ___
> 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/ 
> <https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/PML643EOXCTC72MRAPP6UYLFSJNAPD7M/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/PML643EOXCTC72MRAPP6UYLFSJNAPD7M/>
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


[ovirt-users] Followup: Create New VM from Template Glitch

2019-06-05 Thread Andrei Verovski
Hi !

Followup to my previous post.
Creating template from snapshot in 4.2.8 also suffers from the same bug - 
allocation policy selected to thin provision even if I select RAW from the 
popup menu.
Verified twice.


> Looks like there is some strange glitch creating new VM from template on 
> oVirt 4.2.8.2.
> 
> Basically I’m need to convert disk image from QCOW2 thin allocated to raw 
> format in an existing VM.
> These are steps performed:
> 1) Create snapshot of an existing VM.
> 2) Make template from snapshot.
> 3) Create new VM using template, in Resource Allocation -> Storage Allocation 
> -> Clone  -> Format -> Raw.
> 
> Unfortunately, newly created VM still have QCOW2 thin allocated disk.
> Did this operation twice to be sure, and both times things went wrong.
> 
> What is done wrong, and how to solve this problem?
> Thanks in advance.
> 
___
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/PML643EOXCTC72MRAPP6UYLFSJNAPD7M/


[ovirt-users] Create New VM from Template Glitch

2019-06-05 Thread Andrei Verovski
Hi !

Looks like there is some strange glitch creating new VM from template on oVirt 
4.2.8.2.

Basically I’m need to convert disk image from QCOW2 thin allocated to raw 
format in an existing VM.
These are steps performed:
1) Create snapshot of an existing VM.
2) Make template from snapshot.
3) Create new VM using template, in Resource Allocation -> Storage Allocation 
-> Clone  -> Format -> Raw.

Unfortunately, newly created VM still have QCOW2 thin allocated disk.
Did this operation twice to be sure, and both times things went wrong.

What is done wrong, and how to solve this problem?
Thanks in advance.
Andrei
___
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/QRCEWEZ2CNX2RIDMARS7CMHUWB6TV5TA/


[ovirt-users] Q: Is it safe to execute on node "saslpasswd2 -a libvirt username" ?

2019-01-23 Thread Andrei Verovski

Hi !

Is it safe to execute on oVirt node this command ?
saslpasswd2 -a libvirt username

Its a production environment, screwing up anything is not an option.
I have no idea how VDSM interacts with libvirt, so not sure about this.

Thanks in advance
Andrei
___
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/YWQUXSQ7F2WOHX3ZUXBQVHOB4KRBFJAO/


[ovirt-users] Q: "virsh list" on oVirt node

2019-01-23 Thread Andrei Verovski
Hi !

“virsh” can’t be executed on oVirt node directly due to authentication problem.
Only "virsh —readonly” are working.

Someone have recommended adding new password with this:
saslpasswd2 -a libvirt username

I know this is somewhat depreciated to hacking directly into oVirt node yet I’m 
still need this.

What is correct, non-destructive to accomplish this?
Thanks in advance.
Andrei
___
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/VUDGH7NUHOC35JMYMEE5EWC3J6SGWOU7/


[ovirt-users] Re: Interface issue when using a macOS workstation

2018-12-04 Thread Andrei Verovski

Hi,

Its not a single quirk with a Mac - spice console also don't work. 
Terminal application is a trash.


Install any Linux desktop under VirtualBox and forget that nightmare.


On 12/5/18 12:45 AM, Vineet Khandpur wrote:

Hello.
Apologies if this has been asked before, but Google came up empty for me.

Recently converted to a Macbook, I've noticed an issue with the oVirt 
interface. When in the Compute > Virtual Machines screen, when I'm 
trying to select multiple VMs, CMD+click doesn't work. I cannot select 
multiple machines at the same time. CNTL+click in macOS sends a right 
click to the interface, and no combination of OPTION/CONTROL/CMD 
works. Tried on Chrome, Firefox and Safari.


SHIFT+click works on selecting multiple hosts when they are all in a 
row, but random select via CMD+click doesn't.


A nudge in the right direction would be greatly appreciated.

Thanks.
vk

Vineet Khandpur
UNIX System Administrator
Information Technology Services
University of Alberta Libraries
+1-780-492-4718

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

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


[ovirt-users] Re: RAID L1/L5/L10 + NFS Loopback Benchmarks

2018-11-21 Thread Andrei Verovski
Hi !

Deadlock of NFS loopback happens with 3.10 stock kernel from CentOS 7.6 only or 
also with 4.x mainline ?

I use 4.x mainline on my nodes.



> On 19 Nov 2018, at 12:59, Simone Tiraboschi  wrote:
> 
> 
> 
> On Sun, Nov 18, 2018 at 12:58 PM Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi !
> 
> I run a series of benchmarks with IOZONE testing performance of 
> different RAID configurations on HP ProLiant DL380 + impact of NFS loopback.
> 
> NFS loopback is necessary even for very small systems (e.g. just 2 
> 
> AFAIK NFS loopback is still considered a bad practice and it's still strongly 
> recommended against since it could lead to deadlock and data loss.
> See https://access.redhat.com/solutions/22231 
> <https://access.redhat.com/solutions/22231>
> I'd strongly recommend a single node hyper-converged gluster over that.
>  
> nodes), since oVirt local storage setup is limited to single (only one) 
> node per data center and this is quite useless from the point of view of 
> functionality.
> 
> Full article:
> http://www.vacuum-tube.eu/wp/?p=537 <http://www.vacuum-tube.eu/wp/?p=537>
> 
> Short YouTube slide show:
> https://www.youtube.com/watch?v=Xw_VN9G8jSI 
> <https://www.youtube.com/watch?v=Xw_VN9G8jSI>
> 
> Related video:
> Moving away from local storage setup to NFS/GlusterFS
> https://www.youtube.com/watch?v=2ebhZ5U6x_Y 
> <https://www.youtube.com/watch?v=2ebhZ5U6x_Y>
> ___
> 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/ 
> <https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/>

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


[ovirt-users] RAID L1/L5/L10 + NFS Loopback Benchmarks

2018-11-18 Thread Andrei Verovski

Hi !

I run a series of benchmarks with IOZONE testing performance of 
different RAID configurations on HP ProLiant DL380 + impact of NFS loopback.


NFS loopback is necessary even for very small systems (e.g. just 2 
nodes), since oVirt local storage setup is limited to single (only one) 
node per data center and this is quite useless from the point of view of 
functionality.


Full article:
http://www.vacuum-tube.eu/wp/?p=537

Short YouTube slide show:
https://www.youtube.com/watch?v=Xw_VN9G8jSI

Related video:
Moving away from local storage setup to NFS/GlusterFS
https://www.youtube.com/watch?v=2ebhZ5U6x_Y
___
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/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/


[ovirt-users] Re: Reg: Virt-viewer for MAC

2018-11-17 Thread Andrei Verovski


Tried it several months ago, it simply didn't worked.

From discussion here dated summer 2018:
https://access.redhat.com/discussions/901623
> Unfortunately, official support for a macOS Spice client is still not 
in the pipeline.


May be you could try to rebuild it with homebrew or finkproject.
https://brew.sh/
http://www.finkproject.org/


On 11/17/18 1:53 PM, syedquad...@ctel.in wrote:

Hi,

Do we have any link to download virt-viewer.dmg file, So that I can run
easily

-Original Message-
From: Andrei Verovski 
Sent: Saturday, November 17, 2018 4:10 PM
To: users@ovirt.org
Cc: syedquad...@ctel.in
Subject: Re: [ovirt-users] Reg: Virt-viewer for MAC

Hi !

Install VirtualBox (free & open source) + any Linux desktop or Windows.

I use VirtualBox on several Macs and PCs to run some Windows software.

On 11/17/18 11:16 AM, syedquad...@ctel.in wrote:

Dear Team,

Please help me to access ovirt VDI on mac book, as I cannot find any
remote viewer client(virt-viewer) for mac. So please provide download
link.

//

//

//

//

/linux-admin-training/

/Thanks & Regards,/

/Syed Abdul Qadeer./

/7660022818./


___
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/OQ3KSZCL
SOB5AP5ZGUVC533SNL5QXKTC/



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


[ovirt-users] Re: Reg: Virt-viewer for MAC

2018-11-17 Thread Andrei Verovski

Hi !

Install VirtualBox (free & open source) + any Linux desktop or Windows.

I use VirtualBox on several Macs and PCs to run some Windows software.

On 11/17/18 11:16 AM, syedquad...@ctel.in wrote:


Dear Team,

Please help me to access ovirt VDI on mac book, as I cannot find any 
remote viewer client(virt-viewer) for mac. So please provide download 
link.


//

//

//

//

/linux-admin-training/

/Thanks & Regards,/

/Syed Abdul Qadeer./

/7660022818./


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

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


[ovirt-users] Q: Guest shutdown from UPS power off signal with "virsh"

2018-11-08 Thread Andrei Verovski
Hi !

I have a shell script running on all servers which intercepts power off signal 
(in case of power failure).

Is it safe to use direct KVM “virsh” commands to force guest shutdown on oVirt 
nodes, bypassing oVirt engine ?

“shutdown now” directly on oVirt nodes v4.2.6 takes an enormous amount of time 
because for whatever reason guests can’t be suspended. My nodes installed on 
CentOS 7.5, I’m not using pre-packaged version because each consecutive upgrade 
simply wipes out all my mods.

Thanks in advance.
Andrei


PS. I found this script to shutdown KVM guests:
***
#!/bin/bash

# 
https://ask.fedoraproject.org/en/question/8796/make-libvirt-to-shutdown-my-guests-not-suspend/

LIST_VM=`virsh list | grep running | awk '{print $2}'`
TIMEOUT=90
DATE=`date -R`
LOGFILE="/var/log/shutdownkvm.log"

if [ "x$activevm" =  "x" ]
then
exit 0
fi

for activevm in $LIST_VM
do
PIDNO=`ps ax | grep $activevm | grep kvm | cut -c 1-6 | head -n1`
echo "$DATE : Shutdown : $activevm : $PIDNO" >> $LOGFILE
virsh shutdown $activevm > /dev/null
COUNT=0

while [ "$COUNT" -lt "$TIMEOUT" ]
do
ps --pid $PIDNO > /dev/null
if [ "$?" -eq "1" ]
then
COUNT=110
else
sleep 5
COUNT=$(($COUNT+5))
fi
done

if [ $COUNT -lt 110 ]
then
echo "$DATE : $activevm not successful force shutdown" >> 
$LOGFILE
virsh destroy $activevm > /dev/null
fi
done
___
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/5VLULJB6A7RSEL5PU4SBXGNTQZCIQBRP/


[ovirt-users] Re: Best Practice for Controller Backup

2018-11-02 Thread Andrei Verovski

Hi,

I'm run host engine as KVM appliance on our file server (SuSE Linux).
KVM appliance is very easy to back up, use snapshot or even better clone.


On 11/1/18 3:19 PM, David Johnson wrote:
Is there a best practice for configuring a secondary ovirt engine to 
take over in case of engine failure?


Thank you

Regards,
David Johnson


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

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


[ovirt-users] Tutorial for beginners:: oVirt - how to add 2nd (DMZ) net interface for VMs

2018-10-24 Thread Andrei Verovski

Hi,


I made another short video tutorial (slide show with screenshots and 
instruction) for beginners.


Explains how to add additional network interfaces (e.g. DMZ) to virtual 
machines running under oVirt/KVM.


https://youtu.be/ij4uMv9N1wo

Best when viewed in full-screen mode at 1080p resolution for clear text 
on screenshots.


with best regards
Andrei
___
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/BEWCQSDPTDS7BKZQTXQMT66IUMHB3QN2/


[ovirt-users] Tutorial for beginners: oVirt - moving away from local storage setup to NFS/GlusterFS

2018-10-23 Thread Andrei Verovski
Hi,

I made short video tutorial (slide show with screenshots and instruction) for 
beginners:
oVirt - moving away from local storage setup to shared/networked one (main 
currently uses NFS loopback).

https://www.youtube.com/watch?v=2ebhZ5U6x_Y

Hopefully someone may avoid common mistakes, and if not, remedy situation with 
minimal time and effort.

Feedback and comments are welcome.

with best regards
Andrei
___
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/22AP6R4M7WUD6J5AR54J3G3434BKANSH/


[ovirt-users] Re: aquantia 107 (10Gbase-T NIC) driver for oVirt node-ng?

2018-10-19 Thread Andrei Verovski

> On 19 Oct 2018, at 01:08, Edward Berger  wrote:
> 
> I'm not sure where to send a request for including the current Aquantia 107 
> (10GbaseT nic) driver to be included in the ovirt-node-ng image.  I don't see 
> a centos RPM for kmod-redhat-atlantic, apparently there's a scientific linux 
> rpm available for download. 


Use CentOS 7.5 for node installation, and upgrade kernel to 4.xx from EPEL 
repository.
Should work if kernel driver is there.
Stock oVirt node install wipes out all changes upon upgrade.
___
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/IVA6BDS2GX5VEQNH5H7QKGJDI7423VCV/


[ovirt-users] Re: ovirt - in docker

2018-10-10 Thread Andrei Verovski

Hi,

I'm running Ovirt Engine under CentOS KVM guest installed on qcow2 image 
on SuSE Linux host (actually corporate file server), VMs managed by 
Virtual Machine Manager GUI (virt-manager).

On Debian, Ubuntu or CentOS  you can use Cockpit web GUI for same purpose

Disk image backed up weekly to another hard drive, and if necessary, 
moved to any other Linux distro with minimal effort.


Not exactly what you are looking for, but quite close.
Same can be done with Virtual Box.


On 10/10/18 9:59 PM, ReSearchIT Eng wrote:

The official repo is for engine, and it's 4.1.
I am interested to run the entire ovirt in containers, without
installing anything on the machine itself.
PS: I need ovirt to manage only vms (not docker containers).
On Wed, Oct 10, 2018 at 3:51 PM Andrei Verovski  wrote:

Hi,

You mean engine or node ? I don’t think its possible to run node in docker.



On 9 Oct 2018, at 12:09, ReSearchIT Eng  wrote:

Hello!
I am interested to run ovirt in docker container.
It was noticed that there is an official repo for it:
https://github.com/oVirt/ovirt-container-engine
Unfortunately it did not get an update for 2 years (4.1).

Can anyone help with the required answers/entrypoint/patch files for
the new 4.2 ?

Thanks!
___
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/34DVAPII4VARGTTBIV6G7M5R67FXTYJ7/

___
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/5WVOX7TXY2GKFAGJ224O5WMU77WBRWSK/


[ovirt-users] Re: ovirt - in docker

2018-10-10 Thread Andrei Verovski
Hi,

You mean engine or node ? I don’t think its possible to run node in docker.


> On 9 Oct 2018, at 12:09, ReSearchIT Eng  wrote:
> 
> Hello!
> I am interested to run ovirt in docker container.
> It was noticed that there is an official repo for it:
> https://github.com/oVirt/ovirt-container-engine
> Unfortunately it did not get an update for 2 years (4.1).
> 
> Can anyone help with the required answers/entrypoint/patch files for
> the new 4.2 ?
> 
> Thanks!
> ___
> 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/34DVAPII4VARGTTBIV6G7M5R67FXTYJ7/
___
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:


[ovirt-users] Re: Home ovirt setup (new to ovirt)

2018-10-09 Thread Andrei Verovski
Hi,

I have 2 oVirt nodes running with NFS loopback, everything is OK so far. 
Didi, thanks anyway for warning.

Ryan, I would suggest you to install oVirt Engine on separate PC.


> On 9 Oct 2018, at 09:31, Yedidyah Bar David  wrote:
> 
> On Tue, Oct 9, 2018 at 9:08 AM Ryan Coe  wrote:
>> 
>> Hi Femi
>> 
>> Yes, 1 server acting as a host
> 
> You might want to try gluster:
> 
> https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Single_node_hyperconverged/
> 
> In the past, loopback-mounting of NFS was considered risky, due to
> locking issues (unrelated to oVirt). Not sure about current state.
> 
> Best regards,
> -- 
> Didi
> ___
> 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/5AHTD3AIJ4HMX4MQNEVQBDMVKM5K4ISF/
___
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/JLZNJHXEHJUVWE2WEEMOI4AMUX7WYQOH/


[ovirt-users] New Facebook Group - Virtualization HQ (oVirt, KVM, Xen, Linux HA Clusters)

2018-09-26 Thread Andrei Verovski

Hi,

I just created new Facebook group dedicated to virtualization and 
clustering solution(s) based on oVirt, KVM, Xen, Linux HA Clusters.


Everyone here is welcome:
https://www.facebook.com/groups/227612258112186/

Group rules:

Allowed posts: tips and tricks from experts, technical questions and 
requests for both volunteer and paid support.


Posts require prior approval:
1) Commercial services offered (only related to this group subject), 
with the exception of replies to paid requests for technical support 
from other group members.

2) Job offers / job seekers.
3) Sale of hardware owned by group members (not dealers / resellers).

Classifieds from resellers of server hardware - new, used, surplus, and 
refurbished may be SOMETIMES allowed with prior approval (without $$$ 
fee), if represent an exceptional value of interest for group members.


with best regards
Andrei
___
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/VXSKW3MO7235RV4ZQULZ6WUA5TIN3HCK/


[ovirt-users] Re: Proxmox - oVirt Migration

2018-09-18 Thread Andrei Verovski
Hi,

Try to upload qcow into import domain via SSH, may be it will work, but I’m not 
sure.

Another way is to hack oVirt - create VM with qcow2 image, rename yours, 
replace via ssh, fix permissions.


> On 18 Sep 2018, at 08:00, Leo David  wrote:
> 
> Thank you Andrei,
> This would be fine in case of a few vms, but not so practical for many of 
> them to import.
> I will try by using virt-p2v.iso to boot on source vm, and get it converted 
> to an existing oVirt nfs export domain. From where to import them in the 
> oVirt cluster.
> Will let you know about results..
> If any other procedure available, please let me know.
> Thanks a lot,
> 
> Leo
> 
> 
> On Tue, Sep 18, 2018, 00:21 Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi,
> 
> Try this:
> 
> 1) Storage -> Disks -> Upload -> Start
> select your existing qcow image
> 
> 2) Create new VM, and then General -> Instance Images, clock "+" and  
> "Attach", select imported disk image.
> 
> I think it should work.
> 
> PS Someone from oVirt dev team please confirm, I didn't tried import 
> existing qcow2.
> 
> 
> On 9/17/18 3:30 PM, Leo David wrote:
> > Hello everyone,
> > I have this situation where I need to migrate about 20 vms from 
> > Proxmox to oVirt.
> > In this case,  its about qcow2 images running on Proxmox.
> > I there a recomended way and procedure for doing this ?
> > Thank you very much !
> >
> > -- 
> > Best regards, Leo David
> >
> > ___
> > 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/ 
> > <https://www.ovirt.org/site/privacy-policy/>
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/ 
> > <https://www.ovirt.org/community/about/community-guidelines/>
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/YV5CMHDZSXJ5FQ3QRYNL2QKGXGKYHS7L/
> >  
> > <https://lists.ovirt.org/archives/list/users@ovirt.org/message/YV5CMHDZSXJ5FQ3QRYNL2QKGXGKYHS7L/>
> ___
> 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/ 
> <https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://www.ovirt.org/community/about/community-guidelines/>
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBW46XILAAVZIPN7Q6SP7ARJCFYO5GPG/
>  
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBW46XILAAVZIPN7Q6SP7ARJCFYO5GPG/>

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


[ovirt-users] Re: Proxmox - oVirt Migration

2018-09-17 Thread Andrei Verovski

Hi,

Try this:

1) Storage -> Disks -> Upload -> Start
select your existing qcow image

2) Create new VM, and then General -> Instance Images, clock "+" and  
"Attach", select imported disk image.


I think it should work.

PS Someone from oVirt dev team please confirm, I didn't tried import 
existing qcow2.



On 9/17/18 3:30 PM, Leo David wrote:

Hello everyone,
I have this situation where I need to migrate about 20 vms from 
Proxmox to oVirt.

In this case,  its about qcow2 images running on Proxmox.
I there a recomended way and procedure for doing this ?
Thank you very much !

--
Best regards, Leo David

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

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


[ovirt-users] Q: Power failure - proper data center shutdown procedure

2018-07-26 Thread Andrei Verovski
Hi,

I have the following simple setup:

oVirt engine - 4.2.3 (running as KVM appliance on SuSE Linux)
node1.1 - 4.2.1 (installed with clean CentOS and newer elrepo 4.15.4-1el1 
kernel)
node1.2 - 4.2.3 (installed with clean CentOS and newer elrepo 4.16.2-1el7 
kernel)

VMs - Debian, CentOS, and Windows guests, with ovirt-agent installed (except 
one with Linux telephony software).

What is the proper shutdown procedure in case of power failure?
I have simple scripts which simply run “shutdown now” on each host after 10 min.

However, oVirt nodes fail to shutdown properly, process take about 25 minutes.

node1.2
libvirt-guests.sh[10696]: Waiting for guest GUEST_VM_NAME to shut down

node1.1 - these processes took VERY LONG time:
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_export…
Unmounting /rhev/data-center/mnt/node12.mydomain.com:_vm_raid_nfs_disks…
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_disks…
Unmounting /rhev/data-center/mnt/node11.mydomain.com:_vm_raid_nfs_iso…

on both nodes:
[] Forcibly powering off: job timed out

as result, OS is down, server is not, still drawing power from UPS battery.

Powering on was problematic, I had to restart node11 2nd time before it becomes 
“green” in oVirt engine.
One VM failed to start with error message “Can’t acquire ticket” and struck 
with grey arrows (with no possibilty to make anything) - unfortunately, I 
forgot to take screenshot or record exact message. Restarting node1.1 cured 
that problem.

Q: what is proper oVirt data center automatic shutdown procedure?

Thanks in advance
Andrei


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


[ovirt-users] Re: Raid configuration for single instance

2018-07-16 Thread Andrei Verovski
Hi,

Looks almost good, see comments below.

> On 16 Jul 2018, at 13:48, Leo David  wrote:
> 
> Thank you very much,  really helpfull.
> So I will have:
> 2 x Sandisk ssd plus 240GB ( still consumer grade ) for OS

Run continues (2+ hours, random + sequential read/write) iozone tests (in a 
loop) before launching system on these SSD RAID.
You may be lucky or may be not.

> 2 x Samsung sm863a ( dc grade ) 1.9TB for creating 1 x raid1 ssd volume
> 4 x Dell 2.4TB spinning ( dc grade ) for creating 1 x raid10 spinning volume
> 1 x nvme car for quick / non critical fast volume
> - I would go for gluster since there are chances to extend the cluster in 
> near future.

You can also set shared volume on (at least) 2 x external SAN, NAS, NFS server, 
whatever.

> Any thoughts on this config ?
> Any thougts on configuring the perc controller to be gluster optimized ( for 
> replicated / ditributed replicated volumes ) ?

Don’t think there are gluster-optimized settings.
Run iozone tests to find optimal settings depending on your workload.

> 
> Again,  thank you very much !
> 
> 
> 
> On Mon, Jul 16, 2018 at 1:11 PM, Andrei Verovski  <mailto:andre...@starlett.lv>> wrote:
> Hi, Leo,
> 
> I would recommend the following configuration:
> RAID1 120GB for the OS and oVirt software
> RAID10 (GB whatever you need) for VM data
> I tested RAID5 it appears slower then RAID10.
> 
> Please note consumer SSD may appear to work with SAS RAID controller yet 
> actually they DO NOT !
> Load them with IOZONE stress test, and you will see complete freeze, and in 
> case of OS install on these SSD, unbootable dead system.
> 
> I tested consumer WD and KingFast SATA SSD, with both HP and 3Ware/Broadcom 
> SAS RAID cards, all of them failed IOZONE stress test.
> BTW, you can buy 120GB used SAS server disks on ebay for something close to 
> nothing.
> Conventional (mechanical) SATA hard drives work fine with SAS RAID cards (at 
> least in my case).
> 
> For single server you don’t need glusterfs, nfs is enough.
> 
> 
> > On 16 Jul 2018, at 09:27, Leo David  > <mailto:leoa...@gmail.com>> wrote:
> > 
> > Hello everyone,
> > Based on your experiance or well know best practices can you provide me 
> > with an advice on raid configuration ?
> > I have a single server, that will have a couple of brand new enterprise 
> > grade ssds, spinning and one pci nvme card.
> > The server ( Dell PE r630 ) comes wirt Perc h730p raid controller with 2gb 
> > cache.
> > I am thinking of creating a raid 1 array with the 2 of ssd's and ne raid10 
> > array woth the rest of for spinning hdds. Then different gluster volume on 
> > each,  to provide me 2 ( ssd / sata )  storage domains.
> > What do you think on haveing raid1 / raid10 as underlying HA storage for 
> > gluster volumes ?
> > At the moment a have some consumer devices ( samsung evo & seagate spinning 
> > shingled type ) and about every day the vms get into "VM has been paused 
> > due to storage IO errors" - i am thinking because of bad type hdds.
> > Any thoughts on these ?
> > Thank you ,
> > 
> > Leo
> > -- 
> > Best regards, Leo David
> > ___
> > 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/ 
> > <https://www.ovirt.org/site/privacy-policy/>
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/ 
> > <https://www.ovirt.org/community/about/community-guidelines/>
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/NC2QQNT2E57DYZ3W6MZUBQO75RHSZOBY/
> >  
> > <https://lists.ovirt.org/archives/list/users@ovirt.org/message/NC2QQNT2E57DYZ3W6MZUBQO75RHSZOBY/>
> 
> 
> 
> 
> -- 
> Best regards, Leo David

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


[ovirt-users] Re: Raid configuration for single instance

2018-07-16 Thread Andrei Verovski
Hi, Leo,

I would recommend the following configuration:
RAID1 120GB for the OS and oVirt software
RAID10 (GB whatever you need) for VM data
I tested RAID5 it appears slower then RAID10.

Please note consumer SSD may appear to work with SAS RAID controller yet 
actually they DO NOT !
Load them with IOZONE stress test, and you will see complete freeze, and in 
case of OS install on these SSD, unbootable dead system.

I tested consumer WD and KingFast SATA SSD, with both HP and 3Ware/Broadcom SAS 
RAID cards, all of them failed IOZONE stress test.
BTW, you can buy 120GB used SAS server disks on ebay for something close to 
nothing.
Conventional (mechanical) SATA hard drives work fine with SAS RAID cards (at 
least in my case).

For single server you don’t need glusterfs, nfs is enough.


> On 16 Jul 2018, at 09:27, Leo David  wrote:
> 
> Hello everyone,
> Based on your experiance or well know best practices can you provide me with 
> an advice on raid configuration ?
> I have a single server, that will have a couple of brand new enterprise grade 
> ssds, spinning and one pci nvme card.
> The server ( Dell PE r630 ) comes wirt Perc h730p raid controller with 2gb 
> cache.
> I am thinking of creating a raid 1 array with the 2 of ssd's and ne raid10 
> array woth the rest of for spinning hdds. Then different gluster volume on 
> each,  to provide me 2 ( ssd / sata )  storage domains.
> What do you think on haveing raid1 / raid10 as underlying HA storage for 
> gluster volumes ?
> At the moment a have some consumer devices ( samsung evo & seagate spinning 
> shingled type ) and about every day the vms get into "VM has been paused due 
> to storage IO errors" - i am thinking because of bad type hdds.
> Any thoughts on these ?
> Thank you ,
> 
> Leo
> -- 
> Best regards, Leo David
> ___
> 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/NC2QQNT2E57DYZ3W6MZUBQO75RHSZOBY/
___
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/U4APOT4OPV7BIL4ZBC2RFKNZVUZBTYXC/


[ovirt-users] Add new node failure - 2nd network (DMZ)

2018-04-16 Thread Andrei Verovski
Hi,

I have simple cluster with node11 having 2nd network for DMZ zone (for internet 
servers). This network attached to node11 2nd ethernet adapter called 
‘DMZ_node11’.

Now I’m trying to add 2nd host to the cluster (node12).
Attempt to activate newly added node12 results in this error.
Host node12 does not comply with the cluster ClusterRiga11 networks, the 
following networks are missing on host: ‘DMZ_node11'

However, I found no way to add new host to the oVirt network ‘DMZ_node11’.
Network -> Networks -> DMZ_Node11 -> Setup Host Network lists only Ethernet 
interfaces on node11, not on new node12.

Cluster is running, screwing something up is not an option.

How I can fix this problem ?

Thanks in advance.
Andrei

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


[ovirt-users] Q: Change MAC address of an existing VM

2018-04-04 Thread Andrei Verovski
Hi,

Change MAC address  of an existing VM:
Compute -> Virtual machines -> Edit network -> Custom Mac Address

This will change MAC address of only ONE VM, right ?
Not for all VMs connected to the same ovirt-mgmt interface.


Thanks
Andrei

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


[ovirt-users] overt-guest-agent Failure on latest Debian 9 Sretch

2018-03-26 Thread Andrei Verovski
Hi,

I just installed latest Debian 9 Sretch under oVirt 4.2 and got this error:

# tail -n 1000 ovirt-guest-agent.log 
MainThread::INFO::2018-03-26 
17:09:57,400::ovirt-guest-agent::59::root::Starting oVirt guest agent
MainThread::ERROR::2018-03-26 
17:09:57,402::ovirt-guest-agent::141::root::Unhandled exception in oVirt guest 
agent!
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 135, in 

agent.run(daemon, pidfile)
  File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 65, in run
self.agent = LinuxVdsAgent(config)
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 472, in __init__
AgentLogicBase.__init__(self, config)
  File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 188, in __init__
self.vio = VirtIoChannel(config.get("virtio", "device"))
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 153, in __init__
self._stream = VirtIoStream(vport_name)
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 134, in __init__
self._vport = os.open(vport_name, os.O_RDWR)
OSError: [Errno 2] No such file or directory: 
'/dev/virtio-ports/com.redhat.rhevm.vdsm’

Followed this manual:
https://bugzilla.redhat.com/show_bug.cgi?id=1472293
and run
touch /etc/udev/rules.d/55-ovirt-guest-agent.rules 
# edit  /etc/udev/rules.d/55-ovirt-guest-agent.rules 
SYMLINK=="virtio-ports/ovirt-guest-agent.0", OWNER="ovirtagent", 
GROUP="ovirtagent"
udevadm trigger --subsystem-match="virtio-ports”

AND this

http://lists.ovirt.org/pipermail/users/2018-January/086101.html
touch /etc/ovirt-guest-agent/ovirt-guest-agent.conf# <— it didn't existed 
so I created it.
# edit /etc/ovirt-guest-agent.conf
[virtio]
device = /dev/virtio-ports/ovirt-guest-agent.0

reboot

Yet still have same problem and error message.
How to solve it ?

Thanks in advance
Andrei

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


Re: [ovirt-users] Testing oVirt 4.2

2018-03-24 Thread Andrei Verovski
On 03/24/2018 01:40 PM, Andy Michielsen wrote:
> Hello,
>
> I also have done a installation on my host running KVM and I ‘m pretty
> sure my vm’s can only use the 192.168.122.0/24 range if you install
> them with NAT networking when creating them. So that might explain why
> you see that address appear in your log and also explain why the
> engine system can’t be reached.

Can't tell fo sure about other installations, yet IMHO problem is with
networking schema.

One need to set bridge to real ethernet interface and add it to KVM VM
definition.

For example, my SuSE box have 2 ethernet cards, 192.168.0.aa for SMB fle
server and another bridged with IP 192.168.0.bb defined within KVM guest
(CentOS 7.4 with oVirt host engine). See configs below.

Another SuSE box have 10 Ethernet interfaces, one for for its own needs,
and 4 + 3 for VyOS routers running as KVM guests.

**

SU47:/etc/sysconfig/network # tail -n 100 ifcfg-br0
BOOTPROTO='static'
BRIDGE='yes'
BRIDGE_FORWARDDELAY='0'
BRIDGE_PORTS='eth0'
BRIDGE_STP='off'
BROADCAST=''
DHCLIENT_SET_DEFAULT_ROUTE='no'
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NETWORK=''
PREFIXLEN='24'
REMOTE_IPADDR=''
STARTMODE='auto'
NAME=''

SU47:/etc/sysconfig/network # tail -n 100 ifcfg-eth0
BOOTPROTO='none'
BROADCAST=''
DHCLIENT_SET_DEFAULT_ROUTE='no'
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='82579LM Gigabit Network Connection'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
PREFIXLEN=''


>
> Kind regards.
>
> On 24 Mar 2018, at 12:13, wodel youchi  > wrote:
>
>> Hi,
>>
>> I am testing oVirt 4.2, I am using nested KVM for that.
>> I am using two hypervisors Centos 7 updated and the hosted-Engine
>> deployment using the ovirt appliance.
>> For storage I am using iscsi and NFS4
>>
>> Versions I am using :
>> ovirt-engine-appliance-4.2-20180214.1.el7.centos.noarch
>> ovirt-hosted-engine-setup-2.2.9-1.el7.centos.noarch
>> kernel-3.10.0-693.21.1.el7.x86_64
>>
>> I have a problem deploying the hosted-engine VM, when configuring the
>> deployment (hosted-engine --deploy), it asks for the engine's
>> hostname then the engine's IP address, I use static IP, in my lab I
>> used *192.168.1.104* as IP for the VM engine, and I choose to add the
>> it's hostname entry to the hypervisors's /etc/hosts
>>
>> But the deployment get stuck every time in the same place : *TASK
>> [Wait for the host to become non operational]*
>>
>> After some time, it gave up and the deployment fails.
>>
>> I don't know the reason for now, but I have seen this behavior in
>> */etc/hosts *of the hypervisor.
>>
>> In the beginning of the deployment the entry  *192.168.2.104
>> engine01.example.local* is added, then sometime after that it's
>> deleted, then a new entry is added with this
>> IP *192.168.122.65engine01.wodel.wd* which has nothing to do with the
>> network I am using.
>>
>> Here is the error I am seeing in the deployment log
>>
>> 2018-03-24 11:51:31,398+0100 INFO
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:100 TASK [Wait
>> for the host to become non operational]
>> 2018-03-24 12:02:07,284+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:94 {u'_ansible
>> _parsed': True, u'_ansible_no_log': False, u'changed': False,
>> u'attempts': 150, u'invocation': {u'module_args': {u'pattern':
>> u'name=hyperv01.wodel.wd', u'fetch_nested': False,
>> u'nested_attributes': []}}, u'ansible_facts': {u'ovirt_hosts': []}}
>> 2018-03-24 12:02:07,385+0100 ERROR
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:98 fatal: [loc
>> alhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": []},
>> "attempts": 150, "changed": false}
>> 2018-03-24 12:02:07,587+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:94 PLAY RECAP
>> [engine01.wodel.wd] : ok: 15 changed: 8 unreachable: 0 skipped: 4
>> failed: 0
>> 2018-03-24 12:02:07,688+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:94 PLAY RECAP
>> [localhost] : ok: 41 changed: 14 unreachable: 0 skipped: 3 failed: 1
>> 2018-03-24 12:02:07,789+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:180
>> ansible-playbook rc: 2
>> 2018-03-24 12:02:07,790+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:187
>> ansible-playbook stdou
>> t:
>> 2018-03-24 12:02:07,791+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:189
>>  to retry, use: --limi
>> t @/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.retry
>>
>> 2018-03-24 12:02:07,791+0100 DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:190
>> ansible-playbook stder
>> r:
>> 2018-03-24 12:02:07,792+0100 DEBUG otopi.context
>> context._executeMethod:143 method exception
>> Traceback (most recent call last):
>>  File 

Re: [ovirt-users] Which hardware are you using for oVirt

2018-03-24 Thread Andrei Verovski
Hi,

HL ProLiant DL380, dual Xeon
120 GB RAID L1 for system
2 TB RAID L10 for VM disks
5 VMs, 3 Linux, 2 Windows
Total CPU load most of the time is  low, high level of activity related
to disk.
Host engine under KVM appliance on SuSE, can be easily moved, backed up,
copied, experimented with, etc.

You'll have to use servers with more RAM and storage than main.
More then one NIC required if some of your VMs are on different subnets,
e.g. 1 in internal zone and 2nd on DMZ.
For your setup 10 GB NICs + L3 Switch for ovirtmgmt.

BTW, I would suggest to have several separate hardware RAIDs unless you
have SSD, otherwise limit of the disk system I/O will be a bottleneck.
Consider SSD L1 RAID for heavy-loaded databases.

*Please note many cheap SSDs do NOT work reliably with SAS controllers
even in SATA mode*.

For example, I supposed to use 2 x WD Green SSD configures as RAID L1
for OS.
It was possible to install system, yet under heavy load simulated with
iozone disk system freeze, rendering OS unbootable.
Same crash was experienced with 512GB KingFast SSD connected to
broadcom/AMCC SAS RAID Card.


On 03/24/2018 10:33 AM, Andy Michielsen wrote:
> Hi all,
>
> Not sure if this is the place to be asking this but I was wondering which 
> hardware you all are using and why in order for me to see what I would be 
> needing.
>
> I would like to set up a HA cluster consisting off 3 hosts to be able to run 
> 30 vm’s.
> The engine, I can run on an other server. The hosts can be fitted with the 
> storage and share the space through glusterfs. I would think I will be 
> needing at least 3 nic’s but would be able to install ovn. (Are 1gb nic’s 
> sufficient ?)
>
> Any input you guys would like to share would be greatly appriciated.
>
> Thanks,
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


[ovirt-users] Attach Export Domain to another Data Center - Failure

2018-03-21 Thread Andrei Verovski
Hi,

I have 2-host oVirt setup with 2 Data Centers, one with local storage domain 
(DC #1) for VMs + Export domain on NFS, another with all NFS shared (DC #2).
Trying to export VMs from DC #1 to DC #2.
VMs are exported to DC #1 export domain (NFS), then domain put into maintenance 
mode and detached from DC #1.

Unfortunately, attaching it to DC #2 failed. Logs attached. Tried to run this 
command twice.
Workaround are possible in order to accomplish this task, yet it would be 
better to do in a way as it was designed.
Thanks.


2018-03-21 10:43:24,024+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] EVENT_ID: 
USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain 
node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)
2018-03-21 10:46:16,512+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-128956) [1435fc81] EVENT_ID: 
VDS_STORAGES_CONNECTION_FAILED(188), Failed to connect Host node11 to the 
Storage Domains node10-NFS-EXPORTS.
2018-03-21 10:46:16,651+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-128955) 
[a81ffa4a-5a58-41a0-888a-f0edc321609b] EVENT_ID: 
USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain 
node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)


tail -n 1000 engine.log | grep 570ec5d9-fff5-4656-afbd-90b3207a616e
2018-03-21 10:41:14,643+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(default task-2) [570ec5d9-fff5-4656-afbd-90b3207a616e] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', 
sharedLocks=''}'
2018-03-21 10:41:16,129+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] Running command: 
AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: 
1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN,  ID: 
80cc922f-8dea-4fed-b951-1060ba116ad5 Type: StoragePoolAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2018-03-21 10:43:23,564+02 ERROR 
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] Cannot connect storage connection 
server, aborting attach storage domain operation.
2018-03-21 10:43:23,567+02 INFO  [org.ovirt.engine.core.bll.CommandCompensator] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] Command 
[id=921ca7cd-4f93-46aa-8de2-91b13b8f96cb]: Compensating NEW_ENTITY_ID of 
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: 
StoragePoolIsoMapId:{storagePoolId='80cc922f-8dea-4fed-b951-1060ba116ad5', 
storageId='1d7208ce-d3a1-4406-9638-fe7051562994'}.
2018-03-21 10:43:24,024+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] EVENT_ID: 
USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain 
node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)
2018-03-21 10:43:24,114+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(EE-ManagedThreadFactory-engine-Thread-128904) 
[570ec5d9-fff5-4656-afbd-90b3207a616e] Lock freed to object 
'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', 
sharedLocks=''}'



[root@node00 ovirt-engine]# tail -n 1000 engine.log | grep 
a81ffa4a-5a58-41a0-888a-f0edc321609b
2018-03-21 10:44:11,025+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(default task-16) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Lock Acquired to 
object 
'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', 
sharedLocks=''}'
2018-03-21 10:44:11,236+02 INFO  
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(EE-ManagedThreadFactory-engine-Thread-128955) 
[a81ffa4a-5a58-41a0-888a-f0edc321609b] Running command: 
AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: 
1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN,  ID: 
80cc922f-8dea-4fed-b951-1060ba116ad5 Type: StoragePoolAction group 
MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2018-03-21 10:46:16,567+02 ERROR 
[org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] 
(EE-ManagedThreadFactory-engine-Thread-128955) 
[a81ffa4a-5a58-41a0-888a-f0edc321609b] Cannot connect storage connection 

Re: [ovirt-users] Q: Copying VMs between Export domains of different data centres

2018-03-20 Thread Andrei Verovski
> On Tue, Mar 20, 2018 at 4:26 PM, Eyal Shenitzky <eshen...@redhat.com 
> <mailto:eshen...@redhat.com>> wrote:
> Hi Andrei,
> 
> I think you miss understand the concept of export domain.
> 
> Export domain allows you to pass entities from one data center to another.


OK, now I’ve got it. Thanks for so clear and short explanation. It should go 
straight into the oVirt manual and QA.

One Data Center can have only one Export storage domain, right ?

So 1 (single) export domain used as some kind of shared exchange buffer (VM 
“clipboard” in desktop metaphor) in whole oVirt setup, per 1 host engine.


> 
> The flow is:
> 
> 1) Create an export domain in DC-A
> 2) Export required entities to the export domain
> 3) Deactivate (enter the storage domain to maintenance mode) and detach the 
> export domain
> 4)  Attach the export domain to DC-B and import the entities to it.
> 
> You can see more information here:
> -  https://www.ovirt.org/documentation/admin-guide/chap-Storage/ 
> <https://www.ovirt.org/documentation/admin-guide/chap-Storage/>
> 
> 
> 
> 
> 
> On Tue, Mar 20, 2018 at 4:04 PM, Andrei Verovski <andre...@starlett.lv 
> <mailto:andre...@starlett.lv>> wrote:
> Hi,
> 
> I have 2 data centers (with 1 node each because 1 have local data domain)
> 
> Copied exported from DC #1, exports -> 1d7208ce-d3a1-4406-9638-fe7051562994 
> -> images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with 2 files inside
> fc469474-94fd-416b-b921-58604f46411c - 171 GB (seems like disk image)
> fc469474-94fd-416b-b921-58604f46411c.meta
> 
> to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c837483c5e41 -> images -> 
> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with these above listed files inside.
> (screenshot attached)
> 
> However, in “Import Virtual machine(s)” dialog this VM is not visible even 
> after running “Load” command inside import dialog.
> Looks like for whatever reason oVirt don’t refresh content of this directory.
> 
> How to instruct oVirt to refresh and index these files?
> 
> Or this method won’t work at all, and one have to import/export OVA images, 
> or use lengthy procedure described by Fred Roland here ?
> http://lists.ovirt.org/pipermail/users/2018-February/087304.html 
> <http://lists.ovirt.org/pipermail/users/2018-February/087304.html>
> 
> Thanks.
> Andrei
> 
> 
> 
> 
>  
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
> 
> 
> -- 
> Regards,
> Eyal Shenitzky
> 
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


Re: [ovirt-users] Q: Removing stuff from EXPORT domain

2018-03-20 Thread Andrei Verovski


> On 20 Mar 2018, at 16:29, Eyal Shenitzky <eshen...@redhat.com> wrote:
> 
> Please try to press on the storage domain name while you are at the storage 
> domains list.


OK, that works, yet it really not intuitive.

Extra button in the top bar, something like “more options…”, or extra menu item 
in popup at top right corner would be really helpful.


> 
> On Tue, Mar 20, 2018 at 4:22 PM, Andrei Verovski <andre...@starlett.lv 
> <mailto:andre...@starlett.lv>> wrote:
> 
> 
>> On 20 Mar 2018, at 16:01, Eyal Shenitzky <eshen...@redhat.com 
>> <mailto:eshen...@redhat.com>> wrote:
>> 
>> Attached screen-shot for deleting a VM from an export domain:
>> 
>> 1) go to storage domains list
>> 2) select the export domain 
>> 3) In the export domain - navigate to 'VM Import' tab
>> 4) select VM and press 'remove' button.
>> 
>> 
>> 
>> 
>> 
> 
> I can’t navigate to this point, in Storage -> Storage Domains there is a list 
> of domains as on your screenshot, which are double-clickable items.
> 
> 3) In the export domain - navigate to 'VM Import’ tab
> 
> Double click on list item opens “Manage Domain” dialog.
> Control-Click opens popup menu: “New Domain”, “Import Domain”, “Manage 
> Domain”.
> 
> “Manage Domain” allows only edit of basic parameters.
> Or I must add new domain by means of running “Import Domain”, and then go to 
> the points you have described ?
> 
> Running FireFox on Mac and Linux. Is it possible it doesn’t display something 
> correctly.
> What browser you use ?
> 
> 
>> 
>> On Tue, Mar 20, 2018 at 3:45 PM, Andrei Verovski <andre...@starlett.lv 
>> <mailto:andre...@starlett.lv>> wrote:
>> 
>> 
>>> On 20 Mar 2018, at 13:30, Eyal Shenitzky <eshen...@redhat.com 
>>> <mailto:eshen...@redhat.com>> wrote:
>>> 
>>> The export domain should contain entities for export: VMs, Template etc.. 
>>> 
>>> You can remove them from the domain via Storage -> Export Domain ->  Import 
>>> Virtual Machine(s) / Templates -> select the unsed entetiy -> remove (upper 
>>> right side of the window).
>> 
>> in oVirt 4.2.1
>> 
>> Storage -> Storage Domains 
>> I see list of domains, there are NO “Import Import Virtual Machine(s)”, see 
>> screenshot 1
>> "Import VM" is inside Compute -> Virtual machines, yet I don’t see option 
>> you mention - screenshot 2. 
>> 
>> Is it possible you have more recent GIT version ?
>> 
>> 
>> 
>> 
>> 
>> 
>>> 
>>> 
>>> 
>>> On Tue, Mar 20, 2018 at 1:17 PM, Andrei Verovski <andre...@starlett.lv 
>>> <mailto:andre...@starlett.lv>> wrote:
>>> 
>>> 
>>>> On 20 Mar 2018, at 12:59, Eyal Shenitzky <eshen...@redhat.com 
>>>> <mailto:eshen...@redhat.com>> wrote:
>>>> 
>>>> Hi Andrei,
>>>> 
>>>> You can remove entities from export domain via the UI.
>>> 
>>> in 4.2
>>> 
>>> Storage -> Disks - exported image is not visible here
>>> Storage -> Storage Domains -> Manage Domains - nothing that allows to see 
>>> content of domain
>>> 
>>> I can see content of Export domain only in “Import Virtual Machine(s)” 
>>> dialog, but can’t alter it in any way.
>>> 
>>> What I’m missing here ?
>>> 
>>> 
>>>> 
>>>> 
>>>> On Tue, Mar 20, 2018 at 12:54 PM, Andrei Verovski <andre...@starlett.lv 
>>>> <mailto:andre...@starlett.lv>> wrote:
>>>> Hi !
>>>> 
>>>> 
>>>> What is the proper oVirt way to remove unused stuff from EXPORT domain ?
>>>> Simply "rm -Rv xxx" and "rm -Rv xxx.meta"
>>>> via SSH inside export -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images ?
>>>> 
>>>> Thanks
>>>> Andrei
>>>> 
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>>> http://lists.ovirt.org/mailman/listinfo/users 
>>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Regards,
>>>> Eyal Shenitzky
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users 
>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Regards,
>>> Eyal Shenitzky
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users 
>> <http://lists.ovirt.org/mailman/listinfo/users>
>> 
>> 
>> 
>> 
>> -- 
>> Regards,
>> Eyal Shenitzky
> 
> 
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


Re: [ovirt-users] Q: Removing stuff from EXPORT domain

2018-03-20 Thread Andrei Verovski


> On 20 Mar 2018, at 16:01, Eyal Shenitzky <eshen...@redhat.com> wrote:
> 
> Attached screen-shot for deleting a VM from an export domain:
> 
> 1) go to storage domains list
> 2) select the export domain 
> 3) In the export domain - navigate to 'VM Import' tab
> 4) select VM and press 'remove' button.
> 
> 
> 
> 
> 

I can’t navigate to this point, in Storage -> Storage Domains there is a list 
of domains as on your screenshot, which are double-clickable items.

3) In the export domain - navigate to 'VM Import’ tab

Double click on list item opens “Manage Domain” dialog.
Control-Click opens popup menu: “New Domain”, “Import Domain”, “Manage Domain”.

“Manage Domain” allows only edit of basic parameters.
Or I must add new domain by means of running “Import Domain”, and then go to 
the points you have described ?

Running FireFox on Mac and Linux. Is it possible it doesn’t display something 
correctly.
What browser you use ?


> 
> On Tue, Mar 20, 2018 at 3:45 PM, Andrei Verovski <andre...@starlett.lv 
> <mailto:andre...@starlett.lv>> wrote:
> 
> 
>> On 20 Mar 2018, at 13:30, Eyal Shenitzky <eshen...@redhat.com 
>> <mailto:eshen...@redhat.com>> wrote:
>> 
>> The export domain should contain entities for export: VMs, Template etc.. 
>> 
>> You can remove them from the domain via Storage -> Export Domain ->  Import 
>> Virtual Machine(s) / Templates -> select the unsed entetiy -> remove (upper 
>> right side of the window).
> 
> in oVirt 4.2.1
> 
> Storage -> Storage Domains 
> I see list of domains, there are NO “Import Import Virtual Machine(s)”, see 
> screenshot 1
> "Import VM" is inside Compute -> Virtual machines, yet I don’t see option you 
> mention - screenshot 2. 
> 
> Is it possible you have more recent GIT version ?
> 
> 
> 
> 
> 
> 
>> 
>> 
>> 
>> On Tue, Mar 20, 2018 at 1:17 PM, Andrei Verovski <andre...@starlett.lv 
>> <mailto:andre...@starlett.lv>> wrote:
>> 
>> 
>>> On 20 Mar 2018, at 12:59, Eyal Shenitzky <eshen...@redhat.com 
>>> <mailto:eshen...@redhat.com>> wrote:
>>> 
>>> Hi Andrei,
>>> 
>>> You can remove entities from export domain via the UI.
>> 
>> in 4.2
>> 
>> Storage -> Disks - exported image is not visible here
>> Storage -> Storage Domains -> Manage Domains - nothing that allows to see 
>> content of domain
>> 
>> I can see content of Export domain only in “Import Virtual Machine(s)” 
>> dialog, but can’t alter it in any way.
>> 
>> What I’m missing here ?
>> 
>> 
>>> 
>>> 
>>> On Tue, Mar 20, 2018 at 12:54 PM, Andrei Verovski <andre...@starlett.lv 
>>> <mailto:andre...@starlett.lv>> wrote:
>>> Hi !
>>> 
>>> 
>>> What is the proper oVirt way to remove unused stuff from EXPORT domain ?
>>> Simply "rm -Rv xxx" and "rm -Rv xxx.meta"
>>> via SSH inside export -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images ?
>>> 
>>> Thanks
>>> Andrei
>>> 
>>> ___
>>> Users mailing list
>>> Users@ovirt.org <mailto:Users@ovirt.org>
>>> http://lists.ovirt.org/mailman/listinfo/users 
>>> <http://lists.ovirt.org/mailman/listinfo/users>
>>> 
>>> 
>>> 
>>> -- 
>>> Regards,
>>> Eyal Shenitzky
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users 
>> <http://lists.ovirt.org/mailman/listinfo/users>
>> 
>> 
>> 
>> 
>> -- 
>> Regards,
>> Eyal Shenitzky
> 
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


[ovirt-users] Q: Copying VMs between Export domains of different data centres

2018-03-20 Thread Andrei Verovski
Hi,

I have 2 data centers (with 1 node each because 1 have local data domain)

Copied exported from DC #1, exports -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> 
images -> 12f48f07-7e93-4c66-b0e9-00efc1fec418, with 2 files inside
fc469474-94fd-416b-b921-58604f46411c - 171 GB (seems like disk image)
fc469474-94fd-416b-b921-58604f46411c.meta

to DC #2, export -> 36bc8d5d-30e9-4df5-94cd-c837483c5e41 -> images -> 
12f48f07-7e93-4c66-b0e9-00efc1fec418, with these above listed files inside.
(screenshot attached)

However, in “Import Virtual machine(s)” dialog this VM is not visible even 
after running “Load” command inside import dialog.
Looks like for whatever reason oVirt don’t refresh content of this directory.

How to instruct oVirt to refresh and index these files?

Or this method won’t work at all, and one have to import/export OVA images, or 
use lengthy procedure described by Fred Roland here ?
http://lists.ovirt.org/pipermail/users/2018-February/087304.html 


Thanks.
Andrei




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


Re: [ovirt-users] Q: Removing stuff from EXPORT domain

2018-03-20 Thread Andrei Verovski


> On 20 Mar 2018, at 12:59, Eyal Shenitzky <eshen...@redhat.com> wrote:
> 
> Hi Andrei,
> 
> You can remove entities from export domain via the UI.

in 4.2

Storage -> Disks - exported image is not visible here
Storage -> Storage Domains -> Manage Domains - nothing that allows to see 
content of domain

I can see content of Export domain only in “Import Virtual Machine(s)” dialog, 
but can’t alter it in any way.

What I’m missing here ?


> 
> 
> On Tue, Mar 20, 2018 at 12:54 PM, Andrei Verovski <andre...@starlett.lv 
> <mailto:andre...@starlett.lv>> wrote:
> Hi !
> 
> 
> What is the proper oVirt way to remove unused stuff from EXPORT domain ?
> Simply "rm -Rv xxx" and "rm -Rv xxx.meta"
> via SSH inside export -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images ?
> 
> Thanks
> Andrei
> 
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>
> 
> 
> 
> -- 
> Regards,
> Eyal Shenitzky

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


[ovirt-users] Q: Removing stuff from EXPORT domain

2018-03-20 Thread Andrei Verovski
Hi !


What is the proper oVirt way to remove unused stuff from EXPORT domain ?
Simply "rm -Rv xxx" and "rm -Rv xxx.meta"
via SSH inside export -> 1d7208ce-d3a1-4406-9638-fe7051562994 -> images ?

Thanks
Andrei

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


Re: [ovirt-users] Migration oVirt Engine from Dedicated Host to Self-Hosted Engine

2018-03-19 Thread Andrei Verovski

Your current setup is optimal.
For example - if node running self-hosted engine dies for whatever
reason, what happens next?

As an option you can buy a couple of fanless Celeron mini PCs (1 active
+ 2nd backup with 8GB RAM and 128 - 256 GB SSD) and run host engine here
under KVM, so image can be easily cloned/restored/moved if necessary.


On 03/19/2018 06:41 PM, FERNANDO FREDIANI wrote:
> Just to add up, for the second question I am following this URL:
>
> https://ovirt.org/documentation/self-hosted/chap-Migrating_from_Bare_Metal_to_an_EL-Based_Self-Hosted_Environment/
>
> So the question is more of anything else that may be good to take in
> attention other than what is already there.
>
> Thanks
> Fernando
>
> 2018-03-19 13:38 GMT-03:00 FERNANDO FREDIANI
> >:
>
> Hello folks
>
> I currently have a oVirt Engine which runs in a Dedicated Virtual
> Machine in another ans separate environment. It is very nice to
> have it like that because every time I do a oVirt Version Upgrade
> I take a snapshot before and if it failed (and it did failed in
> the past several times) I just go back in time before the snapshot
> and all comes back to normal.
>
> Two quick questions:
>
> - Going to a Self-Hosted Engine will snapshots or recoverable ways
> be possible ?
>
> - To migrate the Engine from the current environment to the
> self-hosted engine is it just a question to backup the Database,
> restore it into the self-hosted engine keeping it with the same IP
> address ? Are there any special points to take in consideration
> when doing this migration ?
>
> Thanks
> Fernando
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


Re: [ovirt-users] #2 Failed to run VM

2018-03-18 Thread Andrei Verovski
On 03/18/2018 09:34 PM, maoz zadok wrote:
> Thank you Arik you are right, my version is 4.2.0.2, how can I upgrade?

Sorry, didn't notice this problem solved only in pre-release 4.2.2
Then this:

1) upgrade engine as described here
https://www.ovirt.org/release/4.2.2/

2) login into ovirt engine, stop all VMs, choose host -> maintenance,
then upgrade node software.

>
> On Sun, Mar 18, 2018 at 4:11 PM, Arik Hadas  > wrote:
>
>
>
> On Sun, Mar 18, 2018 at 3:43 PM, maoz zadok  > wrote:
>
> Hello All,
> I'm receiving this message every time that I try to start VM,
> any idea?
>
>
> Seems you enounter [1] that is solved in 4.2.2.
> I assume you're using 4.2.1, right? By just looking at the code,
> it seems that restarting the engine could be a possible workaround
> for this.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1532884
> 
>  
>
>
>
>
> 2018-03-18 09:39:51,479-04 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
> (EE-ManagedThreadFactory-engineScheduled-Thread-11) [] Failed
> during monitoring vm: 2445a47e-b102-11e6-ad11-1866da511add ,
> error is: {}: java.lang.NullPointerException
>
> 2018-03-18 09:39:51,480-04 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
> (EE-ManagedThreadFactory-engineScheduled-Thread-11) []
> Exception:: java.lang.NullPointerException
>
> 2018-03-18 09:39:57,802-04 INFO 
> [org.ovirt.engine.core.bll.RunVmCommand] (default task-79)
> [b3b98e2c-6176-413d-9d75-315626918150] Lock Acquired to object
> 
> 'EngineLock:{exclusiveLocks='[fccee2da-92a3-4187-8aad-d6c1f9d5a3fb=VM]',
> sharedLocks=''}'
> 2018-03-18 09:39:57,822-04 INFO 
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (default task-79) [b3b98e2c-6176-413d-9d75-315626918150]
> START, IsVmDuringInitiatingVDSCommand(
> 
> IsVmDuringInitiatingVDSCommandParameters:{vmId='fccee2da-92a3-4187-8aad-d6c1f9d5a3fb'}),
> log id: 2217c887
> 2018-03-18 09:39:57,822-04 INFO 
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (default task-79) [b3b98e2c-6176-413d-9d75-315626918150]
> FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id:
> 2217c887
> 2018-03-18 09:39:57,927-04 INFO 
> [org.ovirt.engine.core.bll.RunVmCommand]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Running command:
> RunVmCommand internal: false. Entities affected :  ID:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb Type: VMAction group
> RUN_VM with role type USER
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm5'
> because it is not preferred.
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm6'
> because it is not preferred.
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm7'
> because it is not preferred.
> 2018-03-18 09:39:57,945-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing stale pending
> resource
> org.ovirt.engine.core.bll.scheduling.pending.PendingCpuCores@1d15d667
> (host: e044db3f-c49b-467f-9f04-21b44ffe78c4, vm:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb)
> 2018-03-18 09:39:57,945-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing stale pending
> resource
> org.ovirt.engine.core.bll.scheduling.pending.PendingMemory@1d15d667
> (host: e044db3f-c49b-467f-9f04-21b44ffe78c4, vm:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb)
> 2018-03-18 09:39:57,946-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing 

Re: [ovirt-users] Failed to run VM

2018-03-18 Thread Andrei Verovski
On 03/18/2018 09:34 PM, maoz zadok wrote:
> Thank you Arik you are right, my version is 4.2.0.2, how can I upgrade?

1) upgrade engine as described here
https://www.ovirt.org/release/4.2.1/

2) login into ovirt engine, stop all VMs, choose host -> maintenance,
then upgrade node software.

>
> On Sun, Mar 18, 2018 at 4:11 PM, Arik Hadas  > wrote:
>
>
>
> On Sun, Mar 18, 2018 at 3:43 PM, maoz zadok  > wrote:
>
> Hello All,
> I'm receiving this message every time that I try to start VM,
> any idea?
>
>
> Seems you enounter [1] that is solved in 4.2.2.
> I assume you're using 4.2.1, right? By just looking at the code,
> it seems that restarting the engine could be a possible workaround
> for this.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1532884
> 
>  
>
>
>
>
> 2018-03-18 09:39:51,479-04 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
> (EE-ManagedThreadFactory-engineScheduled-Thread-11) [] Failed
> during monitoring vm: 2445a47e-b102-11e6-ad11-1866da511add ,
> error is: {}: java.lang.NullPointerException
>
> 2018-03-18 09:39:51,480-04 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring]
> (EE-ManagedThreadFactory-engineScheduled-Thread-11) []
> Exception:: java.lang.NullPointerException
>
> 2018-03-18 09:39:57,802-04 INFO 
> [org.ovirt.engine.core.bll.RunVmCommand] (default task-79)
> [b3b98e2c-6176-413d-9d75-315626918150] Lock Acquired to object
> 
> 'EngineLock:{exclusiveLocks='[fccee2da-92a3-4187-8aad-d6c1f9d5a3fb=VM]',
> sharedLocks=''}'
> 2018-03-18 09:39:57,822-04 INFO 
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (default task-79) [b3b98e2c-6176-413d-9d75-315626918150]
> START, IsVmDuringInitiatingVDSCommand(
> 
> IsVmDuringInitiatingVDSCommandParameters:{vmId='fccee2da-92a3-4187-8aad-d6c1f9d5a3fb'}),
> log id: 2217c887
> 2018-03-18 09:39:57,822-04 INFO 
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (default task-79) [b3b98e2c-6176-413d-9d75-315626918150]
> FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id:
> 2217c887
> 2018-03-18 09:39:57,927-04 INFO 
> [org.ovirt.engine.core.bll.RunVmCommand]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Running command:
> RunVmCommand internal: false. Entities affected :  ID:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb Type: VMAction group
> RUN_VM with role type USER
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm5'
> because it is not preferred.
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm6'
> because it is not preferred.
> 2018-03-18 09:39:57,944-04 INFO 
> 
> [org.ovirt.engine.core.bll.scheduling.policyunits.PreferredHostsWeightPolicyUnit]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Penalizing host 'kvm7'
> because it is not preferred.
> 2018-03-18 09:39:57,945-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing stale pending
> resource
> org.ovirt.engine.core.bll.scheduling.pending.PendingCpuCores@1d15d667
> (host: e044db3f-c49b-467f-9f04-21b44ffe78c4, vm:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb)
> 2018-03-18 09:39:57,945-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing stale pending
> resource
> org.ovirt.engine.core.bll.scheduling.pending.PendingMemory@1d15d667
> (host: e044db3f-c49b-467f-9f04-21b44ffe78c4, vm:
> fccee2da-92a3-4187-8aad-d6c1f9d5a3fb)
> 2018-03-18 09:39:57,946-04 WARN 
> [org.ovirt.engine.core.bll.scheduling.pending.PendingResourceManager]
> (EE-ManagedThreadFactory-engine-Thread-929544)
> [b3b98e2c-6176-413d-9d75-315626918150] Clearing stale pending
> resource
> 
> 

[ovirt-users] Warning: CentOS Upgrade with Host Engine - 503 Service Temporarily Unavailable

2018-03-15 Thread Andrei Verovski
Hi !

I have upgraded CentOS 7.4 with oVirt 4.2.1 host engine (with yum upgrade), and 
its resulted in broken system - "503 Service Temporarily Unavailable" when 
connecting to the host engine via web.
Service ovirt-engine failed to starts (logs attached at the bottom of this 
email), other ovirt services seem to run fine.

yum update "ovirt-*-setup*” (upgrade 4.2 -> 4.2.1)
engine-setup
yum upgrade (OS upgrade)

Is this issue somehow related to JDK as described here?
https://bugzilla.redhat.com/show_bug.cgi?id=1217023

New packages:
java-1.8.0-openjdk  x86_64   1:1.8.0.161-0.b14.el7_4
java-1.8.0-openjdk-develx86_64   1:1.8.0.161-0.b14.el7_4 
java-1.8.0-openjdk-headless x86_64   1:1.8.0.161-0.b14.el7_4 

installed packages (seem to be also 1.8x):
[root@node00 ~]# rpm -qa | grep jdk
java-1.8.0-openjdk-1.8.0.151-5.b12.el7_4.x86_64
java-1.8.0-openjdk-devel-1.8.0.151-5.b12.el7_4.x86_64
java-1.8.0-openjdk-headless-1.8.0.151-5.b12.el7_4.x86_64
copy-jdk-configs-2.2-5.el7_4.noarch

Since my host engine is actually a KVM appliance under another SuSE server, I 
simply discarded it and reverted back old qcow2 image.

So this is a warning to anyone - don’t upgrade CentOS, or at least keep a copy 
of disk image before ANY upgrade !


**   LOGS   *
**
[root@node00 ~]# service ovirt-engine status -l
Redirecting to /bin/systemctl status  -l ovirt-engine.service
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; 
vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2018-03-15 15:44:08 EET; 2min 18s 
ago
  Process: 1474 
ExecStart=/usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py 
--redirect-output --systemd=notify $EXTRA_ARGS start (code=killed, signal=TERM)
 Main PID: 1474 (code=killed, signal=TERM)
   CGroup: /system.slice/ovirt-engine.service

Mar 15 15:42:37 node00.myhost.lv systemd[1]: Starting oVirt Engine...
Mar 15 15:42:50 node00.myhost.lv ovirt-engine.py[1474]: 2018-03-15 
15:42:50,869+0200 ovirt-engine: INFO _detectJBossVersion:187 Detecting JBoss 
version. Running: /usr/lib/jvm/jre/bin/java ['ovirt-engine-version', '-server', 
'-XX:+TieredCompilation', '-Xms1024M', '-Xmx1024M', '-Djava.awt.headless=true', 
'-Dsun.rmi.dgc.client.gcInterval=360', 
'-Dsun.rmi.dgc.server.gcInterval=360', '-Djsse.enableSNIExtension=false', 
'-XX:+HeapDumpOnOutOfMemoryError', 
'-XX:HeapDumpPath=/var/log/ovirt-engine/dump', 
'-Djava.util.logging.manager=org.jboss.logmanager', 
'-Dlogging.configuration=file:///var/lib/ovirt-engine/jboss_runtime/config/ovirt-engine-logging.properties',
 '-Dorg.jboss.resolver.warning=true', 
'-Djboss.modules.system.pkgs=org.jboss.byteman', 
'-Djboss.server.default.config=ovirt-engine', 
'-Djboss.home.dir=/usr/share/ovirt-engine-wildfly', 
'-Djboss.server.base.dir=/usr/share/ovirt-engine', 
'-Djboss.server.data.dir=/var/lib/ovirt-engine', 
'-Djboss.server.log.dir=/var/log/ovirt-engine', 
'-Djboss.server.config.dir=/var/lib/ovirt-engine/jboss_runtime/config', 
'-Djboss.server.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', 
'-Djboss.controller.temp.dir=/var/lib/ovirt-engine/jboss_runtime/tmp', '-jar', 
'/usr/share/ovirt-engine-wildfly/jboss-modules.jar', '-mp', 
'/usr/share/ovirt-engine-wildfly-overlay/modules:/usr/share/ovirt-engine/modules/common:/usr/share/ovirt-engine-extension-aaa-jdbc/modules:/usr/share/ovirt-engine-wildfly/modules',
 '-jaxpmodule', 'javax.xml.jaxp-provider', 'org.jboss.as.standalone', '-v']
Mar 15 15:44:08 node00.myhost.lv systemd[1]: ovirt-engine.service start 
operation timed out. Terminating.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: Failed to start oVirt Engine.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: Unit ovirt-engine.service entered 
failed state.
Mar 15 15:44:08 node00.myhost.lv systemd[1]: ovirt-engine.service failed.
[root@node00 ~]# 


[root@node00 ~]# tail -n 20 /var/log/ovirt-engine/server.log 
2018-03-15 15:39:03,196+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED shutting down.
2018-03-15 15:39:03,196+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED paused.
2018-03-15 15:39:03,201+02 INFO  [org.wildfly.extension.undertow] (MSC service 
thread 1-2) WFLYUT0019: Host default-host stopping
2018-03-15 15:39:03,201+02 INFO  [org.wildfly.extension.undertow] (MSC service 
thread 1-2) WFLYUT0004: Undertow 1.4.18.Final stopping
2018-03-15 15:39:03,202+02 INFO  [org.quartz.core.QuartzScheduler] (MSC service 
thread 1-4) Scheduler QuartzOvirtDBScheduler_$_NON_CLUSTERED shutdown complete.
2018-03-15 15:39:03,213+02 INFO  
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) 
WFLYJCA0010: Unbound data source [java:/DWHDataSource]
2018-03-15 15:39:03,213+02 INFO  
[org.jboss.as.connector.subsystems.datasources] (MSC service thread 

[ovirt-users] oVirt Engine 4.2 -> 4.2.1 Upgrade

2018-03-14 Thread Andrei Verovski
Hi !

After oVirt Engine 4.2 -> 4.2.1 Upgrade do I need to run these commands as 
described in this article
https://www.ovirt.org/release/4.2.1/

su - postgres -c "scl enable rh-postgresql95 – psql -d engine"
postgres=# DROP FUNCTION IF EXISTS uuid_generate_v1();
postgres=# CREATE EXTENSION "uuid-ossp”;

BTW, this yelds error:
[root@node00 ~]# su - postgres -c "scl enable rh-postgresql95 – psql -d engine"
Unable to open /etc/scl/conf/–!

node00 is a dedicated PC with CentOS and oVirt Host Engine.

Thanks.
Andrei

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


[ovirt-users] qemu-guest-agent on oVirt/KVM guest

2018-03-13 Thread Andrei Verovski
Hi !

Is this daemon (qemu-guest-agent) required on oVirt/KVM guest?
Or ovirt-guest-agent is enough ?

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


Re: [ovirt-users] Weekly fstrim & Ubuntu 16.04 LTS guest freeze

2018-03-12 Thread Andrei Verovski
On 03/12/2018 01:50 PM, Yaniv Kaul wrote:
>
>
> On Mon, Mar 12, 2018 at 1:40 PM, Andrei Verovski <andre...@starlett.lv
> <mailto:andre...@starlett.lv>> wrote:
>
> Hi !
>
>
> I have stubborn VM (Ubuntu 16.04 LTS) which randomly freezes about
> each 2 - 3 weeks at weekends (when load is close to zero).
> No updates or kernel upgrades help.
> Freeze is not detected by oVirt watchdog and VM is not
> automatically restarted.
>
> Since it happens only on weekends, I suspect some weekly cron job
> may cause this.
> Ubuntu 16.04 LTS is installed on qcow2 disk image (thin provision).
> is it possible that fstrim (which discards / trims unused blocks)
> is a source of this problem ?
>
>
> Are you using virtio-blk (which doesn't support it) or virtio-SCSI
> (which does)?
> Also, does the storage support trimming? Not all do.

I'm using virtio-SCSI, Ubuntu thin provision disk formatted as ext4 boot
+ ext4 root + swap.
Disk image on ext4 RAID 1.

> Y.
>  
>
>
> Thanks in advance
> Andrei
>
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>

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


[ovirt-users] Weekly fstrim & Ubuntu 16.04 LTS guest freeze

2018-03-12 Thread Andrei Verovski
Hi !


I have stubborn VM (Ubuntu 16.04 LTS) which randomly freezes about each 2 - 3 
weeks at weekends (when load is close to zero).
No updates or kernel upgrades help.
Freeze is not detected by oVirt watchdog and VM is not automatically restarted.

Since it happens only on weekends, I suspect some weekly cron job may cause 
this.
Ubuntu 16.04 LTS is installed on qcow2 disk image (thin provision).
is it possible that fstrim (which discards / trims unused blocks) is a source 
of this problem ?

Thanks in advance
Andrei

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


[ovirt-users] Auto-restart VM from Linux Shell

2018-03-11 Thread Andrei Verovski
Hi !

I have stubborn VM which time to time freezes, and watchdog for whatever
reason don't restart it.

Basically I would like to combine these 3 command into one script.

ovirt-shell -l https://node00.mydomain.com.lv/ovirt-engine/api
--ca-file="/etc/pki/ovirt-engine/ca.pem" -u "admin@internal" --password
"secret"

action vm MyVM stop
action vm MyVM start

Now I have problems.
1) Option --password "secret" is not recognized anymore in oVirt Shell 4.2.
2) What is the proper syntax to connect & run certain command in oVirt
Shell 4.2? Something like:

ovirt-shell -l https://node00.mydomain.com.lv/ovirt-engine/api
--ca-file="/etc/pki/ovirt-engine/ca.pem" -u "admin@internal" --password
"secret" && action vm MyVM stop

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


Re: [ovirt-users] Q: Can't connect to oVirt shell / SSL cert issue

2018-03-05 Thread Andrei Verovski
On 03/05/2018 12:58 PM, Ondra Machacek wrote:
> You should use CA certificate if you use default one it's:
>
>  /etc/pki/ovirt-engine/ca.pem

Executed as root
ovirt-shell -l https://node00.mydomain.com/ovirt-engine/api --cert-file
/etc/pki/ovirt-engine/ca.pem -u "admin@internal"

=== ERROR ===
server CA certificate file must be specified for SSL secured connection.

ca.pem exists in specified location.

>
> You can find more information about oVirt PKI here:
>
>  https://www.ovirt.org/develop/release-management/features/infra/pki/
>
> On 03/05/2018 11:51 AM, Andrei Verovski wrote:
>> Hi,
>>
>> Thanks,  corrected URL accepted.
>>
>> However, I've run into SSL certificate issue:
>> ovirt-shell -l https://node00.mydomain.com/ovirt-engine/api
>> --cert-file /etc/pki/ovirt-engine/certs/engine.cer -u "admin@internal"
>>
>>  ERROR 
>> server CA certificate file must be specified for SSL secured connection.
>>
>> certificate file exists, verified
>> /etc/pki/ovirt-engine/certs/engine.cer
>>
>> without specifying SSL cert file its not possible to connect at all
>>  ERROR 
>> No response returned from server. If you're using HTTP protocol
>> against a SSL secured server, then try using HTTPS instead.
>>
>> Or I should use another certificate from same directory ?
>>
>> Thanks.
>>
>>
>> On 03/05/2018 06:46 AM, Karli Sjöberg wrote:
>>>
>>>
>>> Den 4 mars 2018 23:39 skrev Andrei Verovski <andre...@starlett.lv>:
>>>
>>>     Hi !
>>>
>>>     I'm trying to connect via Bash from same machine where oVirt engine
>>>     installed
>>>     ovirt-shell --url=http://node00.mydomain.com/api -u admin
>>>
>>>
>>> Hi!
>>>
>>> You've forgotten 'ovirt-engine' before 'api':
>>> http://node00.mydomain.com/ovirt-engine/api
>>>
>>> /K
>>>
>>>     After entering password I've got:
>>>     === ERROR ===
>>>     [404] - Not Found
>>>
>>>     What is wrong here?
>>>     Thanks in advance.
>>>     Andrei
>>>     ___
>>>     Users mailing list
>>>     Users@ovirt.org
>>>     http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>> Hi !
>>>
>>> I'm trying to connect via Bash from same machine where oVirt engine
>>> installed
>>> ovirt-shell --url=http://node00.mydomain.com/api -u admin
>>> After entering password I've got:
>>> === ERROR ===
>>> [404] - Not Found
>>>
>>> What is wrong here?
>>> Thanks in advance.
>>> Andrei
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>

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


Re: [ovirt-users] Q: Can't connect to oVirt shell / SSL cert issue

2018-03-05 Thread Andrei Verovski
Hi,

Thanks,  corrected URL accepted.

However, I've run into SSL certificate issue:
ovirt-shell -l https://node00.mydomain.com/ovirt-engine/api --cert-file
/etc/pki/ovirt-engine/certs/engine.cer -u "admin@internal"

 ERROR 
server CA certificate file must be specified for SSL secured connection.

certificate file exists, verified
/etc/pki/ovirt-engine/certs/engine.cer

without specifying SSL cert file its not possible to connect at all
 ERROR 
No response returned from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.

Or I should use another certificate from same directory ?

Thanks.


On 03/05/2018 06:46 AM, Karli Sjöberg wrote:
>
>
> Den 4 mars 2018 23:39 skrev Andrei Verovski <andre...@starlett.lv>:
>
> Hi !
>
> I'm trying to connect via Bash from same machine where oVirt engine
> installed
> ovirt-shell --url=http://node00.mydomain.com/api -u admin
>
>
> Hi!
>
> You've forgotten 'ovirt-engine' before 'api':
> http://node00.mydomain.com/ovirt-engine/api
>
> /K
>
> After entering password I've got:
> === ERROR ===
> [404] - Not Found
>
> What is wrong here?
> Thanks in advance.
> Andrei
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> Hi !
>
> I'm trying to connect via Bash from same machine where oVirt engine
> installed
> ovirt-shell --url=http://node00.mydomain.com/api -u admin
> After entering password I've got:
> === ERROR ===
> [404] - Not Found
>
> What is wrong here?
> Thanks in advance.
> Andrei
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


[ovirt-users] Q: Can't connect to oVirt shell

2018-03-04 Thread Andrei Verovski
Hi !

I'm trying to connect via Bash from same machine where oVirt engine
installed
ovirt-shell --url=http://node00.mydomain.com/api -u admin
After entering password I've got:
=== ERROR ===
[404] - Not Found

What is wrong here?
Thanks in advance.
Andrei
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't move/copy VM disks between Data Centers

2018-02-26 Thread Andrei Verovski
Hi,

Thanks for clarification. I’m using 4.2.
Anyway, I have to define another data center with shared storage domain (since 
data center with local storage domain can have only 1 host), and the do what 
you have described.

Is it possible to copy VM disks from 1 data center #1 local storage domain to 
another data center #2 NFS storage domain, or need to use export storage domain 
?


> On 26 Feb 2018, at 13:30, Fred Rolland  wrote:
> 
> Hi,
> Which version are you using?
> 
> in 4.1 , the support of adding shared storage to local DC was added [1].
> You can copy/move disks to the shared storage domain, then detach the SD and 
> attach to another DC.
> 
> In any case, you wont be able to live migrate VMs from the local DC, it is 
> not supported.
> 
> Regards,
> Fred
> 
> [1] 
> https://ovirt.org/develop/release-management/features/storage/sharedStorageDomainsAttachedToLocalDC/
>  
> 
> 
> On Fri, Feb 23, 2018 at 1:35 PM, Andrei V  > wrote:
> Hi,
> 
> I have oVirt setup, separate PC host engine + 2 nodes (#10 + #11) with local 
> storage domains (internal RAIDs).
> 1st node #10 is currently active and can’t be turned off.
> 
> Since oVirt doesn’t support more then 1 host in data center with local 
> storage domain as described here:
> http://lists.ovirt.org/pipermail/users/2018-January/086118.html 
> 
> defined another data center with 1 node #11.
> 
> Problem: 
> 1) can’t copy or move VM disks from node #10 (even of inactive VMs) to node 
> #11, this node is NOT being shown as possible destination.
> 2) can’t migrate active VMs to node #11.
> 3) Added NFS shares to data center #1 -> node #10, but can’t change data 
> center #1 -> storage type to Shared, because this operation requires 
> detachment of local storage domains, which is not possible, several VMs are 
> active and can’t be stopped.
> 
> VM disks placed on local storage domains because of performance limitations 
> of our 1Gbit network. 
> 2 VMs running our accounting/inventory control system, and are critical to 
> NFS storage performance limits.
> 
> How to solve this problem ?
> Thanks in advance.
> 
> Andrei
> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 

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


[ovirt-users] Q: VM disk speed penalty NFS vs Local data center storage

2018-02-26 Thread Andrei Verovski
Hi,

Since oVirt doesn’t support more then 1 host in data center with local storage 
domain as described here:
http://lists.ovirt.org/pipermail/users/2018-January/086118.html 
<http://lists.ovirt.org/pipermail/users/2018-January/086118.html>

I have to setup NFS server on node with VMs (on same node) access via NFS.
10 GB shared storage is in the future plans yet right now have only 2 nodes 
with local RAID on each.

Q: What is VM disk speed penalty (approx %)  NFS vs Local RAID in oVirt data 
center storage? 
Currently I have 2 VMs running our accounting/inventory control system which 
are critical to storage performance limits.
2 other VMs have very low disk activity.

Thanks in advance
Andrei Verovski

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