[Users] DNS for IPA in oVirt
by René Koch (ovido)
Hi list,
I don't want to ask my question in the mail thread of Eduardo to avoid
mixing topics.
Can you give me more detailed information on how oVirt is using DNS
internally and how IPA users can work in the following scenario:
# engine-manage-domains -action=list
Domain: ovido.at
User name: admin(a)OVIDO.AT
Manage Domains completed successfully
# cat /etc/hosts | grep engine
10.0.100.195 ovirt-engine.lab.ovido.at
# ip a
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 00:1a:4a:00:64:14 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.195/24 brd 10.0.100.255 scope global eth0
# host ovirt-engine.lab.ovido.at
ovirt-engine.lab.ovido.at has address 10.0.100.24
# host 10.0.100.24
24.100.0.10.in-addr.arpa domain name pointer ovirt-engine.lab.ovido.at.
So in my case I have correct DNS settings (forward and reverse), but my
ovirt-engine host has a totally different IP address.
I didn't test SSO with Kerberos in user portal (maybe this want work),
but authentication with IPA user in user portal and admin portal is
working fine even with these totally wrong DNS configuration.
Regards,
René
11 years, 8 months
[Users] oVirt Presentations
by René Koch (ovido)
Hello list,
I just want to inform you that I'll be talking about RHEV and oVirt on 2
(maybe 3) events in Austria and Germany in the next weeks (45min
presentation slots).
The first one is at the Open Source Data Center Conference in Nuremberg,
Germany which takes place from April, 17th to April, 18th:
http://www.netways.de/en/osdc/osdc2013/
Details on my presentation (presentation language is German):
http://www.netways.de/index.php?id=3732&L=1
Main focus will be Red Hat Enterprise Virtualization, but will also talk
about oVirt.
The second event is at the Graz Linux Days in Austria on April, 20th:
http://www.linuxtage.at/ (Sorry, there's no English version available)
Details on my presentation (in German):
http://glt13-programm.linuxtage.at/events/174.de.html
As this event is a non-profit community event I'll be focusing on oVirt,
but will also talk about differences to RHEV.
Eventually I'll be talking about oVirt on the Linux Weeks in Vienna,
Austria, too. This event is from May, 2nd to May, 4th:
http://www.linuxwochen.at/
At the moment the call for papers is still running...
If there's someone from Germany or Austria on this list and attends on
one of these events please let me know :)
Regards,
René
11 years, 8 months
[Users] api question / create vm from template
by Alex Leonhardt
hi,
i've been successful in creating a VM from a template, however, that VM is
a thin-provisioned one ? is it possible to make it a cloned /
pre-provisioned ? otherwise i wont be able to update/remove the template
when i need to ?
this is on ovirt 3.1
thanks
alex
--
| RHCE | Sen Sys Engineer / Platform Architect | www.vcore.co |
www.vsearchcloud.com |
11 years, 8 months
[Users] SPM is always contending
by Andy Singleton
After the node acting as spm was (accidentally) put into maintenance
mode, the spm role is always contending. The original node doesnt take
the role back either.
About 10 instances were still running on the node when it was put into
maintenance.
I have ovirt 3.1.0-4 with a targetcli iscsi store.
Here are the contents of the engine.log.
Andy
2013-04-04 15:25:23,979 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [5449512a] spmStart polling ended. spm status:
Free
2013-04-04 15:25:23,993 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand]
(QuartzScheduler_Worker-96) [5449512a] START, HSMClearTaskVDSCommand(vd
sId = d265245e-3cc5-11e2-bce7-001018fc3b14,
taskId=7c1cf7c6-21d4-4504-882d-3d465742b6ef), log id: d2da8ba
2013-04-04 15:25:24,011 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand]
(QuartzScheduler_Worker-96) [5449512a] FINISH, HSMClearTaskVDSCommand,
log id: d2da8ba
2013-04-04 15:25:24,012 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [5449512a] FINISH, SpmStartVDSCommand, return:
org.ovirt.engine.core.common.businessentities.SpmStatusResult@30a05218,
log id: 5980d6f4
2013-04-04 15:25:24,014 INFO
[org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] Running command: SetStoragePoolStat
usCommand internal: true. Entities affected : ID:
0ba15357-9b3b-4a76-8dac-b2b66b922174 Type: StoragePool
2013-04-04 15:25:24,843 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-96) [6d6dbe98]
IrsBroker::Failed::GetStoragePoolInfoV
DS due to: IrsSpmStartFailedException: IRSGenericException:
IRSErrorException: SpmStart failed
2013-04-04 15:25:24,900 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] Irs placed on server null failed.
Proc
eed Failover
2013-04-04 15:25:34,977 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] hostFromVds::selectedVds -
moon-palace
, spmStatus Free, storage pool Primary
2013-04-04 15:25:35,806 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] starting spm on vds moon-palace,
stora
ge pool Primary, prevId -1, LVER 2520
2013-04-04 15:25:35,851 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] START, SpmStartVDSCommand(vdsId = 3d
88c8b0-84bc-11e2-96b1-001018fc3b14, storagePoolId =
0ba15357-9b3b-4a76-8dac-b2b66b922174, prevId=-1, prevLVER=2520,
storagePoolFormatType=V2, recoveryMode=Manual, SCSIF
encing=false), log id: 30f4f64e
2013-04-04 15:25:45,901 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] spmStart polling started: taskId = 6
8002cff-478d-4c2c-8839-b935d8a858b1
2013-04-04 15:26:11,903 INFO [org.ovirt.engine.core.bll.VdsLoadBalancer]
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: Starting load
balance for cluster: BP_
Primary, algorithm: EvenlyDistribute.
2013-04-04 15:26:12,807 INFO [org.ovirt.engine.core.bll.VdsLoadBalancer]
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: high util: 51,
low util: 0, duration:
2, threashold: 80
2013-04-04 15:26:12,845 INFO
[org.ovirt.engine.core.bll.VdsLoadBalancingAlgorithm]
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: number of
relevant vdss (no
migration, no pending): 3.
2013-04-04 15:26:12,846 INFO
[org.ovirt.engine.core.bll.VdsCpuVdsLoadBalancingAlgorithm]
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: number of over
utilize
d vdss found: 0.
2013-04-04 15:26:12,846 INFO
[org.ovirt.engine.core.bll.VdsCpuVdsLoadBalancingAlgorithm]
(QuartzScheduler_Worker-81) [45db3aaa] VdsLoadBalancer: max cpu limit:
40, num
ber of ready to migration vdss: 3
2013-04-04 15:26:19,024 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] spmStart polling ended: taskId = 680
02cff-478d-4c2c-8839-b935d8a858b1 task status = finished
2013-04-04 15:26:19,024 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand]
(QuartzScheduler_Worker-96) [6d6dbe98] Start SPM Task failed - result: clea
nSuccess, message: VDSGenericException: VDSErrorException: Failed in
vdscommand to HSMGetTaskStatusVDS, error = BlockSD master file system
FSCK error
This log sequence repeats indefinitely
11 years, 8 months
[Users] Trouble in ovirt during install new host.
by Kasen
Hi!
I update ovirt from 3.1 to 3.2 and now i have trouble. When I want
install new host in ovirt, its install failed. In log i see next:
2013-04-08 11:09:55 DEBUG otopi.context context._executeMethod:127
method exception
Traceback (most recent call last):
File "/tmp/ovirt-JvvRifwHtC/pythonlib/otopi/context.py", line 117, in
_executeMethod
method['method']()
File
"/tmp/ovirt-JvvRifwHtC/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py",
line 671, in _validation
addresses=addresses,
RuntimeError: Cannot connect engine host 'localhost.localdomain' at any
of the addresses ['127.0.0.1', '127.0.0.1', '127.0.0.1', '::1', '::1',
'::1']'
2013-04-08 11:09:55 ERROR otopi.context context._executeMethod:136
Failed to execute stage 'Setup validation': Cannot connect engine host
'localhost.localdomain' at any of the addresses ['127.0.0.1',
'127.0.0.1', '127.0.0.1', '::1', '::1', '::1']'
and
2013-04-08 11:09:55 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:213 DIALOG:SEND ***Q:VALUE VDSM/engineHost
2013-04-08 11:09:55 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:213 DIALOG:SEND ###
2013-04-08 11:09:55 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:213 DIALOG:SEND ### Please specify value for
'VDSM/engineHost':
2013-04-08 11:09:55 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:213 DIALOG:SEND ### Response is VALUE
VDSM/engineHost=type:value or ABORT VDSM/engineHost
2013-04-08 11:09:55 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:213 DIALOG:RECEIVE VALUE
VDSM/engineHost=str:localhost.localdomain
How and where i must specified VDSM/engineHost?
Best regards,
Kasen.
11 years, 8 months
Re: [Users] SPM is always contending - resolved
by Andy Singleton
Problem resolved.
The clue was obviously in the engine.log (FSCK error) but I couldn't see
what was needing an fsck or why this would prevent the storage of every
vm from being mounted.
I still dont understand the whole of the ovirt storage mechanism.
More information was in the node vdsm.log - It pointed here.
/dev/mapper/9ed5a2fe--ae4c--433f--a15f--2c710ed5156f-master
One fsck later problem resolved.
Thanks
Andy
11 years, 8 months
[Users] Fwd: cannot assign network without IP address
by Alona Kaplan
It seems like an old bug.
Since oVirt3.1 a lot of bugs were fixed in the edit nic dialog.
Maybe consider using ovirt3.2?
Alona.
----- Original Message -----
> From: "Vincent Van der Kussen" <vincent(a)vanderkussen.org>
> To: users(a)ovirt.org
> Sent: Wednesday, April 3, 2013 9:38:23 AM
> Subject: [Users] cannot assign network without IP address
>
> Hi,
>
> I'm using oVirt 3.1 on CentOS 6.3 and have the following issue
>
> If I add a logical network to the datacenter i cannot assign it to a host
> without giving it an IP address.
>
> I just want to use the logical network as a bridge without specifying an IP
> address (None option in the network settings).
>
> This is the error message :
>
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
>
>
> In the log on the engine i see the following error :
>
> VDSGenericException: VDSNetworkException: Specified netmask or gateway but
> not ip
>
> To me this is complete bogus since none of my nics have any ip settings
> defined.
> Only the ovirtmgmt network has this which is copied from the initial network
> setup
> during the ovirt-engine install
>
> I also found this post which discusses the same problem :
>
> http://www.mail-archive.com/users@ovirt.org/msg06261.html
>
> When adding the logical network to the datacenter I can also not unset the
> "VM Network" option.
>
> In our RHEV setup we can do this perfectly.
>
>
> Regards,
> Vincent
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
11 years, 8 months
[Users] deploying ovirt-engine from src
by lof yer
After following the steps in http://www.ovirt.org/Building_oVirt_engine, I
met some problems in deploying it.
Here's the status while I visit
http://localhost:8700/webadmin/webadmin/WebAdmin.html
HTTP Status 500 -
------------------------------
*type* Exception report
*message*
*description* *The server encountered an internal error () that prevented
it from fulfilling this request.*
*exception*
javax.servlet.ServletException: Servlet execution threw an exception
org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)
*root cause*
java.lang.NoClassDefFoundError: Could not initialize class
org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager$Holder
org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager.getInstance(PluginDataManager.java:74)
org.ovirt.engine.ui.frontend.server.gwt.WebAdminHostPageServlet.getPluginData(WebAdminHostPageServlet.java:85)
org.ovirt.engine.ui.frontend.server.gwt.WebAdminHostPageServlet.doGet(WebAdminHostPageServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)
*note* *The full stack trace of the root cause is available in the JBoss
Web/7.0.13.Final logs.*
------------------------------
JBoss Web/7.0.13.Final
What does it mean? And What should I do next?
Thanks!!
11 years, 8 months
[Users] Query regarding storagedomins
by Romil Gupta
Hi ,
*I want to fetch the storagedomains details based on the datacenter id
using ovirt-engine-sdk-3.2.0.2-1.*
Datacenter details:
<data_centers>
<data_center id="e1165cdf-2c42-48a9-87ca-5c3f5cfa8fb3"
href="/api/datacenters/e1165cdf-2c42-48a9-87ca-5c3f5cfa8fb3">
<name>datacenter1</name>
<description/>
<link rel="storagedomains"
href="/api/datacenters/e1165cdf-2c42-48a9-87ca-5c3f5cfa8fb3/storagedomains"/>
<link rel="permissions"
href="/api/datacenters/e1165cdf-2c42-48a9-87ca-5c3f5cfa8fb3/permissions"/>
</data_center>
<data_center id="347748d0-b72b-439f-bb2b-bd5c82041158"
href="/api/datacenters/347748d0-b72b-439f-bb2b-bd5c82041158">
<name>Default</name>
<description/>
<link rel="storagedomains"
href="/api/datacenters/347748d0-b72b-439f-bb2b-bd5c82041158/storagedomains"/>
<link rel="permissions"
href="/api/datacenters/347748d0-b72b-439f-bb2b-bd5c82041158/permissions"/>
</data_center>
</data_centers>
I want to know how I could get the storagedomains details using the above
xml ?
*_session = API(url=rhevm_uri, username=rhevm_username,
password=rhevm_password, insecure=True)
*
*print "Connected to RHEVM Successful"*
*datacenters = _session.datacenters.list()*
*for dc in datacenters:*
* print dc.name*
* print dc.id*
* links = dc.link*
* for l in links:*
* print l.rel*
* print l.href*
*but this wont give any storagedomain details :(*
I tried this :
storages = _session.storagedomains.list()
for storage in storages:
print storage.name
<storage_domains>
<storage_domain id="e3e3b0cd-48a4-4bb8-a75b-07813f2c165e"
href="/api/storagedomains/e3e3b0cd-48a4-4bb8-a75b-07813f2c165e">
<name>rhevmiso</name>
<link rel="permissions"
href="/api/storagedomains/e3e3b0cd-48a4-4bb8-a75b-07813f2c165e/permissions"/>
<link rel="files"
href="/api/storagedomains/e3e3b0cd-48a4-4bb8-a75b-07813f2c165e/files"/>
<type>iso</type>
<master>false</master>
<storage>
<type>nfs</type>
<address>*.*.*.*</address>
<path>/iso/rhevmisonfs</path>
</storage>
<available>767725404160</available>
<used>94489280512</used>
<committed>0</committed>
<storage_format>v1</storage_format>
</storage_domain>
<storage_domain id="baa46f57-13e0-4159-ace1-f04e61e1e937"
href="/api/storagedomains/baa46f57-13e0-4159-ace1-f04e61e1e937">
<name>rhevmVMdata</name>
<link rel="permissions"
href="/api/storagedomains/baa46f57-13e0-4159-ace1-f04e61e1e937/permissions"/>
<link rel="files"
href="/api/storagedomains/baa46f57-13e0-4159-ace1-f04e61e1e937/files"/>
<type>data</type>
<master>true</master>
<storage>
<type>nfs</type>
<address>*.*.*.*</address>
<path>/iso/rhevmnfs</path>
</storage>
<available>767725404160</available>
<used>94489280512</used>
<committed>100931731456</committed>
<storage_format>v1</storage_format>
</storage_domain>
</storage_domains>
but it wont contains datacenter ID :(
help me out !
--
*Thanks & Regards,*
*Romil Gupta
*
11 years, 8 months
[Users] Custom columns in VM list (engine admin) ?
by Ernest Beinrohr
This is a multi-part message in MIME format.
--------------080005070104070301000505
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Hi, is it possible to add columns to the VM list view in
ovirt-engine administrator? I'd like to add a memory
columns (max, current) and also some IO stats and.
In RHEL 5 virt-manager show something like this:
http://i.imgur.com/e18DJtf.png
--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE
<http://www.beinrohr.sk/rhce.php>, RHCVA
<http://www.beinrohr.sk/rhce.php>, LPIC
<http://www.beinrohr.sk/lpic.php>, +421-2--6241-0360
<callto://+421-2--6241-0360>, +421-903--482-603 <callto://+421-903--482-603>
icq:28153343, skype:oernii-work <callto://oernii-work>,
jabber:oernii@jabber.org
------------------------------------------------------------------------
“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
--------------080005070104070301000505
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, is it possible to add columns to the VM list view in <br>
ovirt-engine administrator? I'd like to add a memory <br>
columns (max, current) and also some IO stats and.<br>
<br>
<br>
In RHEL 5 virt-manager show something like this:<br>
<a class="moz-txt-link-freetext" href="http://i.imgur.com/e18DJtf.png">http://i.imgur.com/e18DJtf.png</a><br>
<br>
<div class="moz-signature">-- <br>
<div id="oernii_footer" style="color: gray;">
<span style="font-family: Lucida Console, Luxi Mono, Courier,
monospace; font-size: 90%;">
Ernest Beinrohr, AXON PRO<br>
<a style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/ing.php">Ing</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a
style="text-decoration: none; color: gray;"
href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a
style="text-decoration: none; color: gray;"
href="callto://+421-903--482-603">+421-903--482-603</a><br>
icq:28153343, <a style="text-decoration: none; color: gray;"
href="callto://oernii-work">skype:oernii-work</a>,
<a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a>
<br>
</span>
<hr style="height: 1px; width: 95%">
“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.”
― Oscar Wilde </div>
</div>
</body>
</html>
--------------080005070104070301000505--
11 years, 8 months