Increasing an Existing iSCSI Storage Domain
by Brian Wilson
My Question is not so much in how to do this as i have been able to take an existing Storage domain and increase its size with adding another LUN. My Question is how will a failure of one of the LUNs be handled by the engine and how will it effect the VMs running on it.
Let me setup an example to better illustrate.
Ovirt Node has ISCSI storage domain comprised of 1 Lun from 1 ISCSI based SAN and 2 LUNs from another. So a total of 3 Luns making up the one storage domain.
Now there is an issue with the Storage array providing the single lun. What happens? How do you know what VMs are running on each extent?
TIA
Brian
6 years
Hyperconverged Ovirt + ZFS
by Thomas Simmons
Hello All,
I recently took a new job in a RedHat shop and I'd like to move all of my
homelab systems to RedHat upstream products to better align with what I
manage at work. I had a "custom" (aka - hacked together) 3-node
Hyperconverged XenServer cluster and would like to get this moved over to
Ovirt (I'm currently testing with 4.2.7). Unfortunately, my storage is
limited to software RAID with a 128GB SSD for cache. If at all possible, I
would prefer to use ZFS (RAIDZ+ZIL+L2ARC) instead of MD RAID + lvmcache,
however I'm not able to get this working and I'm not sure why. My ZFS and
Gluster configuration is working - at least where I can manually mount all
of my gluster volumes from all of my nodes, however, hosted-engine --deploy
fails. I understand this isn't an out of the box configuration for Ovirt,
however I see no reason why this shouldn't work. I would think this would
be no different than using any other Gluster volume for the engine
datastore, Am I missing something that would prevent this from working?
[ INFO ] TASK [Add glusterfs storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is
"[Storage Domain target is unsupported]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "deprecations":
[{"msg": "The 'ovirt_storage_domains' module is being renamed
'ovirt_storage_domain'", "version": 2.8}], "msg": "Fault reason is
\"Operation Failed\". Fault detail is \"[Storage Domain target is
unsupported]\". HTTP response code is 400."}
Even though it fails, it appears to have mounted and written
__DIRECT_IO_TEST__ to my Gluster volume:
[root@vmh1 ~]# mount -t glusterfs localhost:/engine /mnt/engine/
[root@vmh1 ~]# ls /mnt/engine/
__DIRECT_IO_TEST__
If I cancel and try to run the deploy again, I get a different failure:
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is
"[Error creating a storage domain]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "deprecations":
[{"msg": "The 'ovirt_storage_domains' module is being renamed
'ovirt_storage_domain'", "version": 2.8}], "msg": "Fault reason is
\"Operation Failed\". Fault detail is \"[Error creating a storage
domain]\". HTTP response code is 400."}
Gluster seems ok...
[root@vmh1 /]# gluster volume info engine
Volume Name: engine
Type: Replicate
Volume ID: 2e34f8f5-0129-4ba5-983f-1eb5178deadc
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: vmh1-ib:/zpool1/engine
Brick2: vmh2-ib:/zpool1/engine
Brick3: vmh3-ib:/zpool1/engine
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
performance.client-io-threads: off
ZFS looks good too...
[root@vmh1 ~]# ansible ovirthosts -m shell -a 'zpool status' -b
vmh1 | CHANGED | rc=0 >>
pool: zpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zpool1 ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
logs
sdb2 ONLINE 0 0 0
cache
sdb1 ONLINE 0 0 0
errors: No known data errors
vmh3 | CHANGED | rc=0 >>
pool: zpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zpool1 ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
logs
sdb2 ONLINE 0 0 0
cache
sdb1 ONLINE 0 0 0
errors: No known data errors
vmh2 | CHANGED | rc=0 >>
pool: zpool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zpool1 ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
sde ONLINE 0 0 0
logs
sdb2 ONLINE 0 0 0
cache
sdb1 ONLINE 0 0 0
errors: No known data errors
Permissions seem ok
[root@vmh1 ~]# ansible ovirthosts -m shell -a 'ls -n /zpool1' -b
vmh3 | CHANGED | rc=0 >>
total 2
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 data
drwxr-xr-x. 3 36 36 4 Nov 15 06:31 engine
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 iso
vmh1 | CHANGED | rc=0 >>
total 2
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 data
drwxr-xr-x. 3 36 36 4 Nov 15 06:31 engine
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 iso
vmh2 | CHANGED | rc=0 >>
total 2
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 data
drwxr-xr-x. 3 36 36 4 Nov 15 06:31 engine
drwxr-xr-x. 3 36 36 3 Nov 15 04:56 iso
6 years
Engine ISO Uploader - SSL Peer Not Trusted
by Shawn Weeks
Trying to upload an iso using engine-iso-uploader on a hosted-engine instance and I'm getting an SSL Error. I followed the directions at https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup SSL and am able to login to the Admin console without an issue. Also checked that things like curl recognize the CA correctly. Not sure where engine-iso-uploader is getting it's trust store.
[root@cloud ~]# engine-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort):
ERROR: Unable to connect to REST API at https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
Message: Error while sending HTTP request: (60, "Peer's certificate issuer has been marked as not trusted by the user.")
What am I missing?
Thanks
Shawn
6 years
yum error
by Fernando Fuentes
Team,
This just started happening.
Error: Package: ovirt-host-4.2.3-1.el7.x86_64 (@ovirt-4.2)
Requires: glusterfs-rdma
Removing: glusterfs-rdma-3.12.15-1.el7.x86_64 (@ovirt-4.2-centos-gluster312)
glusterfs-rdma = 3.12.15-1.el7
Obsoleted By: mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1.g8509e41.3.rhel7u4.x86_64 (spp)
Not found
Available: glusterfs-rdma-3.8.4-53.el7.centos.x86_64 (base)
glusterfs-rdma = 3.8.4-53.el7.centos
Available: glusterfs-rdma-3.8.4-54.15.el7.centos.x86_64 (updates)
glusterfs-rdma = 3.8.4-54.15.el7.centos
Available: glusterfs-rdma-3.12.0-1.el7.x86_64 (ovirt-4.2-centos-gluster312)
I cant seem to update. Any ideas why this is happening?
Regards,
--
Fernando Fuentes
ffuentes(a)txweather.org
http://www.txweather.org
6 years
how to allow VM to query external DHCP server
by Jarosław Prokopowski
Hi,
It seems my VMs are not able to send DHCP requests to external DHCP server
located in the same network as oVirt hosts. Can anyone tell me how I can
enable this?
Thanks
Jarek
6 years
oVirt monitoring
by b.yuri8@gmail.com
Hello,
I'm trying to do some performance monitoring on our oVirt and want to ask if someone has any experience with it? Currently I'm trying Red Hat Virutalization tool which has REST API, where you can get statistics per host, vm, disk and nic. Problem is that you cannot get any historical data via rest api (at least I didn't find any way to do it) and almost all metrics are gauge values over some interval (couldn't find it documentation, but it looks like they are updated every 15 s). I surely don't want to query whole environment every 15 seconds and missing some values is also not an option since I could miss some spikes in performance.
Any help is appreciated!
George
6 years
OVS and Ovirt integration questions
by 0pk0de@riseup.net
Hello,
After having integrated OVS with Ovirt and enabled it as default network provider I am facing the following issues.
I can see with "ovs-vsctl show" that the virtual switch / bridge called "br-int" is created. I can see interfaces being added / removed to it as I start / stop VMs.
[root@******* ~]# ovs-vsctl show
78e883f9-f074-4292-afce-bb829ded856b
Bridge br-int
fail_mode: secure
Port "vnet6"
Interface "vnet6"
Port br-int
Interface br-int
type: internal
Port "vnet4"
Interface "vnet4"
ovs_version: "2.9.0"
Now I for example want to create a new interface as shown:
ip tuntap add mode tap sniff0
ovs-vsctl add-port br-int sniff0 -- --id=@p get port sniff0 -- --id=@m create mirror name=m0 select-all=true output-port=@p -- set bridge br-int mirrors=@m
fae36943-2ca7-4914-9679-0b881cd062d8
Its created, but how do I assign this sniffing interface to a ovirt VM? also, how can I create sniffing ports listening only on a subset of interfaces if they get dynamically created / removed? vnet6 points to host A now, but after shutting it down starting a few other VMs it will point to host B...
How do I control to what vm the vnetX nic gets assigned?
6 years
Foreman integration / Network integration (storage)
by jeanbaptiste@nfrance.com
Hello everybody,
I use oVirt with Foreman to bare metal provision hypervisor.
On foreman side, I use excellent Discovery plugin firstly. Afterthat I configure a "bond0" lagg on Network host tab.
Into this bond0, I create some "virtual interface" (bond0.15 for example) with a static IP assignation via integrated Foreman IPAM.
All is pretty cool, but after oVirt installation is done, I'm "forced" via postinstall to apply:
Add "NM_Controlled=no" to all my bond0.* interfaces.
Afterthat on oVirt , Host, "Setup Host Network", I'm able to move my network to the host and have automatically the IP address "configured" since read from the ifcfg file.
This method seem to work but only in "one time mode". There is no real link between oVirt and Foreman for IP assignement.
Do you use anothers way to provision bare metal hypervisor and have automatic IP assignement (for storage network for ex) between these two excellent tools ?
thanks !
6 years
using vlan-tagged nic for ovirtmgmt
by Tony Brian Albers
Is this possible?
I have 3 hosts with each four physical interfaces.
On one of them, I have a vlan defined which I'd like to use for
ovirtmgmt. However, after installing the host, it says that the
ovirtmgmt network is missing on it and if I try to assign ovirtmgmt I
can only do it on the physical NIC's
Any ideas?
/tony
--
--
Tony Albers
Systems Architect
Systems Director, National Cultural Heritage Cluster
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316
6 years