[ovirt-users] Engine VM FQDN will not validate.

2021-10-28 Thread admin
Hello,

I am trying to install the Hosted engine using the wizard.  I am NOT using the 
hyper converged.  When I add the fqdn  of  vmengine1.domain.com  I get the 
error. localhost is not a valid address.  When I add the host fqdn in the 
advanced area it validates, if I put the vmengine1.domain.com in the the host 
section it validates.

Facts:
- I have the domain in dns, confirmed by dig to resolve to the public IP of the 
host.
- I have the domain in hosts file confirmed by using ping and dig
- I have generated a ssh key for the root user on the host and I have added it 
to the known hosts file.
- I have logged into via ssh to all forms of addressing, so the known hosts 
file has been updated.  

localhost ecdsa-sha2-nistp256 
host1 ecdsa-sha2-nistp256 
host1.localhost ecdsa-sha2-nistp256 
vmengine.localhost ecdsa-sha2-nistp256 
host1.domain.com ecdsa-sha2-nistp256 
vmengine1.domain.com ecdsa-sha2-nistp256 

The reading suggests that the error doesn't mean what it says, but something 
about ssh not able to login to the host.  I have been able to login to the host 
with ssh manually from the cli.  Any help would be greatly appreciated.

thanks
Brad
___
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/N7TRXSW3UZRXCA536WJCIJILWA5TJVBQ/


[ovirt-users] Re: Snapshot and disk size allocation

2021-10-28 Thread Nir Soffer
On Thu, Oct 28, 2021 at 7:21 PM  wrote:
>
> Hello, is there any progress in this problem? I have tried to reduce a 
> bloated volume by trigger the reduce command over rest api. I am using ovirt 
> 4.3.10, but i get no response, and the volume keeps bloated anyway. I'm 
> getting frustrated, because i am using a backupscript which creates a 
> snapshot, then creates a clone vm out of the snapshot, exports it and removes 
> snapshot and cloned vm. This is done every night, and so the volumes increase.
> it is a productiv cluster with 70 vm, and i can't just stop them and do som 
> magic stuff.

I think the only way you can optimize the disk size is to move the
disk to another
storage domain and back to the original storage domain.

When we copy a disk, we measure every volume in the chain, and create
a new volume
in the destination storage, using the optimal size for this volume.
Then we copy the
data from the source volume to the new volume using qemu-img convert.

When qemu-img convert  copy an image, it detects unallocated areas or
areas which
reads as zeroes. In the target image, these areas will not be
allocated, or will be stored
efficiently as zero clusters (8 byte for 64k of data).

Detecting zeroes happens during the copy, not when you measure the
volume, so after
the first copy the disk, may still have unneeded allocation at lvm
level. When you copy
the disk back to original storage, this extra allocation will be eliminated.

This is not a fast operation, but you can move disks when vms are
running, so there is
no downtime.

You can try this with a new vm:
1. create vm with 100g thin data disk
2. in the guest, fill the disk with zeros
dd if=/dev/zero bs=1M count=102400 of=/dev/sdb oflag=direct status=progress
3. the vm disk will be extended to 100g+
4. move the disk to another storage domain
5. after the move, the disk's actual size will be 100g+
6. move the disk back to original storage
7. the disk actual size will go back to 1g

Note that enabling discard and using fstrim in the guest before the copy will
optimize the process.

1. create vm with 100g thin virtio-scsi data disk, with "enable discard"
2. in the guest, fill the disk with zeros
dd if=/dev/zero bs=1M count=102400 of=/dev/sdb oflag=direct status=progress
3. the vm disk will be extended to 100g+
4. in the guest, run "fstrim /dev/sdb"
5. the disk size will remain 100g+
6. move the disk to another storage domain
7. this move will be extremly quick, no data will be copied
8. the disk actual size on the destination storage domain will be 1g

In ovirt 4.5 we plan to support disk format conversion - this will allow this
kind of  sparsification without copying the data twice to another storage
domain.

Nir
___
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/LJHSMR7KNSMV6SGMWGLTJE6NZEVPZLOF/


[ovirt-users] [ANN] Async oVirt engine release for oVirt 4.4.9

2021-10-28 Thread Lev Veyde
On October 28th 2021 the oVirt project released an async update of oVirt
engine (4.4.9.4)

Changes:

   -

   Require EAP 7.4.2 to use supported upgrade path from EAP 7.3 (Fixes
   BZ#1963748 )
   -

   Enable IOMMU caching_mode when mdev devices are present (Fixes BZ#2013752
   )


-- 

Lev Veyde

Senior Software Engineer, RHCE | RHCVA | MCITP

Red Hat Israel



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

TRIED. TESTED. TRUSTED. 
___
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/WSRAI4TUKA6WXHS74TSEBI2LK4W2PPPX/


[ovirt-users] Re: Snapshot and disk size allocation

2021-10-28 Thread christian . peater
Hello, is there any progress in this problem? I have tried to reduce a bloated 
volume by trigger the reduce command over rest api. I am using ovirt 4.3.10, 
but i get no response, and the volume keeps bloated anyway. I'm getting 
frustrated, because i am using a backupscript which creates a snapshot, then 
creates a clone vm out of the snapshot, exports it and removes snapshot and 
cloned vm. This is done every night, and so the volumes increase.
it is a productiv cluster with 70 vm, and i can't just stop them and do som 
magic stuff.

any ideas?
___
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/LBV7H4PUGFMBNRQVZ43BXRZSCWL33MVZ/


[ovirt-users] Re: Failed to delete snapshot

2021-10-28 Thread ivohccarvalho
Logs are here for the host, SPM and Engine - https://we.tl/t-v5Vm2QYBIl (sorry, 
did not find a better way)

The VM ID with this problem is 81e23292-4e43-4d9f-99ce-917936cce441.

Thanks again.
___
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/4IC2RC44FR4XUPSBN25JVUKWOHLVCJPP/


[ovirt-users] Re: Failed to delete snapshot

2021-10-28 Thread ivohccarvalho
Gathering the logs.

Will reply back soon.
___
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/ADDQHMFUBQJ73CFFCBHYGPIDMNU2YYTT/


[ovirt-users] Re: Failed to delete snapshot

2021-10-28 Thread Eyal Shenitzky
Hi,

Can you please provide the engine and VDSM logs that contains the failure?

On Wed, Oct 27, 2021, 17:04  wrote:

> Hello all.
>
> We use vprotect to make snapshot backups of our vm's.
> This VM, let's call it OVIRTVM, has it's disks created as thin.
> A full snapshot is created daily on sunday and the daily ones are
> incremental.
>
> After the backup vprotect tries to delete the snapshot and almost always
> fails with the error:
> "Failed to delete snapshot 'vProtect 2021-10-25 22:30:17.641654' for VM
> 'OVIRTVM'."
>
> From engine.log can't get much more information:
>
> 2021-10-26 22:39:02,510+01 INFO
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511666)
> [] User admin@internal successfully logged in with scopes: ovirt-app-api
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,558+01 ERROR
> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-15)
> [666e0f97-8b02-4b1e-80d4-2a640dd28d90] Ending command
> 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with failure.
> 2021-10-26 22:39:02,595+01 INFO
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default
> task-511666) [1a9981] Running command: CreateUserSessionCommand internal:
> false.
> 2021-10-26 22:39:02,630+01 INFO
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511612)
> [] User admin@internal successfully logged in with scopes: ovirt-app-api
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,674+01 INFO
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511669)
> [] User admin@internal successfully logged in with scopes: ovirt-app-api
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,729+01 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedThreadFactory-engineScheduled-Thread-15)
> [666e0f97-8b02-4b1e-80d4-2a640dd28d90] EVENT_ID:
> USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Failed to delete snapshot
> 'vProtect 2021-10-25 22:30:17.641654' for VM 'OVIRTVM'.
> 2021-10-26 22:39:02,739+01 INFO
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default
> task-511675) [55891f0c] Running command: CreateUserSessionCommand internal:
> false.
> 2021-10-26 22:39:02,755+01 INFO
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default
> task-511660) [7895798d] Running command: CreateUserSessionCommand internal:
> false.
>
> What else should I be looking for?
>
> 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/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/63FSCAGHIQJTCWONJ3RPCOIWKAFYM7NE/
>
___
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/NMGOI6PKSKU2X24G5WRNUAP3ULDYC2R5/


[ovirt-users] Re: Upgrade 4.3 to 4.4 with Python3 : No module named "rpmUtils"

2021-10-28 Thread Yedidyah Bar David
On Thu, Oct 28, 2021 at 2:40 PM Richard Chan
 wrote:
>
>
> On Thu, Oct 28, 2021 at 7:19 PM Yedidyah Bar David  wrote:
>>
>> Hi,
>>
>> On Thu, Oct 28, 2021 at 1:49 PM Richard Chan  
>> wrote:
>>>
>>> Hello.,
>>>
>>> Scenario: Upgrading from 4.3 to 4.4
>>
>>
>> Please provide more details. How do you upgrade?
>>
>> Do you follow some document/procedure? Which? At which point are you in?
>>
>>>
>>>
>>> Situation: When running engine-setup on the new (standalone) engine host I 
>>> hit
>>>
>>> 2021-10-28 18:30:47,998+0800 DEBUG otopi.context context._executeMethod:127 
>>> Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
>>> 2021-10-28 18:30:47,999+0800 DEBUG 
>>> otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot 
>>> initialize miniyum
>>
>>
>> Please check/share the setup log.
>>
>> Generally speaking, otopi does not try to init yum, unless dnf failed to 
>> init.
>>
>> I guess going forward we should completely remove yum support. It was left 
>> over from the time where we supported both. This would not have solved your 
>> current problem, only output a different error message.
>>
>> Thanks and best regards,
>> --
>> Didi
>
>
> I am trying this on a AlmaLinux 8 host; I see that otopi actually has 
> hardcoded strings like "fedora" " centos" etc.
> I have set OTOPI_DNF_ENABLE=1 and so far have made it to the "Please confirm 
> installation settings" phase.
>
> My bad - sorry for the noise.
>
> Just curious: will this affect installing hosts and general oVirt 4.4 
> operations like upgrades?
> So far so good... I will reach back if it hits other issues.

Indeed AlmaLinux support is at most partial. We had a few
patches/threads about it, not sure about status.

You might want to check this recent thread:

[ovirt-devel] Re: [External] : Re: Need to complie kmod-cxgb3

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/JU4RCJ6IR46XIHJKUVUWC74VPX2THO7O/


[ovirt-users] Re: Upgrade 4.3 to 4.4 with Python3 : No module named "rpmUtils"

2021-10-28 Thread Richard Chan
On Thu, Oct 28, 2021 at 7:19 PM Yedidyah Bar David  wrote:

> Hi,
>
> On Thu, Oct 28, 2021 at 1:49 PM Richard Chan 
> wrote:
>
>> Hello.,
>>
>> Scenario: Upgrading from 4.3 to 4.4
>>
>
> Please provide more details. How do you upgrade?
>
> Do you follow some document/procedure? Which? At which point are you in?
>
>
>>
>> Situation: When running engine-setup on the new (standalone) engine host
>> I hit
>>
>> 2021-10-28 18:30:47,998+0800 DEBUG otopi.context
>> context._executeMethod:127 Stage boot METHOD
>> otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
>> 2021-10-28 18:30:47,999+0800 DEBUG
>> otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot
>> initialize miniyum
>>
>
> Please check/share the setup log.
>
> Generally speaking, otopi does not try to init yum, unless dnf failed to
> init.
>
> I guess going forward we should completely remove yum support. It was left
> over from the time where we supported both. This would not have solved your
> current problem, only output a different error message.
>
> Thanks and best regards,
> --
> Didi
>

I am trying this on a AlmaLinux 8 host; I see that otopi actually has
hardcoded strings like "fedora" " centos" etc.
I have set OTOPI_DNF_ENABLE=1 and so far have made it to the "Please
confirm installation settings" phase.

My bad - sorry for the noise.

Just curious: will this affect installing hosts and general oVirt 4.4
operations like upgrades?
So far so good... I will reach back if it hits other issues.


-- 
Richard Chan
___
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/RYNEZX2UHXZBE54NP6CTGBSXENZ5DD52/


[ovirt-users] Re: Upgrade 4.3 to 4.4 with Python3 : No module named "rpmUtils"

2021-10-28 Thread Yedidyah Bar David
Hi,

On Thu, Oct 28, 2021 at 1:49 PM Richard Chan 
wrote:

> Hello.,
>
> Scenario: Upgrading from 4.3 to 4.4
>

Please provide more details. How do you upgrade?

Do you follow some document/procedure? Which? At which point are you in?


>
> Situation: When running engine-setup on the new (standalone) engine host I
> hit
>
> 2021-10-28 18:30:47,998+0800 DEBUG otopi.context
> context._executeMethod:127 Stage boot METHOD
> otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
> 2021-10-28 18:30:47,999+0800 DEBUG
> otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot
> initialize miniyum
>

Please check/share the setup log.

Generally speaking, otopi does not try to init yum, unless dnf failed to
init.

I guess going forward we should completely remove yum support. It was left
over from the time where we supported both. This would not have solved your
current problem, only output a different error message.

Thanks 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/BZGKYRM2YAUUDZ7X6Z7TSWZB7H6EL7YX/


[ovirt-users] Re: Failed to delete snapshot

2021-10-28 Thread Benny Zlotnik
We need full logs (what happened before the snippet you pasted), as
well as vdsm logs from the SPM host, and vdsm logs from the host
running this VM

On Wed, Oct 27, 2021 at 5:04 PM  wrote:
>
> Hello all.
>
> We use vprotect to make snapshot backups of our vm's.
> This VM, let's call it OVIRTVM, has it's disks created as thin.
> A full snapshot is created daily on sunday and the daily ones are incremental.
>
> After the backup vprotect tries to delete the snapshot and almost always 
> fails with the error:
> "Failed to delete snapshot 'vProtect 2021-10-25 22:30:17.641654' for VM 
> 'OVIRTVM'."
>
> From engine.log can't get much more information:
>
> 2021-10-26 22:39:02,510+01 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511666) 
> [] User admin@internal successfully logged in with scopes: ovirt-app-api 
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search 
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,558+01 ERROR 
> [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-15) 
> [666e0f97-8b02-4b1e-80d4-2a640dd28d90] Ending command 
> 'org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand' with failure.
> 2021-10-26 22:39:02,595+01 INFO  
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default 
> task-511666) [1a9981] Running command: CreateUserSessionCommand internal: 
> false.
> 2021-10-26 22:39:02,630+01 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511612) 
> [] User admin@internal successfully logged in with scopes: ovirt-app-api 
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search 
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,674+01 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-511669) 
> [] User admin@internal successfully logged in with scopes: ovirt-app-api 
> ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search 
> ovirt-ext=token-info:validate ovirt-ext=token:password-access
> 2021-10-26 22:39:02,729+01 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-15) 
> [666e0f97-8b02-4b1e-80d4-2a640dd28d90] EVENT_ID: 
> USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Failed to delete snapshot 
> 'vProtect 2021-10-25 22:30:17.641654' for VM 'OVIRTVM'.
> 2021-10-26 22:39:02,739+01 INFO  
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default 
> task-511675) [55891f0c] Running command: CreateUserSessionCommand internal: 
> false.
> 2021-10-26 22:39:02,755+01 INFO  
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default 
> task-511660) [7895798d] Running command: CreateUserSessionCommand internal: 
> false.
>
> What else should I be looking for?
>
> 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/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/63FSCAGHIQJTCWONJ3RPCOIWKAFYM7NE/
___
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/D4JFU3JXXOLNHM34JCMMQA5D5LUMZ4AJ/


[ovirt-users] Re: The Engine VM (/32) and this host (/32) will not be in the same IP subnet.

2021-10-28 Thread Sina Owolabi
Ok I managed to continue choosing DHCP, which interestingly, it took
an IP from the 10.200.30.0/23 subnet.
I saw a lot of selinux AVC issues in journalctl, but I didnt see the
install process end and the screen was obscured with multiple network
messages.
Is it ok to ssh in and make it static?
Am I allowed to make local changes inside it?
Because its not resolving to the IP address DNS has for it (10.200.30.10/23).
I would also like to make it an IPA client and such.

On Wed, Oct 27, 2021 at 9:56 PM Sina Owolabi  wrote:
>
> Rejected:
>
>   How should the engine VM network be configured? (DHCP,
> Static)[DHCP]: Static
>   Please enter the IP address to be used for the engine VM []:
> 10.200.30.10/23
> [ ERROR ] Failed to execute stage 'Environment customization':
> IPAddress() does not support netmasks or subnet prefixes! See
> documentation for details.
> [ INFO  ] Stage: Clean up
> [ INFO  ] Cleaning temporary resources
>
> On Wed, Oct 27, 2021 at 9:53 PM Alex McWhirter  wrote:
> >
> > On 2021-10-27 16:09, Sina Owolabi wrote:
> > > Its really weird.
> > > Just tried again, with  the same failure, on a freshly reinstalled
> > > CentOS 8.
> > > Server has a number of vlan interfaces, on a physical interface
> > > enp2s0f1, all in the defined notation,
> > > one vlan interface has an IP, 10.200.10.3/23,
> > > Second physical interface enp2s0f0 is configured for 10.200.30.3/23,
> > > is the interface with a gateway and DNS, and the router can provide
> > > other IPs with DHCP here, and which I hope to have ovirtmgmt on.
> > > I run hosted-engine --deploy, I select the gateway for the enp2s0f1
> > > vlan (10.200.10.1).
> > >
> > > Please indicate the gateway IP address [10.200.30.1]: 10.200.10.1
> > > Please indicate a nic to set ovirtmgmt bridge on (enp2s0f1,
> > > enp2s0f1.1014, enp2s0f1.1016, enp2s0f1.1015, enp2s0f1.1005, enp2s0f0)
> > > [enp2s0f1.1014]: enp2s0f0
> > >   Please specify which way the network connectivity should be
> > > checked (ping, dns, tcp, none) [dns]:dns
> > >   How should the engine VM network be configured? (DHCP,
> > > Static)[DHCP]: Static
> > >   Please enter the IP address to be used for the engine VM []:
> > > 10.200.30.10
> > > [ ERROR ] The Engine VM (10.200.30.10/32) and this host
> > > (10.200.30.3/32) will not be in the same IP subnet.
> > >  Static routing configuration are not supported on automatic
> > > VM configuration.
> > >
> > > What can I try differently?
> > >
> >
> > Try setting the subnet with the engine IP.
> >
> > I.E. instead of 10.200.30.10 do 10.200.30.10/23
>
>
>
> --
>
> cordially yours,
>
> Sina Owolabi
>
> +2348176469061



-- 

cordially yours,

Sina Owolabi

+2348176469061
___
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/C422EOEBZYE52BWPEJTHOIAEEVOZXKTR/


[ovirt-users] Re: Internal Error

2021-10-28 Thread Saif Abu Saleh
Hi Tommy,

Can you please share more VDSM logs around the time the issue happened, and
also share the MOM.log file around the same time frame?

Thanks,
Saif



On Wed, Oct 27, 2021 at 6:28 AM Tommy Sway  wrote:

> Why is there such an error ?
>
>
>
>
>
>
>
> 2021-10-27 06:33:30,996+0800 INFO  (jsonrpc/3) [api.host] FINISH getStats
> error=:'NoneType' object has
> no attribute 'statistics'"> from=:::10.200.211.80,48086 (api:52)
>
> 2021-10-27 06:33:30,997+0800 ERROR (jsonrpc/3) [jsonrpc.JsonRpcServer]
> Internal server error (__init__:350)
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345,
> in _handle_request
>
> res = method(**params)
>
>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
> _dynamicMethod
>
> result = fn(*methodArgs)
>
>   File "", line 2, in getStats
>
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in
> method
>
> ret = func(*args, **kwargs)
>
>   File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1435, in
> getStats
>
> multipath=True)}
>
>   File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 77, in
> get_stats
>
> ret.update(cif.mom.getKsmStats())
>
>   File "/usr/lib/python2.7/site-packages/vdsm/momIF.py", line 67, in
> getKsmStats
>
> stats = self._mom.getStatistics()['host']
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
>
> return self.__send(self.__name, args)
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
>
> verbose=self.__verbose
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
>
> return self.single_request(host, handler, request_body, verbose)
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request
>
> return self.parse_response(response)
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response
>
> return u.close()
>
>   File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
>
> raise Fault(**self._stack[0])
>
> Fault: :'NoneType' object has
> no attribute 'statistics'">
>
> 2021-10-27 06:33:30,997+0800 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC
> call Host.getStats failed (error -32603) in 0.04 seconds (__init__:312)
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> 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/IQFJNX6KM6J7FLHYXK6TQZBSTCFIMRTV/
>
___
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/GBZNZOYYUUSI3O4UQDV32BMIMQBDVD2L/


[ovirt-users] Upgrade 4.3 to 4.4 with Python3 : No module named "rpmUtils"

2021-10-28 Thread Richard Chan
Hello.,

Scenario: Upgrading from 4.3 to 4.4

Situation: When running engine-setup on the new (standalone) engine host I
hit

2021-10-28 18:30:47,998+0800 DEBUG otopi.context context._executeMethod:127
Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
2021-10-28 18:30:47,999+0800 DEBUG
otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot
initialize miniyum
Traceback (most recent call last):
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 179,
in _boot
self._refreshMiniyum()
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 134,
in _refreshMiniyum
constants.PackEnv.YUM_ENABLED_PLUGINS
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 61,
in _getMiniYum
from otopi import miniyum
  File "/usr/lib/python3.6/site-packages/otopi/miniyum.py", line 17, in

import rpmUtils.miscutils
ModuleNotFoundError: No module named 'rpmUtils'


I have
# dnf provides \*/miscutils.py
Last metadata expiration check: 4:02:50 ago on Thu 28 Oct 2021 02:40:56 PM.
python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo: @System
Matched from:
Filename: /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py

python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo: baseos
Matched from:
Filename: /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py

On the original EL7 host with python2 I have
# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo: base
Matched from:
Filename: /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo: @base
Matched from:
Filename: /usr/lib/python2.7/site-packag# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo: base
Matched from:
Filename: /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM pa# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo: base# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo: base
Matched from:
Filename: /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo: @base
Matched from:
Filename: /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py

Matched from:
Filename: /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo: @base
Matched from:# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo: extras
Matched from:
Filename: /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch 

[ovirt-users] Power Saving schedule, hosts not shutting down

2021-10-28 Thread Maton, Brett
Hosts still not shutting down,  VM's get moved from host to host by
Migration initiated by system (reason load balancing)
events every few hours, unfortunately there is nothing in the event logs
about power management though.

Any thoughts or suggestions on logs to look into?

Regards,
Brett
___
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/BFVRECFB3LUNY5NPMJ3UFMU5Y4E6JGFS/