[ovirt-users] Re: HCI Deployment oVirt 4.5

2022-06-29 Thread Asaf Rachmani
cockpit-ovirt is deprecated for hosted-engine deployment, try cli using
"hosted-engine --deploy" instead.
if it fails, please share ovirt-hosted-engine-setup log files located in
/var/log/ovirt-hosted-engine-setup/ (especially the
ovirt-hosted-engine-setup-ansible-get_network_interfaces-*.log)

On Wed, Jun 29, 2022 at 7:13 AM dhanaraj.ramesh--- via Users <
users@ovirt.org> wrote:

> change to bond0 and try again, some time it might have hardcoded in  the
> recent codes..
> ___
> 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/S2SBURTQ2N2DYJQ2OZR5DQS62S7BGUNJ/
>
___
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/6MF6FDWDYSWCJ24V5Y4U2BP6D3VG2UYH/


[ovirt-users] Re: Python error when deploying SHE on Rocky Linux

2022-05-24 Thread Asaf Rachmani
Hi,
can you please share the output of:

# ansible --version

# rpm -qa | grep ovirt-hosted-engine-setup

# rpm -qa | grep ovirt-ansible-collection
# ansible -m firewalld -a state=enabled localhost -e
'ansible_python_interpreter=/usr/bin/python3'


On Tue, May 24, 2022 at 12:15 PM  wrote:

> Thanks Didi.
>
> I've edited ansible.cfg to hardwire the interpreter path but I still get
> the error when trying to deploy the SHE.
>
> ansible -m firewalld -a state=enabled localhost
>
> Returns
>
> localhost | FAILED! => {
> "changed": false,
> "msg": "Python Module not found: firewalld and its python module are
> required for this module, version 0.2.11 or newer
> required (0.3.9 or newer for offline operations)"
>
> and
>
> ansible -m firewalld -a state=enabled -c local -i localhost, all
>
> returns
>
> [WARNING]: Platform linux on host localhost is using the discovered Python
> interpreter at /usr/bin/python3.8, but future installation of
> another Python interpreter could change the meaning of that path. See
> https://docs.ansible.com/ansible-
> core/2.12/reference_appendices/interpreter_discovery.html
> 
> for more information.
> localhost | FAILED! => {
> "ansible_facts": {
> "discovered_interpreter_python": "/usr/bin/python3.8"
> },
> "changed": false,
> "msg": "Python Module not found: firewalld and its python module are
> required for this module, version 0.2.11 or newer
> required (0.3.9 or newer for offline operations)"
>
> Thanks for your reply by the way. It's really appreciated.
>
> Paul.
>
> ___
> 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/VHQAUYLSNDX5UIP4FJLU2Z3V4FZFDVXJ/
>
___
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/IZIOSAMKQMTMD7PDLTLG5K3C57QG6CHU/


[ovirt-users] Re: Help installing oVirt on single machine, without cockpit

2021-12-07 Thread Asaf Rachmani
Hi,

The link you attached is for installing the engine on a stand alone machine.
In case you want to have the engine and the host on the same machine you
should install hosted-engine:
https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_command_line/

Regards,
Asaf


On Wed, Dec 8, 2021 at 8:57 AM  wrote:

> I'm trying to install both the oVirt engine (so I have the API), and
> hypervisor on the same machine. I'm hoping I don't need cockpit, and I can
> write some custom scripts to manage oVirt through the API. I tried a couple
> ways, and both were blocked:
>
> # on CentOS 9 stream, installing oVirt engine:
> On a fresh CentOS install, tried following the directions [here](
> https://www.ovirt.org/documentation/installing_ovirt_as_a_standalone_manager_with_local_databases/#Installing_RHEL_for_RHVM_SM_localDB_deploy).
> They failed at step 3.2, when adding the modules (missing groups or
> modules). Tried skipping it, but step 3.3.2 failed when running `dnf
> install ovirt-engine`, package couldn't be found. The closest package I see
> is `ovirt-hosted-engine-setup-2.5.4-1.el9.noarch`. Is that what I want?
>
> # On oVirt node, installing engine:
> Couldn't get the networking working, even though I added it during the
> install process. Also tried wired connection, and no luck. Blocked early
> on, but read this was SUPER minimal anyway, so maybe this wasn't the right
> path.
>
> I'm just trying to have a working API, along side the hypervisor to run
> vm's, both on the same machine. I'm down to go a third way too, if anyone
> has any ideas. Thanks!
> ___
> 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/3L6EVRT4YBEJOIWLLXHF5QPVGJIXL7CR/
>
___
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/ESADJNCVTTL2F6IXJKJAREL5ROY65X2P/


[ovirt-users] Re: how to install hosted-engine without internet connection ?

2021-01-17 Thread Asaf Rachmani
Hi Tommy,

You can use the following command to install hosted-engine without an
internet connection:
#hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true
And after the installation is finished you can configure the yum server and
update the packages.

Another option is to use hooks [1].

[1]
https://github.com/oVirt/ovirt-ansible-collection/tree/master/roles/hosted_engine_setup#make-changes-in-the-engine-vm-during-the-deployment

Regards,
Asaf



Regards,
Asaf

On Mon, Jan 11, 2021 at 8:35 AM tommy  wrote:

> Hi,every one!
>
>
>
> My env cannot access internet, but during the hosted-engine installation,
> It needs to run yum install to update system.
>
>
>
> I have made a yum source mirror local, but there is a step ( after create
> engine vm, the vm runs yum update using default repo configure ) it failed
> to connect yum source.
>
>
>
> How can I configure yum source to local yum server before the vm run
> update ?
>
>
>
> Thanks.
>
>
>
>
>
>
>
>
> ___
> 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/WVQX3MEPZ5QPQ2RL5JRQG2HAB7ZTVQ27/
>
___
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/E6RI74KUEQ27IPXK4OFIROPG65S3C5JY/


[ovirt-users] Re: oVirt 4.4.3 or 4.4.4 rc4 Hosted Engine deploy

2020-12-06 Thread Asaf Rachmani
Hi,

Seems like you hit https://bugzilla.redhat.com/show_bug.cgi?id=1903567.
The fix for that is https://gerrit.ovirt.org/c/cockpit-ovirt/+/112450,
which should be included in the next release.

Regards,
Asaf


On Sun, Dec 6, 2020 at 3:52 AM  wrote:

> Just for information, I performed the deployment via CLI and it worked. I
> don't know if it's a bug in the Web GUI or something else...
>
> Please disregard.
> ___
> 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/TAZXRYLQLGWW3UJNRQ2T2WKPLYRSBCSU/
>
___
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/KXWXEDADTHPKXTDYXEPXJM7WUMMT24KP/


[ovirt-users] Re: Can't install Ovirt from cockpit - ERROR: cannot retrieve iSCSI luns

2020-12-02 Thread Asaf Rachmani
Hi,

Yes, I can see the thread.
We just reproduced it with the latest ovirt-cockpit package [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1903567

Regards,
Asaf


On Wed, Dec 2, 2020 at 12:09 PM Patrick Lomakin 
wrote:

> Hi Asaf. Thanks for quick answer. I am sorry, but I have installed HE a
> week ago using console installer.
> Do you see this thread?
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/2XKKX2O763XKYUTHLDY5NON6ZUCE6Y3V/
> I think the problem fixed yesteday.
> ___
> 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/HVHJEH2A6NMOOXDG466O2GRZ6TP4N2RY/
>
___
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/AEAOBAAQUFTOP2V2SW4GE5ZLWA7TL64H/


[ovirt-users] Re: Can't install Ovirt from cockpit - ERROR: cannot retrieve iSCSI luns

2020-12-02 Thread Asaf Rachmani
Hi Patrick,

I checked the cockpit-ovirt code, and it seems you are right.
Ansible changed the module's behavior in the 2.9.14 version and the module
no longer returns 'ansible_facts'.
I believe [1] should fix that, but I didn't check it yet.
Can you please provide the ovirt-hosted-engine-setup log files and ansible
version?

[1]
https://gerrit.ovirt.org/c/cockpit-ovirt/+/112450/1/dashboard/src/helpers/HostedEngineSetup/StorageUtil.js

Thanks,
Asaf




On Wed, Nov 25, 2020 at 8:56 AM Patrick Lomakin 
wrote:

> Latest version of Ovirt - 4.4.3
> Hi everyboby. I have tryed to install hosted engine from ovirt cockpit,
> but when select iSCSI target I give the same error - Error: Cannot retrieve
> iSCSI LUNs. After that I have installed hosted engine from console with
> command - "hosted-engine --deploy" and than installed successfully. From
> console was able  to retrieve iSCSI luns and select one there. Who can try
> to deploy ovirt from cockpit?
> ___
> 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/BZWZNMREXMU3HU4AX3IGWZGW5YLHCK7Q/
>
___
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/CUIJ7GJY737LJK6SIF66KNVKAMBWYLXE/


[ovirt-users] Re: oVirt 4.4 Upgrade issue?

2020-10-25 Thread Asaf Rachmani
Hi Lee,

The bug is still under investigation.
Meantime you can use the WA in patch [1] for the upgrade.

[1] https://github.com/oVirt/ovirt-ansible-collection/pull/158

Regards,
Asaf


On Thu, Oct 22, 2020 at 8:23 PM  wrote:

> Greetings,
>
> I'm trying to preform an upgrade from 4.3 to 4.4 using the hosted engine
> option of https://github.com/ovirt/ovirt-ansible-collection.
>
> Unfortunately, when it goes to create the hosted engine disk images I get
> the following:
>
> [Cannot move Virtual Disk. The operation is not supported for
> HOSTED_ENGINE_METADATA disks.]
>
> This appears to be related to
> https://bugzilla.redhat.com/show_bug.cgi?id=1883817, BUT I've manually
> applied that patch.  Shouldn't it be creating a NEW disk image instead of
> trying to move the existing one?
>
> Any help would be appriciated.
>
> Thanks,
> Lee
> ___
> 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/OYF7WEEELSPTH7DW3GQQPVD53QXMOHKE/
>
___
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/TLF3K424G3LJK3CAUARARGZA3AZQCUCT/


[ovirt-users] Re: ovirt4.4.1 engine Deployment failure

2020-08-11 Thread Asaf Rachmani
Hi,

Can you please share ansible version and logs from
/var/log/ovirt-hosted-engine-setup.
If the ansible version < 2.9.11, please upgrade it and try again.

Regards,
Asaf


On Mon, Aug 10, 2020 at 10:17 AM  wrote:

> Hello, everyone
> I am using these versions for my test :
> - ovirt-engine-appliance-4.4-20200723102445.1.el8.x86_64.rpm
> - ovirt-node-ng-installer-4.4.1-2020072310.el8.iso
> But I'm always prompted when I'm hosting a cubide-engine deploy :The error
> was: error while evaluating conditional
> ((otopi_host_net.ansible_facts.otopi_host_net | length == 0)).The specific
> hints are:fatal: [localhost]: FAILED! => {"msg": "The conditional check
> '(otopi_host_net.ansible_facts.otopi_host_net | length == 0)' failed. The
> error was: error while evaluating conditional
> ((otopi_host_net.ansible_facts.otopi_host_net | length == 0)): 'list
> object' has no attribute 'ansible_facts'\n\nThe error appears to be in
> '/usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/filter_team_devices.yml':
> line 29, column 13, but may\nbe elsewhere in the file depending on the
> exact syntax problem.\n\nThe offending line appears to be:\n\n- debug:
> var=otopi_host_net\n^ here\n\nThere appears to be both 'k=v'
> shorthand syntax and YAML in this task. Only one syntax may be used.\n"}
> [ ERROR ] Failed to execute stage 'Environment customization': Failed
> executing ansible-playbook
> The test machine node has four network CARDS, but I haven't configured the
> team. I don't know why, it has been suffering for several days.I don't know
> if you've ever been in a situation like this, other than installing a lower
> version.
> ___
> 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/ASHEIGQTLEN6VMC2FZJ2HYPMT3G7443K/
>
___
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/MSQSABDYQN43HUXFKN6NAYZIRSG2DYDE/


[ovirt-users] Re: Lots of problems with deploying the hosted-engine (ovirt 4.4 | CentOS 8.2.2004)

2020-07-08 Thread Asaf Rachmani
Hi Jonas,

Can you please share the full log file located in
/var/log/ovirt-hosted-engine-setup ?
My guess you hit [1], this is the fix for that [2] (not merged yet).
You can install the rpm with the fix from Jenkins CI [3] and then run the
following command:
hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true

Regarding the "disk-memory-leak", can you please open a bug for that?

Regards,
Asaf

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1849517
[2] https://gerrit.ovirt.org/109730
[3]
https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_standard-check-patch/184/


On Tue, Jul 7, 2020 at 4:24 PM jonas  wrote:

> Hi!
>
> A short addendum:
> I have now also tried to perform the installation using the oVirt Node
> distribution as a basis, but that also ended with the same problem. So
> it does not seam to be an issue with the underlying CentOS installation,
> but rather with my general setup or parameters.
>
> Regards
> Jonas
>
> On 2020-06-28 16:26, jonas wrote:
> > Hi!
> >
> > I have banged my head against deploying the ovirt 4.4 self-hosted
> > engine on Centos 8.2 for last couple of days.
> >
> > First I was astonished that resources.ovirt.org has no IPv6
> > connectivity, which made my initial plan for a mostly IPv6-only
> > deployment impossible.
> >
> > CentOS was installed from scratch using the ks.cgf Kickstart file
> > below, which also adds the ovirt 4.4 repo and installs
> > cockpit-ovirt-dashboard & ovirt-engine-appliance.
> >
> > When deploying the hosted-engine from cockpit while logged in as a
> > non-root (although privileged) user, the "(3) Prepare VM" step
> > instantly fails with a nondescript error message and without
> > generating any logs. By using the browser dev tools it was determined
> > that this was because the ansible vars file could not be created as
> > the non-root user did not have write permissions in
> > '/var/lib/ovirt-hosted-engine-setup/cockpit/' . Shouldn't cockpit be
> > capable of using sudo when appropriate, or at least give a more
> > descriptive error message?
> >
> > After login into cockpit as root, or when using the command line
> > ovirt-hosted-engine-setup tool, the deployment fails with "Failed to
> > download metadata for repo 'AppStream'".
> > This seems to be because a) the dnsmasq running on the host does not
> > forward dns queries, even though the host itself can resolve dns
> > queries just fine, and b) there also does not seem to be any
> > functioning routing setup to reach anything outside the host.
> > Regarding a) it is strange that dnsmasq is running with a config file
> > '/var/lib/libvirt/dnsmasq/default.conf' containing the 'no-resolv'
> > option. Could the operation of systemd-resolved be interfering with
> > dnsmasq (see ss -tulpen output)? I tried to manually stop
> > systemd-resolved, but got the same behaviour as before.
> >
> > I hope someone could give me a hint how I could get past this problem,
> > as so far my ovirt experience has been a little bit sub-par. :D
> >
> > Also when running ovirt-hosted-engine-cleanup, the extracted engine
> > VMs in /var/tmp/localvm* are not removed, leading to a
> > "disk-memory-leak" with subsequent runs.
> >
> > Best regards
> > Jonas
> >
> > --- ss -tulpen output post deploy-run ---
> > [root@nxtvirt ~]# ss -tulpen  | grep ':53 '
> > udp   UNCONN 0  0 127.0.0.53%lo:53
> > 0.0.0.0:* users:(("systemd-resolve",pid=1379,fd=18)) uid:193
> > ino:32910 sk:6 <->
> > udp   UNCONN 0  0   [fd00:1234:5678:900::1]:53
> > [::]:* users:(("dnsmasq",pid=13525,fd=15)) uid:979 ino:113580
> > sk:d v6only:1 <->
> > udp   UNCONN 0  0  [fe80::5054:ff:fe94:f314]%virbr0:53
> > [::]:* users:(("dnsmasq",pid=13525,fd=12)) uid:979 ino:113575
> > sk:e v6only:1 <->
> > tcp   LISTEN 0  32  [fd00:1234:5678:900::1]:53
> > [::]:* users:(("dnsmasq",pid=13525,fd=16)) uid:979 ino:113581
> > sk:20 v6only:1 <->
> > tcp   LISTEN 0  32 [fe80::5054:ff:fe94:f314]%virbr0:53
> > [::]:* users:(("dnsmasq",pid=13525,fd=13)) uid:979 ino:113576
> > sk:21 v6only:1 <->
> >
> >
> > --- running dnsmasq processes on host ('nxtvirt') post deploy-run ---
> >
> > dnsmasq13525  0.0  0.0  71888  2344 ?S12:31   0:00
> > /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
> > --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
> > root   13526  0.0  0.0  71860   436 ?S12:31   0:00
> > /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
> > --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
> >
> >
> > --- var/lib/libvirt/dnsmasq/default.conf ---
> >
> > ##WARNING:  THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO
> > BE
> > ##OVERWRITTEN AND LOST.  Changes to this configuration should be made
> > using:
> > ##virsh net-edit default
> > ## or other application using the libvirt API.
> > ##
> > ## dnsmasq conf file created 

[ovirt-users] Re: teaming vs bonding

2020-06-10 Thread Asaf Rachmani
Teaming is not supported in 4.4, please use bonding instead.

Regards,
Asaf

On Thu, Jun 11, 2020 at 12:31 AM Chris Adams  wrote:

> Once upon a time, Louis Bohm  said:
> > Unless I have learned wrong all these years Teaming is the Windows term
> for Linux Bonding.
>
> Linux has two methods (or maybe, at least two methods?) to support
> ethernet link aggregation: the original bonding and the newer team
> modules.  The primary difference is that bonding is done entirely in the
> kernel, while team management is in userspace.  The team setup is more
> flexible and IIRC easier to programatically monitor.
>
> --
> Chris Adams 
> ___
> 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/JCZULPVDELIDG6E2XVPN5GWNDFYHGL3P/
>
___
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/R3MMIP4SKW7V7K5XDVMZTIIVJBBCEQCI/


[ovirt-users] Re: HostedEngine HA Engine Network Status

2020-05-21 Thread Asaf Rachmani
In addition to what Didi suggested, you can enable DEBUG level in order to
get more details in broker.log:
1. Edit /etc/ovirt-hosted-engine-ha/broker-log.conf
2. In [logger_root] section change the level parameter to level=DEBUG
3. Restart the service: systemctl restart ovirt-ha-broker

Regards,
Asaf

On Thu, May 21, 2020 at 10:01 AM Yedidyah Bar David  wrote:

> On Thu, May 21, 2020 at 8:55 AM Joseph Goldman 
> wrote:
> >
> > Hi List,
> >
> >   Running a 3 node setup for a client, i'm constantly having the
> > HostedEngine move itself around, whatever node its on ends up penalizing
> > its score so low that it forces a migrate to the other node.
> >
> >   Looking at /var/log/ovirt-hosted-engine-ha/agent.log shows a decent
> > amount of:
> >
> > MainThread::INFO::2020-05-21
> >
> 15:47:54,742::states::135::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(score)
> > Penalizing score by 319 due to network status
> >
> >   What I want to know is how do I get more debug out of this to know
> > what network status its concerned about, so I can go about stablising it.
>
> You can see some more info in broker.log in same log dir. Search for
> "network".
>
> If it's not enough to understand why it penalizes, you might want to add
> some
> logging to the code, which is:
>
>
> https://github.com/oVirt/ovirt-hosted-engine-ha/blob/master/ovirt_hosted_engine_ha/broker/submonitors/network.py
>
> or, on your machine, in
>
>
> /usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/submonitors/network.py
>
> (or python2.7, for <= 4.3).
>
> See also the git log ("History" button in github) for recent changes,
> including
> adding logging to the dns tester.
>
> >
> >   The system is heavily monitored with ping checks, never drops link and
> > never drops ICMP. None of its VM's falter accessing shared NFS space for
> > disk storage so I'm not sure what the concern is. The node will
> > literally over time penalise itself down to ~2000 and then HA agent will
> > want it to swap nodes. It's not necessarily a bad thing but generates a
> > heap of status emails multiple times a day which is just garbage - and
> > makes the HE unavailable sometimes when mid-admin task.
>
> Understood.
>
> Which network tester do you use? If it's dns (IIRC the default now),
> perhaps
> it's a problem with your dns server(s).
>
> Good luck and 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/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/JHZPC7IHU3LRPNWXMKKEIRHB6ZJ2V2I3/
>
___
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/QDI6XQTGEPTXUGSCVZ7XTRI2WPUIZIF7/


[ovirt-users] Re: HostedEngine add more RAM

2020-05-17 Thread Asaf Rachmani
Which oVirt version are you using?
>From 4.2 you don't need to wait, you should be able to update the HE memory
via UI:
1. Enable global maintenance
2. Change HE VM memory via UI
3. On the HE, run: # hosted-engine --vm-shutdown
4. Wait for HE VM to be down: # hosted-engine --vm-status
5. Start HE VM: # hosted-engine --vm-start
6. Disable global maintenance

On Sat, May 16, 2020 at 1:46 PM Strahil Nikolov via Users 
wrote:

> On May 14, 2020 12:41:13 AM GMT+03:00, Joseph Goldman <
> jos...@goldman.id.au> wrote:
> >Hi List,
> >
> >  I'm having troubles adding more RAM to my HostedEngine VM. When the
> >cluster first got up and running I only had a little bit of RAM so I
> >only gave the HE 4GB, but i'm constantly getting BadHealth alerts so I
> >want to up it to 8GB.
> >
> > I have tried multiple ways - mostly any time i edit the HE VM through
> >the UI it simply reverts back to 4096MB RAM, never upgrades to 8192MB.
> >I
> >have tried with global HA maintenance on as well but no luck. No
> >errors,
> >it saves as if it has completed the action but when I re-open the VM
> >(or
> >even after a fresh boot) it has simply reverted back to 4096MB.
> >
> >  Any help appreciated.
> >
> >Thanks,
> >Joe
> >___
> >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/QFUBQT3QUXIWLFNNODQRBONKGKVFMIWN/
>
> Have you tried  to add  more  RAM via UI and leave the VM for a day /even
> 2/ for the OVF to be updated ?
>
> I know that there  is an option to force  faster OVF updates , but it's
> still  slower than the defined frequency.
>
> Best Regards,
> Strahil Nikolov
> ___
> 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/UK6MAUKC6DTMDJLKDKLFJP3VOHSVCHZY/
>
___
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/ESYH3VAFE4NQKUT5JCICITQGOGMBQYP4/


[ovirt-users] Re: Ovirt engine setup Error

2019-06-19 Thread Asaf Rachmani
Hi,
Can you please provide the log files?
Regards,
Asaf

On Fri, Jun 14, 2019 at 7:43 PM PS Kazi  wrote:

> I am getting error while Ovirt Engine Setup:
> Ovirt Node version 4.3.4
> 
> [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 90, "changed": true,
> "cmd": "virsh -r net-dhcp-leases default | grep -i 00:16:3e:5f:0e:ea | awk
> '{ print $5 }' | cut -f1 -d'/'", "delta": "0:00:00.086952", "end":
> "2019-06-14 12:05:37.249240", "rc": 0, "start": "2019-06-14
> 12:05:37.162288", "stderr": "", "stderr_lines": [], "stdout": "",
> "stdout_lines": []}
> [ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Remove local vm dir]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Remove temporary entry in
> /etc/hosts for the local VM]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Notify the user about a failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> system may not be provisioned according to the playbook results: please
> check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
>
> Please help me
> ___
> 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/PQK53I7SFYBTYYZ3AMQRGUO7VVMWJZRK/
>
___
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/JNNYZW6MFZLAM64A4XQXQKA2T5XE5X4J/