iSCSI multipathing missing tab
by Nicolas Ecarnot
Hello,
oVirt 4.1.6.2-1.el7.centos
Under the datacenter section, I see no iSCSI multipathing tab.
As I'm building this new DC, could this be because this DC is not yet
initialized?
--
Nicolas ECARNOT
7 years
oVirt node and NFS
by Magnus Isaksson
--_000_HE1PR0701MB2316E516FF53B8459D8A41D1C9220HE1PR0701MB2316_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
This is probably an easy thing, but I can't seem to find the solution.
On my oVirt node 4.1 I have some NFS shares that I want other hosts to reac=
h, but I noticed that the firewall is not open for that on the host.
So, how to I configure the Nodes firewall?
Regards
Magnus Isaksson
--_000_HE1PR0701MB2316E516FF53B8459D8A41D1C9220HE1PR0701MB2316_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"SV" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">This is probably an easy thing,=
but I can’t seem to find the solution.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">On my oVirt node 4.1 I have som=
e NFS shares that I want other hosts to reach, but I noticed that the firew=
all is not open for that on the host.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">So, how to I configure the Node=
s firewall?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Regards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Magnus Isaksson<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>
--_000_HE1PR0701MB2316E516FF53B8459D8A41D1C9220HE1PR0701MB2316_--
7 years
Need advise/help/ideas to implement a two sites disaster-recovery with ovirt
by wodel youchi
Hi,
We want to implement two sites with ovirt and have disaster-recovery, if
site one is unreachable, then site two takes-over.
We will be using iSCSI for Data domains
Our initial idea is :
- install the first site :
- self-hosted engine
- iscsi blocks for data domains
- install the second site:
- self-hosted engine.
- iscsi blocks for data domain.
Use the snapshot synchronization of the disk-array to sync iscsi
blocks/volumes.
The two self-hosted engine will be independent.
In case of a failure :
- break the synchronization
- Access the data domain in site two
- start the VMs.
oVirt does not manage replication of VMs itself, someone may argue that
it's not it's purpose, but what about selecting the VMs to replicate?? in
case of NFS we may (I don't know really if it's possible) have some access
to the VMs disk files, but in block mode with LVM in it, things become
complicated.
So if someone has implemented such architecture, could you please share the
experience, give advice and ideas on how to best implement this.
Regards.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_camp...>
Garanti
sans virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_camp...>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
7 years
Issue with ovirt-ansible-roles
by Luca 'remix_tj' Lorenzetto
Hello,
i'm playing with ovirt-ansible-roles for building a standard
configuration to be applied to all my ovirt setups.
I downloaded ovirt-ansible-roles 1.1.1 from github and unpacked
examples, playbooks and roles on a directory
(/ansible/ovirt-ansible-roles/).
I created then this playbook:
==8<==8<==8<==8<==8<== ovirt_infra.yml ==8<==8<==8<==8<==8<==8<===
---
- name: oVirt infra
hosts: localhost
connection: local
gather_facts: false
vars_files:
- ovirt_infra_vars.yml
- passwords.yml
pre_tasks:
- name: Login to oVirt
ovirt_auth:
url: "{{ engine_url }}"
username: "{{ engine_user }}"
password: "{{ engine_password }}"
ca_file: "{{ engine_cafile | default(omit) }}"
insecure: "{{ engine_insecure | default(true) }}"
tags:
- always
- name: Generate Hosts list
set_fact:
hosts: "{{ hosts|default([]) + [ {'name': item.key, 'address':
item.key, 'cluster': item.value.cluster, 'password':
item.value.password|default('defaultpwd') } ] }}"
with_dict: "{{ hosts_map }}"
roles:
- ovirt-infra
post_tasks:
- name: Logout from oVirt
ovirt_auth:
state: absent
ovirt_auth: "{{ ovirt_auth }}"
tags:
- always
==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<===
file passwords.yml declares engine_password, ovirt_infra_vars.yml
instead contain this vars:
==8<==8<==8<==8<==8<==8<== ovirt_infra_vars.yml ==8<==8<==8<==8<==8<===
---
engine_url: https://ovirtengine.intranet.company/ovirt-engine/api
engine_user: admin@internal
engine_insecure: True
compatibility_version: 4.1
data_center_name: Default
hosts_map:
fltiovirt001.intranet.company:
cluster: production
clusters:
- name: production
cpu_type: Intel Westmere Family
profile: production
==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<==8<===
I did some pre-flight checks and everything seems ok:
playbooks > ansible --version
ansible 2.4.0.0
config file = /ansible/ovirt-ansible-roles/playbooks/ansible.cfg
configured module search path =
[u'/home/remixtj/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5
20150623 (Red Hat 4.8.5-14)]
playbooks > rpm -qa python-ovirt*
python-ovirt-engine-sdk4-4.1.6-1.el7ev.x86_64
So i hope that everything goes smooth, but...
playbooks > ansible-playbook ovirt_infra.yml
[DEPRECATION WARNING]: The use of 'include' for tasks has been
deprecated. Use 'import_tasks' for static inclusions or
'include_tasks' for dynamic
inclusions. This feature will be removed in a future release.
Deprecation warnings can be disabled by setting
deprecation_warnings=False in
ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but
usage is discouraged. The module documentation details page may
explain more
about this rationale.. This feature will be removed in a future
release. Deprecation warnings can be disabled by setting
deprecation_warnings=False
in ansible.cfg.
PLAY [oVirt infra]
***********************************************************************************************************************************
TASK [Login to oVirt]
********************************************************************************************************************************
ok: [localhost]
TASK [Generate Hosts list]
***************************************************************************************************************************
ok: [localhost] => (item={'key': u'fltiovirt001.intranet.company,
'value': {u'cluster': u'production'}})
TASK [ovirt-mac-pools : set mac pools]
***************************************************************************************************************
TASK [ovirt-datacenters : Add data center]
***********************************************************************************************************
An exception occurred during task execution. To see the full
traceback, use -vvv. The error was: Error: Failed to read response.
[DEPRECATION WARNING]: The 'ovirt_datacenters' module is being renamed
'ovirt_datacenter'. This feature will be removed in version 2.8.
Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": false, "failed": true,
"msg": "Failed to read response."}
PLAY RECAP *******************************************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1
If i run with -vvv i get this traceback and details when running the
task TASK [ovirt-datacenters : Add data center]
The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_mmZ02F/ansible_module_ovirt_datacenters.py", line
215, in main
ret = clusters_module.create()
File "/tmp/ansible_mmZ02F/ansible_modlib.zip/ansible/module_utils/ovirt.py",
line 537, in create
entity = self.search_entity(search_params)
File "/tmp/ansible_mmZ02F/ansible_modlib.zip/ansible/module_utils/ovirt.py",
line 773, in search_entity
entity = search_by_attributes(self._service,
name=self._module.params['name'])
File "/tmp/ansible_mmZ02F/ansible_modlib.zip/ansible/module_utils/ovirt.py",
line 230, in search_by_attributes
search=' and '.join('{}={}'.format(k, v) for k, v in kwargs.items())
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py",
line 4453, in list
return self._internal_get(headers, query, wait)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
202, in _internal_get
return future.wait() if wait else future
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
52, in wait
response = self._connection.wait(self._context)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py",
line 460, in wait
return self.__wait(context, failed_auth)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py",
line 468, in __wait
raise Error("Failed to read response.")
Error: Failed to read response.
[DEPRECATION WARNING]: The 'ovirt_datacenters' module is being renamed
'ovirt_datacenter'. This feature will be removed in version 2.8.
Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"comment": null,
"compatibility_version": "4.1",
"description": null,
"fetch_nested": false,
"local": false,
"mac_pool": null,
"name": "Default",
"nested_attributes": [],
"poll_interval": 3,
"quota_mode": null,
"state": "present",
"timeout": 180,
"wait": true
}
},
"msg": "Failed to read response."
}
What's wrong with the response?
The engine i want to manage is running oVirt Engine Version:
4.1.0.3-1.el7.centos
I can upgrade, but i'd like also to test the playbook for upgrading
the infrastructure...
Luca
--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca(a)gmail.com>
7 years
Re: [ovirt-users] Some tests results: lustrefs over nfs on VM
by Yaniv Kaul
On Nov 19, 2017 11:05 PM, "Arman Khalatyan" <arm2arm(a)gmail.com> wrote:
hi Yaniv,
yes for sure I hit some cache in between but not the vm cache, it has a 4GB
ram, with oflag=direct I get about 120MB/s
for the data analysis the cache is our friend:)
The backend is a lustrefs 2.10.x.
yes we have dedicated 10G on the hosts, where we can limit the vm interface
to 10Gbit?
Define QoS on the NIC.
But I think you wish to limit IO, no?
Y.
Am 19.11.2017 8:33 nachm. schrieb "Yaniv Kaul" <ykaul(a)redhat.com>:
On Sun, Nov 19, 2017 at 7:08 PM, Arman Khalatyan <arm2arm(a)gmail.com> wrote:
> Hi, in our environment we got pretty good io performance on VM, with
> following configuration:
> lustrebox: /lust mounted on "GATEWAY" over IB
> GATEWAY: export /lust as nfs4 on 10G interface
> VM(test.vm): import as NFS over 10G interface
>
> [root(a)test.vm <root(a)gans.vm> ~]# dd if=/dev/zero bs=128K count=100000
>
Without oflag=direct, you are hitting (somewhat) the cache.
>
> of=/test/tmp/test.tmp
> 100000+0 records in
> 100000+0 records out
> 13107200000 <(310)%20720-0000> bytes (13 GB) copied, 20.8402 s, 629 MB/s
> looks promising for the future deployments.
>
Very - what's the backend storage?
>
> only one problem remains that on heavy io I get some wornings that the vm
> network is saturated, are there way to configure the bandwidth limits to
> 10G for the VM Interface??
>
Yes, but you really need a dedicated storage interface, no?
Y.
>
>
> thank you beforehand,
> Arman.
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
7 years
Openshift in VMs created from oVirt
by Wayna Runa
Hi there!,
I've oVirt running and providing several VMs (CentOS and RedHat), now I
want to provide VMs with minimalist Openshift cluster running inside to
developers.
Minishift creates a VM with Openshift locally, that is fine, but now we
have oVirt to provide VMs which the developers can get access remotely.
How I can use oVirt to do that?.
Thanks in advance.
--
*Wayna Runa*
7 years
After trying to use OVS can't recover a node to use ovirtmgmt
by Juan Manuel Nieto
Hello,
I've unsucessfully tried in a node to use ovs, now I want to switch back to
use ovirtmgmt but I cant.
for some reason my node is not operational and I have the following on
ovirt-engine.log:
------------------------------0--------------->
ERROR [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
(DefaultQuartzScheduler7) [1472e53b] Host 'labarq01.lda' is set to
Non-Operational, it is missing the following networks: 'ovirtmgmt'
<------------------------------0-------------------
When I was installing OVS for some reason the ovirtmgmt was removed I
recreated it and its functional.
5: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether a0:8c:fd:c7:1a:00 brd ff:ff:ff:ff:ff:ff
inet 10.3.38.11/24 brd 10.3.38.255 scope global ovirtmgmt
valid_lft forever preferred_lft forever
inet6 fe80::a28c:fdff:fec7:1a00/64 scope link
valid_lft forever preferred_lft forever
root@labarq01 ovirt-engine]# cat
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
# Generated by VDSM version 4.19.31-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
IPADDR=10.3.38.11
NETMASK=255.255.255.0
GATEWAY=10.3.38.1
BOOTPROTO=none
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
DNS1=10.12.1.110
DNS2=10.113.24.145
root@labarq01 ovirt-engine]# brctl show
bridge name bridge id STP enabled interfaces
;vdsmdummy; 8000.000000000000 no
ovirtmgmt 8000.a08cfdc71a00 no eno1
I'm using Centos 7 and ovirt 4.1.7 the rest of the nodes work properly.
Is there any way to configure this network for this host manually?
Thank you in advance.
Best regards
7 years
ovirt node and logical networks on same physical one
by Gianluca Cecchi
Hello,
I'm going to setup an environment where unfortunately I will have only a
flat physical class B private network available, for all my scopes.
There are 2 stacked switches where the hypervisors' nics will connect to.
My hypervisors will have 6 network interfaces so that potentially I could
configure 3 bonds: one for mgmt, one for migration, one for VMs.
But this way each hypervisor will have its mgmt ip and its migration ip on
the same lan and also the IP of a VM running inside it will stay in the
same lan.
Is this kind of configuration feasible for a test? Any suggestion based on
these constraints?
If this matter, I'm going to install hypervisors as oVirt nodes
Thanks,
Gianluca
7 years
Why was HE Install made OVA only?
by Alan Griffiths
Hi,
What was the reasoning behind making Hosted Engine install OVA only?
The PXEBoot feature always worked really well for me, and now I have a
number of extra steps to achieve the same end result.
Thanks,
Alan
7 years