Re: [ovirt-users] iSCSI domain on 4kn drives
by Martijn Grendelman
--------------36184DCB2549919AF578FAC3
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Op 4-8-2016 om 18:36 schreef Yaniv Kaul:
> On Thu, Aug 4, 2016 at 11:49 AM, Martijn Grendelman
> <martijn.grendelman(a)isaac.nl <mailto:martijn.grendelman@isaac.nl>> wrote:
>
> Hi,
>
> Does oVirt support iSCSI storage domains on target LUNs using a block
> size of 4k?
>
>
> No, we do not - not if it exposes 4K blocks.
> Y.
Is this on the roadmap?
I just bought a bunch of 4k native drives and spent a LOT of money. Now
it seems they are useless in my oVirt/RHEV environment...
Regards,
Martijn.
--------------36184DCB2549919AF578FAC3
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Op 4-8-2016 om 18:36 schreef Yaniv Kaul:<br>
<blockquote
cite="mid:656392f9bbeca7d5e761289e7580bdd7,CAJgorsYoeHScdq9gSkSbG-WXv2QPmuzB9RaAE9rWVVOPwyFcrQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Aug 4, 2016 at 11:49 AM,
Martijn Grendelman <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:martijn.grendelman@isaac.nl"
target="_blank">martijn.grendelman(a)isaac.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Does oVirt support iSCSI storage domains on target LUNs
using a block<br>
size of 4k?<br>
</blockquote>
<div><br>
</div>
<div>No, we do not - not if it exposes 4K blocks.</div>
<div>Y.</div>
</div>
</div>
</div>
</blockquote>
<br>
Is this on the roadmap?<br>
<br>
I just bought a bunch of 4k native drives and spent a LOT of money.
Now it seems they are useless in my oVirt/RHEV environment...<br>
<br>
Regards,<br>
Martijn.<br>
</body>
</html>
--------------36184DCB2549919AF578FAC3--
8 years, 3 months
python sdk v3 host nic issues
by Huan He (huhe)
Hi,
I tried the host nic and bond sample code in http://www.ovirt.org/develop/api/pythonapi/. In gui, I am able to create bond and vlan network without issues.
here is my code
if __name__ == '__main__':
url = 'https://huhe-rhev-m.cisco.com/ovirt-engine/api'
usr = 'admin@internal'
pwd = 'nbv12345'
ca_file = '/home/huhe/workspace/ansible/crt/ca.der'
api = API(url=url, username=usr, password=pwd, ca_file=ca_file, debug=True)
print api.get_product_info().name
nic0 = params.HostNIC(name = 'enp6s0', network = params.Network(), boot_protocol='none', ip=params.IP(address='', netmask='', gateway=''))
nic1 = params.HostNIC(name = 'enp7s0', network = params.Network(), boot_protocol='none', ip=params.IP(address='', netmask='', gateway=''))
nic2 = params.HostNIC(name = 'enp8s0', network = params.Network(), boot_protocol='none', ip=params.IP(address='', netmask='', gateway=''))
nic3 = params.HostNIC(name = 'enp9s0', network = params.Network(), boot_protocol='none', ip=params.IP(address='', netmask='', gateway=''))
bond = params.Bonding(
slaves = params.Slaves(host_nic = [ nic0, nic1, nic2, nic3 ]),
options = params.Options(
option = [
params.Option(name = 'miimon', value = '100'),
params.Option(name = 'mode', value = '1'),
params.Option(name = 'primary', value = 'enp6s0')]
)
)
managementNetwork = params.HostNIC(network = params.Network(name = 'ovirtmgmt'),
name = 'bond0',
boot_protocol = 'static',
ip = params.IP(
address = '20.200.10.172',
netmask = '255.255.255.0',
gateway = '20.200.10.254'),
override_configuration = 1,
bonding = bond)
networkName = 'my_vm_db'
clusterNetwork = api.clusters.get('my_cluster').networks.get(name = networkName)
vlanNetwork = params.HostNIC(network = params.Network(name = networkName), name = "bond0.%s" % clusterNetwork.vlan.id)
host = api.hosts.get('host-172')
host.nics.setupnetworks(params.Action(force = 0,
check_connectivity = 1,
host_nics = params.HostNics(host_nic = [ managementNetwork,
vlanNetwork])))
api.disconnect()
The following is the console output
> <action>
> <host_nics>
> <host_nic>
> <name>bond0</name>
> <network>
> <name>ovirtmgmt</name>
> </network>
> <ip netmask="255.255.255.0" gateway="20.200.10.254" address="20.200.10.172"/>
> <bonding>
> <options>
> <option name="miimon" value="100"/>
> <option name="mode" value="1"/>
> <option name="primary" value="enp6s0"/>
> </options>
> <slaves>
> <host_nic>
> <name>enp6s0</name>
> <network/>
> <ip netmask="" gateway="" address=""/>
> <boot_protocol>none</boot_protocol>
> </host_nic>
> <host_nic>
> <name>enp7s0</name>
> <network/>
> <ip netmask="" gateway="" address=""/>
> <boot_protocol>none</boot_protocol>
> </host_nic>
> <host_nic>
> <name>enp8s0</name>
> <network/>
> <ip netmask="" gateway="" address=""/>
> <boot_protocol>none</boot_protocol>
> </host_nic>
> <host_nic>
> <name>enp9s0</name>
> <network/>
> <ip netmask="" gateway="" address=""/>
> <boot_protocol>none</boot_protocol>
> </host_nic>
> </slaves>
> </bonding>
> <boot_protocol>static</boot_protocol>
> <override_configuration>1</override_configuration>
> </host_nic>
> <host_nic>
> <name>bond0.101</name>
> <network>
> <name>my_vm_db</name>
> </network>
> </host_nic>
> </host_nics>
> <check_connectivity>1</check_connectivity>
> <force>0</force>
> </action>
< HTTP/1.1 404 Not Found
< Date: Fri, 05 Aug 2016 17:55:54 GMT
< Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips
< Content-Length: 0
<
* Connection #0 to host huhe-rhev-m.cisco.com left intact
Traceback (most recent call last):
File "/home/huhe/workspace/ansible/src/ovirt_hostnic.py", line 57, in <module>
vlanNetwork])))
File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line 16672, in setupnetworks
headers={"Correlation-Id":correlation_id}
File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 122, in request
persistent_auth=self.__persistent_auth
File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py", line 79, in do_request
persistent_auth)
File "/usr/local/lib/python2.7/site-packages/ovirtsdk/infrastructure/connectionspool.py", line 156, in __do_request
raise errors.RequestError(response_code, response_reason, response_body)
ovirtsdk.infrastructure.errors.RequestError:
status: 404
reason: Not Found
detail:
Any idea what is wrong? It is ovirt v3
Thanks,
Huan
<http://www.ovirt.org/develop/api/pythonapi/><http://www.ovirt.org/develop/api/pythonapi/><http://www.ovirt.org/develop/api/pythonapi/>
8 years, 3 months
VM storage issue after snapshot deletion
by Ollie Armstrong
Hi everyone.
I'm having an issue with a VM after initiating a snapshot deletion.
Shortly after the deletion started the VM was paused and has not
recovered since, this was over 12 hours ago.
I've dug into the logs and here's some things that jumped out at me:
engine.log
Message: VM XXXXXX has been paused due to unknown storage error.
vdsm.log
Improbable extension request for volume
cb180795-1da8-4a4c-90a9-b42d00485018 on domain
0243ebd9-fd3f-4674-b4e7-05af734280e7, pausing the VM to avoid
corruptions (capacity: 53687091200, allocated: 5750586880, physical:
1073741824, next physical size: 2147483648)
The vdsm.log line I've quoted is repeated approximately every 2
seconds from the first occurrence and is still going. I've attached
engine.log and uploaded vdsm.log to my server [1] as it was 10M. The
VM in question has the ID 184f89f4-8427-4a28-8787-8912f5c5f038.
The VM is still paused and cannot be resumed, seemingly as a
precaution to avoid corruption.
Is there anything I can do to recover the data on the disk? All help
is greatly appreciated.
I'm running oVirt 3.6.6.2-1 on CentOS 7.
Cheers,
Ollie
[1] https://ollie.io/vdsm.log
8 years, 3 months
Error when editing host network
by Maxence Sartiaux
Hello,
On a ovirt 4.0 cluster (updated from 3.6) i try to edit logical
networks of my hosts but when i click on the little pen to edit my
logical network, the ui throw me an error
"Uncaught exception occurred.
Please try reloading the page.
Details: Exception caught: (TypeError)_gwt$exception: <skipped>: this.d
is nullPlease have your administrator check the UI logs"
And in my ui.log
2016-08-05 13:53:51,982 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-33) [] Permutation name: 8575592A3B731F1B46F43B12B003D7DF
2016-08-05 13:53:51,982 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-33) [] Uncaught exception: :
com.google.gwt.event.shared.UmbrellaException: Exception caught:
(TypeError)
__gwt$exception: <skipped>: this.d is null
at Unknown.Ev(Unknown Source)
at Unknown.Mv(Unknown Source)
at Unknown.y7(Unknown Source)
at Unknown.B7(Unknown Source)
at Unknown.L6(Unknown Source)
at Unknown.qq(Unknown Source)
at Unknown.Aq(Unknown Source)
at Unknown.z2(Unknown Source)
at Unknown.sq(Unknown Source)
at Unknown.L8e(Unknown Source)
at Unknown.oZe(Unknown Source)
at Unknown.q_e(Unknown Source)
at Unknown.Sx(Unknown Source)
at Unknown.Wx(Unknown Source)
at Unknown.Vx/<(Unknown Source)
at Unknown.uC(Unknown Source)
at Unknown.p8e(Unknown Source)
at Unknown.zlf(Unknown Source)
at Unknown.Dlf(Unknown Source)
at Unknown.L8e(Unknown Source)
at Unknown.oZe(Unknown Source)
at Unknown.nZe(Unknown Source)
at Unknown.o_e(Unknown Source)
at Unknown.Sx(Unknown Source)
at Unknown.Wx(Unknown Source)
at Unknown.Vx/<(Unknown Source)
at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
__gwt$exception: <skipped>: this.d is null
at Unknown.uXp(Unknown Source)
at Unknown.CYp(Unknown Source)
at Unknown.nYp(Unknown Source)
at Unknown.HYp(Unknown Source)
at Unknown.fXr(Unknown Source)
at Unknown.Svo(Unknown Source)
at Unknown.fwo(Unknown Source)
at Unknown.fVp(Unknown Source)
at Unknown.j1p(Unknown Source)
at Unknown.kcv(Unknown Source)
at Unknown.idv(Unknown Source)
at Unknown.U2(Unknown Source)
at Unknown.t2(Unknown Source)
at Unknown.V6(Unknown Source)
... 23 more
Any ideas ?
Thank you
8 years, 3 months
Reports URL gone after upgrade from 3.6.7 to 4.0.1
by Arman Khalatyan
hi,
My reports link is disappeared after the upgrade.
On the GUI after login I get following error from FF console:
https://cloud05.10g/ovirt-engine/services/reports-interface-proxy?command...
Internal Server Error
if I run engine-setup it shows as before my dwh is there:
--== CONFIGURATION PREVIEW ==--
Default SAN wipe after delete : False
Firewall manager : firewalld
Update Firewall : True
Host FQDN : cloud05.10g
Engine database secured connection : False
Engine database host : localhost
Engine database user name : engine
Engine database name : engine
Engine database port : 5432
Engine database host name validation : False
DWH database secured connection : False
DWH database host : localhost
DWH database user name : ovirt_engine_history
DWH database name : ovirt_engine_history
DWH database port : 5432
DWH database host name validation : False
Engine installation : True
PKI organization : cls
NFS mount point : /var/lib/exports/iso
DWH installation : True
Backup DWH database : True
Engine Host FQDN : cloud05.10g
Configure VMConsole Proxy : True
Configure WebSocket Proxy : True
thanks,
Arman.
8 years, 3 months
Missing engine-manage-domains?!
by Clint Smith
I'm using oVirt Engine Version: 4.0.0.6-1.el7.centos and wanted to connect
an LDAP server. I went looking for engine-manage-domains on the engine
machine but it seems to be missing. Any ideas?
Thanks,
Clint
8 years, 3 months
No VMs to import
by Frank Rothenstein
Hello,
now that gluster 3.7.14 is out I was able to change the storage domains
mount from NFS back to GlusterFS. The first domain worked flawlessly
this way:
set domain to maintenance -> detach -> remove -> import Domain (this
time GlusterFS) -> import VMs
The other storage domain works too, but in the gui is no tab Import VMs
or Import Disks.
Is there any other way to rescan/reimport VMs on this storage domain?
Frank
______________________________________________________________________________
BODDEN-KLINIKEN Ribnitz-Damgarten GmbH
Sandhufe 2
18311 Ribnitz-Damgarten
Telefon: 03821-700-0
Fax: 03821-700-240
E-Mail: info(a)bodden-kliniken.de Internet: http://www.bodden-kliniken.de
Sitz: Ribnitz-Damgarten, Amtsgericht: Stralsund, HRB 2919, Steuer-Nr.: 079/133/40188
Aufsichtsratsvorsitzende: Carmen Schröter, Geschäftsführer: Dr. Falko Milski
Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorge-
sehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, beachten Sie bitte, dass jede Form der Veröf-
fentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sofort den
Absender zu informieren und die E-Mail zu löschen.
Bodden-Kliniken Ribnitz-Damgarten GmbH 2016
*** Virenfrei durch Kerio Mail Server und Sophos Antivirus ***
8 years, 3 months
hosted_engine on gluster storage for all the same fqdn?
by Florian Nolden
Hi,
I try to install the hosted_engine on 3 Servers which host also the gluster
data storage.
When I install now the hosted_engine, which storage path should I use?
Setup 1:
server1: server1.san:/hosted_engine
server2: server1.san:/hosted_engine
server3: server1.san:/hosted_engine
Setup 2:
server1: localhost:/hosted_engine
server2: localhost:/hosted_engine
server3: localhost:/hosted_engine
Setup 3:
/etc/hosts: 127.0.0.1 gluster
server1: gluster:/hosted_engine
server2: gluster:/hosted_engine
server3: gluster:/hosted_engine
Other Setup? What is the best practice there?
8 years, 3 months
storage domain operation python api sample codes needed
by Huan He (huhe)
Hi,
I can't figure out how to do the following, a sample code will be helpful.
Put a storage domain in maintenance mode
Detach the storage domain
Remove the storage domain
By the way, do you have an API doc or wiki?
Thanks,
Huab
8 years, 3 months
Multipath iSCSI with several IPs
by James Michels
Hello,
I want to add an iSCSI based storage domain. For that I add a domain on the
Storage tab with one of the IPs (say 10.10.10.1), but for failover purposes
I'd like to use multipath to add a failover IP so if the first one fails,
LUNs can be reached via the second (say 10.10.10.2).
How can this be done in oVirt 4.0.1? I have not seen a way how to add the
second IP for multipath purposes.
Thank you
James
8 years, 3 months