[ovirt-users] Re: Overt Node | Non-Responsive

2019-12-26 Thread Strahil
Hi Vijay,

Can you share the error messages in thelogs ,as the screenshot shows only 
'INFO' messages.

Best Regards,
Strahil NikolovOn Dec 26, 2019 10:17, Vijay Sachdeva 
 wrote:
>
> Dear Team,
>
>  
>
> I have a host on which I am using local storage for my VMs. Now I rebooted my 
> host because it was shifted to another location, right now in vdsm logs I see 
> errors like:
>
>  
>
>  
>
> Where in host I can see my mounted LVM volume is perfectly fine. I started 
> VSDM services and libvirtd, but host is not leaving Non-Responsive state.
>
>  
>
> Any help ..!!
>
>  
>
>  
>
> Vijay Sachdeva
>
>  
>
>  ___
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/VN4MUONIPJAMTO5JTNBBYHHG6USHEUTJ/


[ovirt-users] Re: oVirt and Containers

2019-12-26 Thread Robert Webb
Jan,

Thanks for taking the time for a great reply.

For what I am trying to accomplish here in my home lab, it seems that OKD is 
the safest path. If I understand correctly, with OKD, I just need to build full 
vm's in the oVirt environment which will become hosts, compute nodes, for 
containers that get deployed. OKD is basically just container management and it 
does not care whether or not the compute nodes are VM's or bare metal.

Again, thanks for taking the time to educate me.

Robert


From: Jan Zmeskal 
Sent: Tuesday, December 24, 2019 4:43 PM
To: Robert Webb
Cc: users
Subject: Re: [ovirt-users] oVirt and Containers

Okay, so this topic is quite vast, but I believe I can at the very least give 
you a few pointers and maybe others might chime in as well.

Firstly, there's the Kubevirt project. It enables you to manage both 
application containers and virtual machines workloads (that cannot be easily 
containerized) in a shared environment. Another benefit is getting advantages 
of the powerful Kubernetes scheduler. I myself am not too familiar with 
Kubevirt, so I can only offer this high-level overview. More info here: 
https://kubevirt.io/

Then there is another approach which I am more familiar with. You might want to 
use oVirt as an infrastructure layer on top of which you run containerized 
workflow. This is achieved by deploying either 
OpenShift or the upstream project 
OKD in the oVirt virtual machines. In that scenario, oVirt 
VMs are considered by OpenShift as compute resources and are used for 
scheduling containers. There are some advantages to this setup and two come 
into mind. Firstly, you can scale such OpenShift cluster up or down by 
adding/removing oVirt VMs according to your needs. Secondly, you don't need to 
set up all of this yourself.
For OpenShift 3, Red Hat provides detailed guide on how to go about this. Part 
of that guide are Ansible playbooks that automate the deployment for you as 
long as you provide required variables. More info here: 
https://docs.openshift.com/container-platform/3.11/install_config/configuring_for_rhv.html
When it comes to OpenShift 4, there are two types of deployment. There's UPI - 
user provisioned infrastructure. In that scenario, you prepare all the 
resources for OpenShift 4 beforehand and deploy it in that existing 
environment. And there's also IPI - installer provisioned infrastructure. This 
means that you just give the installer access to your environment (e.g. AWS 
public cloud) and the installer provisions resources for itself based on 
recommendations and best practices. At this point, neither UPI nor IPI is 
supported for oVirt. However there is a GitHub 
repository that can guide you 
through UPI installation on oVirt and also provides automation playbooks for 
that. I have personally followed the steps from the repository and deployed 
OpenShift 4.2 on top of oVirt without any major issues. As far as I remember, I 
might have needed occasional variable here and there but the process worked.

Hope this helps!
Jan

On Tue, Dec 24, 2019 at 8:21 PM Robert Webb 
mailto:rw...@ropeguru.com>> wrote:
Hi Jan,

Honestly, I didn't have anything specific in mind, just what is being used out 
there today and what may be more prevalent.

Just getting my oVIrt set up and want to know what might be recommended.  Would 
probably be mostly deploying images like Homeassistent, piHole, etc.. for now.

I guess if there is good oVirt direct integration, it would be nice to keep it 
all in a single interface.

Thanks..


From: Jan Zmeskal mailto:jzmes...@redhat.com>>
Sent: Tuesday, December 24, 2019 1:54 PM
To: Robert Webb
Cc: users
Subject: Re: [ovirt-users] oVirt and Containers

Hi Robert,

there are different answers based on what you mean by integrating oVirt and 
containers. Do you mean:

- Installing container management (Kubernetes or OpenShift) on top of oVirt and 
using oVirt as infrastructure?
- Managing containers from oVirt interface?
- Running VM workloads inside containers?
- Something different?

I can elaborate more based on your specific needs

Best regards
Jan

On Tue, Dec 24, 2019 at 3:52 PM Robert Webb 
mailto:rw...@ropeguru.com>>>
 wrote:
I was searching around to try and figure out the best way to integrate oVirt 
and containers.

I have found some sites that discuss it but all of them are like 2017 and older.

Any recommendations?

Just build VM’s to host containers or is there some direct integration?

Here are a couple of the old sites

https://fromanirh.github.io/containers-in-ovirt.html

https://kubernetes.io/docs/setup/production-environment/on-premises-vm/ovirt/

https://www.ovirt.org/develop/release-management/features/integration/container-support.html
___

[ovirt-users] recommandations for running ovirt playbooks into awx/tower

2019-12-26 Thread Nathanaël Blanchet
For those who want to run ovirt playbooks/dynamic inventories in a full 
Python3 awx/tower environment without any issue, you should consider 
this important point (as ovirt playbooks need to run with a local 
connection and with specific venv):


https://github.com/ansible/awx/issues/3267

"(...) make sure any host with |ansible_connection: local| /also/ 
specifies |ansible_python_interpreter: '{{ ansible_playbook_python }}'|."


my awx local inventory looks like this:

---
ansible_ssh_user: root
ansible_python_interpreter: '{{ ansible_playbook_python }}'

Without this, awx will run playbook with the local (default OS one) 
python binary instead of the venv one that must contain the nss/openssl 
re-compiled pycurl.


If you aim to use awx-rpm (https://awx.wiki/installation)

 * only el7 RPMs with default local py27, so consider the precedent point
 * create venv in the default venv path
   /opt/rh/rh-python36/root/usr/bin/awx-create-venv -n py36
 * compile pycurl with nss support :
   yum install -y make gcc redhat-rpm-config python3-devel
   libcurl-devel libxml2-devel openssl-devel
   exportPYCURL_SSL_LIBRARY=nss;pip install pycurl --compile --no-cache-dir
 * Install ovirtsdk4 dependencies:
   pip install ansible ovirt-engine-sdk-python psutil
 * venv become available into templates/inventory table

If you aim to use regular awx with el8 containers 
(https://github.com/ansible/awx/blob/devel/INSTALL.md#Docker-Compose) :


 * local python is already 3.6, so no issue with before
 * before launching installer:
   sed -i
   
'/project_data_dir/c\project_data_dir=/var/lib/awx/projects'installer/inventory
   sed -i
   '/custom_venv_dir/c\custom_venv_dir=/opt/my-envs'installer/inventory
 * create a venv into the awx_container
   docker exec-it awx_web bash
   yum install -y make gcc redhat-rpm-config python3-devel
   libcurl-devel libxml2-devel openssl-devel
   python3 -m venv /opt/my-envs/py36
 * compile pycurl with openssl support :
   source/opt/my-envs/py36/bin/activate
   exportPYCURL_SSL_LIBRARY=openssl;pip install pycurl --compile
   --no-cache-dir
 * Install ovirtsdk4 dependencies:
   pip install ansible ovirt-engine-sdk-python psutil
 * So as to get venv droplist availaible into templates/inventory tab
   settings -> system -> custom environment paths -> /opt/my-envs and
   login/logout.




Le 03/12/2019 à 04:07, Guillaume Pavese a écrit :
My problem was that I did not fully follow your directions, and had 
not pip installed ovirt-engine-sdk-python in the virtualenv.

Inventory is syncing now in awx.

Thanks for the help!


Guillaume Pavese
IngénieurSystèmeet Réseau
Interactiv-Group


On Fri, Nov 29, 2019 at 8:07 PM Nathanaël Blanchet > wrote:


try if you can get a result with plain ovirt4.py execution:

cd /tmp

rsync -av

/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/plugins/inventory/ovirt4.py
.

cat ovirt.ini
[ovirt]
ovirt_url = https://engine_fqdn/ovirt-engine/api
ovirt_username = admin@internal
ovirt_password = passwd

./ovirt4.py


Le 29/11/2019 à 09:57, Guillaume Pavese a écrit :

Hi,

I use awx rpm from awx.wiki and followed your directions to
create a python2 venv with ansible 2.9.1 and built pycurl with
nss, however syncing the inventory still fails :

stderr:
ansible-inventory 2.9.1
  config file = None
  configured module search path =
[u'/var/lib/awx/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
  ansible python module location =
/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible
  executable location =
/var/lib/awx/venv/ovirt-p2/bin/ansible-inventory
  python version = 2.7.5 (default, Aug  7 2019, 00:51:29) [GCC
4.8.5 20150623 (Red Hat 4.8.5-39)]
No config file found; using defaults
setting up inventory plugins
[WARNING]:  * Failed to parse
/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py with script plugin:
Inventory script
(/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py) had an execution error:

  File

"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/inventory/manager.py",
line 280, in parse_source
    plugin.parse(self._inventory, self._loader, source, cache=cache)
  File

"/var/lib/awx/venv/ovirt-p2/lib/python2.7/site-packages/ansible/plugins/inventory/script.py",
line 161, in parse
    raise AnsibleParserError(to_native(e))

[WARNING]: Unable to parse
/opt/rh/rh-python36/root/usr/lib/python3.6/site-
packages/awx/plugins/inventory/ovirt4.py as an inventory source

Guillaume Pavese
IngénieurSystèmeet Réseau
Interactiv-Group


On Fri, Nov 29, 2019 at 4:51 AM Nathanaël Blanchet
mailto:blanc...@abes.fr>> wrote:

give a try to https://awx.wiki/ based on rpms and not docker
if you want to test 

[ovirt-users] Re: Overt-Engine Down | Host Unresponsive

2019-12-26 Thread Steven Rosenberg
Dear Vijay Sachdeva,

Thank you for your question. There could have been a communication issue
that prevented the engine from communicating with the Host and sometimes
restarting the engine fixes the issue.

The Hosts do continue to run their VMs whether the engine is connected or
not so to answer your question there should be no impact to the Host(s)
when the engine goes down.

With Best Regards.

Steven Rosenberg.

On Thu, Dec 26, 2019 at 11:01 AM Vijay Sachdeva 
wrote:

> Dear Team,
>
>
>
> I have one question, if Ovirt-engine goes down for some reason. Will it
> impact my host to go un-responsive and all VMs down?
>
>
>
> I just faced a situation where my host was in un-responsive status and all
> VMs were down. I restart the ovirt-engine service and host got activated.
>
>
>
> Can anyone let me know this situation?
>
>
>
> Thanks
>
>
>
> Vijay Sachdeva
>
>
> ___
> 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/HJ2RIVD5MU4ARAUX3FK75QLPKSBZKQH6/
>
___
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/POQUUI36F5SCDMJKYWORAUTYTX6AWOH5/


[ovirt-users] Overt-Engine Down | Host Unresponsive

2019-12-26 Thread Vijay Sachdeva
Dear Team,

 

I have one question, if Ovirt-engine goes down for some reason. Will it impact 
my host to go un-responsive and all VMs down?

 

I just faced a situation where my host was in un-responsive status and all VMs 
were down. I restart the ovirt-engine service and host got activated.

 

Can anyone let me know this situation?

 

Thanks

 

Vijay Sachdeva

 

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


[ovirt-users] Re: oVirt on a dedicated server with a single NIC and IP

2019-12-26 Thread alexcustos
Thanks so much. I tried both recommended options and found ProxMox fits my 
needs perfectly. Hetzner even has a deployment script for installing it through 
installimage.
___
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/5HVQYUZW7WEKPKMUVQAGRYPLAR73AHWU/