[ovirt-users] Using file storage(NFS, cephfs) directly in oVirt vm

2021-10-21 Thread ssarang520
Hi, I want to use NFS directly in oVirt vm. NFS server is installed on the 
oVirt host.
How can I use it if the oVirt vm and oVirt host cannot communicate?
___
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/UF7WMFT7OED4TV2FZR74AE47QAGB3PYT/


[ovirt-users] Re: TPM 2.0 Support in Ovirt

2021-10-21 Thread Bob Franzke via Users
I have tried that. I don’t have the options listed showing in the document for 
the VM edit dialog. I am assuming this is because the hosts do not have the TPM 
module enabled in BIOS? I don’t know if that’s the case or not.  Would the TPM 
setting need to be enabled in hardware on the hosts themselves for this to show 
up in the settings dialog?

 

From: hunter86...@yahoo.com (Strahil Nikolov)  
Sent: Thursday, October 21, 2021 2:04 PM
To: bob.fran...@mdaemon.com; bob.franzke--- via Users 
Subject: Re: [ovirt-users] TPM 2.0 Support in Ovirt

 

Have you tried 
https://www.ovirt.org/documentation/virtual_machine_management_guide/#Adding_TPM_devices
 ?

 

Best Regards,

Strahil Nikolov

On Thu, Oct 21, 2021 at 19:21, bob.franzke--- via Users

mailto:users@ovirt.org> > wrote:

Need to deploy a VM of a Windows 11 guest. Windows 11 requires TPM 2.0 support 
for it to be able to install. Does Ovirt support TPM devices somehow and if so 
how do I present the VM with a TPM device that can be detected by the Windows 
11 setup installer? Thanks in advance for any help here.

___

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

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


[ovirt-users] Re: Unable to put host in maintenance mode & unable to login to Postgres

2021-10-21 Thread David White via Users
When I tried with admin@internal@password, I got prompted for a password.

So then, I tried admin@internal without the password, and I got prompted for 
the password.

$ curl -u admin@internal@password -X POST 
https://ovirt-engine.mydomain.com/ovirt-engine/api/imagetransfers/2bf042e8-7ddd-4f43-a2b1-4a16de5c750a/finalize
 -k
Enter host password for user 'admin@internal@password':

$ curl -u admin@internal -X POST 
https://ovirt-engine.mydomain.com/ovirt-engine/api/imagetransfers/2bf042e8-7ddd-4f43-a2b1-4a16de5c750a/finalize
 -k
Enter host password for user 'admin@internal':

In the case of admin@internal@password, I got what I suspected, which was 
access denied... 

Erroraccess_denied: Cannot authenticate 
user 'admin@internal@password': No valid profile found in 
credentials..

In the other case, there was no stdout.

So then I ran a curl with -vv for verbose stdout, and I see this interesting 
tidbit:

< HTTP/1.1 415 Unsupported Media Type< Date: Thu, 21 Oct 2021 20:41:43 GMT< 
Server: Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1 
mod_wsgi/4.6.4 Python/3.6< Content-Length: 0< Correlation-Id: 
2b181b06-5b10-4b3a-a704-ee75ad2300c2<* Connection #0 to host 
ovirt-engine.mydomain.com left intact

Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐

On Wednesday, October 20th, 2021 at 11:55 PM, Strahil Nikolov 
 wrote:

> Try with curl -u 'admin@internal'@'pass' ...
> 

> Best Regards,Strahil Nikolov
> 

> > On Thu, Oct 21, 2021 at 2:17, David White via Users 
> > wrote:___
> > 

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

publickey - dmwhite823@protonmail.com - 0x320CD582.asc
Description: application/pgp-keys


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


[ovirt-users] Re: TPM 2.0 Support in Ovirt

2021-10-21 Thread Strahil Nikolov via Users
Have you tried 
https://www.ovirt.org/documentation/virtual_machine_management_guide/#Adding_TPM_devices
 ?
Best Regards,Strahil Nikolov
 
 
  On Thu, Oct 21, 2021 at 19:21, bob.franzke--- via Users 
wrote:   Need to deploy a VM of a Windows 11 guest. Windows 11 requires TPM 2.0 
support for it to be able to install. Does Ovirt support TPM devices somehow 
and if so how do I present the VM with a TPM device that can be detected by the 
Windows 11 setup installer? Thanks in advance for any help here.
___
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/ORXF2PISPI2I63HBAAHUE2I6IRS46QWG/
  
___
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/FF37YIOLLLFMBEFE7K4RIFKWFSFZ4ZL2/


[ovirt-users] Re: Installing Windows 4.4.9/Change CD

2021-10-21 Thread Nir Soffer
On Thu, Oct 21, 2021 at 7:11 PM Matt Schuler  wrote:
>
> Just wondering if it is possible to install windows on the 4.4.9?  (I am 
> running 4.4.9 and node 4.4.8, I don’t node is built yet for .9)
>
>
>
> The issue I am having is changing CDs, when I try to change it get the 
> following error: (Both ISOs are uploaded though the GUI on block storage, 
> iSCSI)
...
> ERROR FINISH changeCD error=Failed to change disk image
>
> Traceback (most recent call last):
>
> File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 5005, in 
> _update_disk_device
>
> disk_xml, libvirt.VIR_DOMAIN_DEVICE_MODIFY_FORCE)
>
> File "/usr/lib/python3.6/site-packages/vdsm/virt/virdomain.py", line 101, in f
>
> ret = attr(*args, **kwargs)
>
> File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", 
> line 131, in wrapper
>
> ret = f(*args, **kwargs)
>
> File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 94, in 
> wrapper
>
> return func(inst, *args, **kwargs)
>
> File "/usr/lib64/python3.6/site-packages/libvirt.py", line 3237, in 
> updateDeviceFlags
>
> raise libvirtError('virDomainUpdateDeviceFlags() failed')
>
> libvirt.libvirtError: internal error: unable to execute QEMU command 
> 'blockdev-add': 'file' driver requires 
> '/rhev/data-center/mnt/blockSD/XX/images/XX/XX' to be a regular file

This is https://bugzilla.redhat.com/1990268

It is fixed in:
$ git describe 6094e672781f593767dc313ebd53d23334511f5a
v4.40.90.1-7-g6094e6727

You need to upgrade vdsm.

The only workaround for now is to use  a file based storage domain
(e.g. NFS) for the ISO
images.

When the issue is fixed, you can copy the ISO disks to another storage
domain, and remove
the file based 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/K2AL6IYKQ4SBQ5GEQJ7HVSAJ4HZZVYGJ/


[ovirt-users] TPM 2.0 Support in Ovirt

2021-10-21 Thread bob.franzke--- via Users
Need to deploy a VM of a Windows 11 guest. Windows 11 requires TPM 2.0 support 
for it to be able to install. Does Ovirt support TPM devices somehow and if so 
how do I present the VM with a TPM device that can be detected by the Windows 
11 setup installer? Thanks in advance for any help here.
___
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/ORXF2PISPI2I63HBAAHUE2I6IRS46QWG/


[ovirt-users] Installing Windows 4.4.9/Change CD

2021-10-21 Thread Matt Schuler
Just wondering if it is possible to install windows on the 4.4.9?  (I am 
running 4.4.9 and node 4.4.8, I don't node is built yet for .9)

The issue I am having is changing CDs, when I try to change it get the 
following error: (Both ISOs are uploaded though the GUI on block storage, iSCSI)

GUI:
Error while executing action Change CD: Failed to perform "Change CD" 
operation, CD might be still in use by the VM.
Please try to manually detach the CD from withing the VM:
1. Log in to the VM
2 For Linux VMs, un-mount the CD using umount command;
For Windows VMs, right click on the CD drive and click 'Eject';

LOG:
ERROR FINISH changeCD error=Failed to change disk image
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 5005, in 
_update_disk_device
disk_xml, libvirt.VIR_DOMAIN_DEVICE_MODIFY_FORCE)
File "/usr/lib/python3.6/site-packages/vdsm/virt/virdomain.py", line 101, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", line 
131, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 94, in 
wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python3.6/site-packages/libvirt.py", line 3237, in 
updateDeviceFlags
raise libvirtError('virDomainUpdateDeviceFlags() failed')
libvirt.libvirtError: internal error: unable to execute QEMU command 
'blockdev-add': 'file' driver requires 
'/rhev/data-center/mnt/blockSD/XX/images/XX/XX' to be a regular file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/common/api.py", line 124, in method
ret = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/API.py", line 153, in changeCD
return self.vm.changeCD(driveSpec)
File "", line 2, in changeCD
File "/usr/lib/python3.6/site-packages/vdsm/common/api.py", line 101, in method
return func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 4768, in changeCD
self._change_cd(blockdev, drive_spec, iface, force=force)
File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 5049, in 
_change_cd
self._update_disk_device(disk_xml, force=force)
File "/usr/lib/python3.6/site-packages/vdsm/virt/vm.py", line 5008, in 
_update_disk_device
raise exception.ChangeDiskFailed()#012vdsm.common.exception.ChangeDiskFailed: 
Failed to change disk image

I feel like I have see a couple bugs on this, but now I can't find them...

Thank you!
___
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/RK6X7NYGJWF2EUKMY55ERBF5IJUGMICF/


[ovirt-users] Re: install python package ovirt_imageio for Ovirt 4.3

2021-10-21 Thread Nir Soffer
On Wed, Oct 20, 2021 at 3:55 PM Nir Soffer  wrote:
>
> On Wed, Oct 20, 2021 at 2:24 PM Grace Chen  wrote:
> > I want to use python script running from a host to automate the remote kvm 
> > manager's vm backup. Our ovirt version is 4.3. I have installed 
> > ovirt-imageio-daemon on the host
> > I tried to yum install ovirt-imageio-client (we use yum), it couldn't find 
> > the package.
> > error message:
> >
> > Loaded plugins: ulninfo, vdsmupgrade, versionlock
> > ovirt-4.3   
> >  | 3.0 kB  00:00:00
> > ovirt-4.3-extra 
> >  | 3.0 kB  00:00:00
> > ovirt-master-snapshot   
> >  | 3.0 kB  00:00:00
> > ovirt-master-snapshot-static
> >  | 3.0 kB  00:00:00
> > No package ovirt-imageio-client available.
> >
> > I tried to copy folder ovirt_imageio from ovirt-imageio to my python 
> > library directory, it could not compile the c file "ioutil.c"
> > Can anybody help me install the python package? Am I installing on the 
> > correct place, do I need to use the python script only on the host that 
> > installed the kvm manager?
>
> (Copied from private mail in case it is useful for others)
>
> ovirt-imageio-client was released in 4.4, and is not compatible with python 2.
>
> In general the client supports older version of ovirt server (e.g.
> 4.3), but it is
> not tested in this configuration.
>
> You can try to create a vm with centos 8 and ovirt-release44.rpm
> and install the client in this vm.
>
> Then you can run the backups on the vm, and store the backups in
> NFS server accessed by this "backup" vm.
>
> Note that you will get much better performance with ovirt 4.4., when
> running the client directly on the ovirt host. 4.4. also supports incremental
> backup, which is much faster and simpler compared with snapshot based
> backup that you probably plan to use.\

We have another option now to install ovirt_imagieo, via pip.

It may work on any Linux distro with qemu-img (>= 4.2) and python >= 3.6,
but I tested it only on Fedora 34 (qem-img 6.1, python 3.9).

Note that the imageio client depends qemu-img and qemu-nbd, provided by qem-img
package on rpm based distros. pip cannot install this package, so you
need to install
it yourself using your distro package manager.

Here an example using virtual environment:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install --upgrade pip
$ pip install --upgrade ovirt-imageio
$ pip install --upgrade ovirt-engine-sdk-python

The imageio client is not very useful as is unless you want to write
an application
using the python library. But we have several useful example scripts
in the ovirt
engine python SDK. They are not installed by pip, but you can get them via git:

$ git clone https://github.com/oVirt/python-ovirt-engine-sdk4.git

Finally, you need to add configuration file pointing to your engine(s):

$ cat /home/nsoffer/.config/ovirt.conf
[myengine]
engine_url = https://myengine.example.com
username = admin@internal
password = password
cafile = /home/username/certs/myengine.pem

Now you can upload a disk image using:

$ python-ovirt-engine-sdk4/examples/upload_disk.py -c myengine
--sd-name my-storage-domain --disk-sparse disk.qcow2

These scripts will be most useful and should work with 4.3:

- upload_disk.py
- download_disk.py

These require ovirt 4.4:

- list_disk_snapshots.py
- download_disk_snapshot.py
- backup_vm.py

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


[ovirt-users] Re: The service NetworkManager-wait-online fail to start

2021-10-21 Thread Klaas Demter
Do you have an ethernet interface that is UP but does not have dhcp/ip 
configured? Disable that via network manager or via onboot=no in ifcfg file



Greetings

Klaas


On 10/20/21 10:51, amaz...@hotmail.com wrote:

Hello,
i have install new Ovirt node.
The service NetworkManager-wait-online fail to start:
10:21 Failed to start Network Manager Wait Online. systemd
10:21 NetworkManager-wait-online.service: Failed with result 'exit-code'. 
systemd
10:21 NetworkManager-wait-online.service: Main process exited, code=exited, 
status=1/FAILURE systemd
10:20 Starting Network Manager Wait Online... systemd

When y try:
sh /usr/lib/systemd/system/NetworkManager-wait-online.service :
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 1: [Unit]: comm
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 2: Manager: com
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 3: syntax error
/usr/lib/systemd/system/NetworkManager-wait-online.service: line 3: `Documentati

I'm desperate to find solution!!

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

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


[ovirt-users] Re: fresh hyperconverged Gluster setup failed in ovirt 4.4.8

2021-10-21 Thread bgriffis
Fix listed in the bugzilla link above worked for me.  
add 'glusterfs-selinux' to the includepkgs section of 
[ovirt-4.4-centos-gluster8] in /etc/yum.repos.d/ovirt-4.4-dependencies.repo

(Copying the bugzilla page)

[ovirt-4.4-centos-gluster8]
name = CentOS-$releasever - Gluster 8
mirrorlist = 
http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-8
gpgcheck = 1
enabled = 1
gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image 
ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet 
vdsm-hook-ethtool-options glusterfs-selinux
___
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/KV6UQFYWL3WBGYQM5ODJJRWZOKAYPTPI/


[ovirt-users] Re: oVirt 4.4.8 Hyperconverged deploy failed

2021-10-21 Thread dvx . mellin
Ok my bad...
Sorry for the noise, i was tricked by my ssh agent.

The passwordless key wasn't in the authorized_keys file, only mine was.
___
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/XLUJYYVL3AJLBJFX2JQDZA4DBJSHZRHR/


[ovirt-users] oVirt 4.4.8 Hyperconverged deploy failed

2021-10-21 Thread dvx . mellin
Hi everyone,

I'm trying to deploy a hyperconverged ovirt cluster, but the the wizard in 
cockpit failed at the first step with the error "FQDN is not reachable".

The goal is to have 3 nodes, with hosted engine on gluster FS.

Here is the relevant information :
- CentOS 8.4
- ovirt 4.4.8
- 2 network interfaces (1 for storage, 1 for production)

The packages installed : cockpit-ovirt-dashboard, vdsm-gluster, ovirt-host, 
ovirt-engine-appliance, gluster-ansible-roles

# rpm -qa | grep ovirt 
ovirt-imageio-client-2.2.0-1.el8.x86_64
ovirt-host-dependencies-4.4.8-1.el8.x86_64
ovirt-vmconsole-1.0.9-1.el8.noarch
python3-ovirt-setup-lib-1.3.2-1.el8.noarch
ovirt-provider-ovn-driver-1.2.34-1.el8.noarch
ovirt-host-4.4.8-1.el8.x86_64
ovirt-vmconsole-host-1.0.9-1.el8.noarch
ovirt-imageio-daemon-2.2.0-1.el8.x86_64
ovirt-hosted-engine-ha-2.4.8-1.el8.noarch
ovirt-hosted-engine-setup-2.5.3-1.el8.noarch
ovirt-engine-appliance-4.4-20210826223909.1.el8.x86_64
cockpit-ovirt-dashboard-0.15.1-1.el8.noarch
python3-ovirt-engine-sdk4-4.4.15-1.el8.x86_64
ovirt-ansible-collection-1.6.2-1.el8.noarch
ovirt-imageio-common-2.2.0-1.el8.x86_64

I didn't use the ovirt44-release package because we have to use our local repo. 
So we have cloned all necessary repo.
Every package installation was passed without any issues.

The /etc/hosts contains every FQDN/IP for the storage network (which is not 
exposed to the public), and the DNS server is reachable to respond to public 
FQDN.

Passwordless connection is installed and works perfectly with sotrage and 
production FQDN.

If you need more information, please tell me.

Thanks in advance for your help.
Regards
___
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/MJP35LJKTSPZSMOB5YD3OJMCSCS2M5FF/