Re: [Users] Fwd: [Engine-devel] Latest open jdk and JBOSS

2013-02-06 Thread Shu Ming

Have you tried this?

https://admin.fedoraproject.org/updates/java-1.7.0-openjdk-1.7.0.9-2.3.5.fc18.1
Jonathan Archer:

I can confirm this resolved my issues I was seeing...

Jon

On 06/02/13 14:36, Jonathan Archer wrote:

I've literally just posted with regard to seeing this same issue...

thanks

Jon
On 06/02/13 14:34, Roy Golan wrote:

FYI


 Original Message 
Subject:[Engine-devel] Latest open jdk and JBOSS
Date:   Wed, 06 Feb 2013 08:40:01 -0500
From:   Alexander Wels 
Reply-To:   aw...@redhat.com
To: engine-de...@ovirt.org



Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.

Details can be found here:
https://community.jboss.org/message/796347#796347

I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.

Alexander.
___
Engine-devel mailing list
engine-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Install problems

2013-02-06 Thread Shu Ming

I got similar warning in console.log. I used FC18-engine3.2beta.


#cat /var/log/ovirt-engine/console.log

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the "java.util.logging.manager" system 
property to "org.jboss.logmanager.LogManager")

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.(BridgeRepositorySelector.java:42)

... 7 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the "java.util.logging.manager" system 
property to "org.jboss.logmanager.LogManager")

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.(BridgeRepositorySelector.java:42)

... 7 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the "java.util.logging.manager" system 
property to "org.jboss.logmanager.LogManager")

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.(BridgeRepositorySelector.java:42)

... 7 more


[root@localhost ~]# rpm -qa |grep engine
ovirt-engine-backend-3.2.0-2.fc18.noarch
ovirt-engine-restapi-3.2.0-2.fc18.noarch
ovirt-engine-cli-3.2.0.7-1.20121212.gitd77dad3.fc18.noarch
ovirt-engine-tools-common-3.2.0-2.fc18.noarch
ovirt-engine-genericapi-3.2.0-2.fc18.noarch
ovirt-engine-setup-3.2.0-2.fc18.noarch
ovirt-engine-sdk-3.2.0.5-1.20121213.gitc0ab704.fc18.noarch
ovirt-engine-webadmin-portal-3.2.0-2.fc18.noarch
ovirt-engine-config-3.2.0-2.fc18.noarch
ovirt-engine-dbscripts-3.2.0-2.fc18.noarch
ovirt-engine-3.2.0-2.fc18.noarch
ovirt-engine-notification-service-3.2.0-2.fc18.noarch
ovirt-engine-userportal-3.2.0-2.fc18.noarch


Jonathan Archer:

Hi All,

Just wondering if anyone could shed some light on an issue I'm seeing?

I've followed the instructions on the wiki to try and get an ovirt 
setup running. (F17 minimal, updated, add repo, yum install 
ovirt-engine, engine-setup)
All that seemed to go OK, and the database creation etc seemed to be 
fine, however starting the ovirt-engine service seems to have failed 
to start, was getting a http 503 error on trying the web interface.


Looking deeper into it, it seems that jboss-as seems to be failing to 
start with some errors around logging.
when I run systemctl start ovirt-engine.service i get the following in 
the logs:
Feb 6 14:33:52 host1 engine-service.py[25212]: Started engine process 
25213.
Failed to configure handler FILE on Logger '' in context 
org.jboss.logmanager.LogContext@afc824e: Handler FILE has no class name

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the "java.util.logging.manager" 
system property to "org.jboss.logmanager.LogManager")

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.(BridgeRepositorySelector.java:42)

... 7 more
Feb 6 14:33

Re: [Users] how to add a user

2013-02-06 Thread Yair Zaslavsky
Please check if you see errors at logs - 
/var/log/ovirt-engine/engine-manage-domains.log
And let us know what are the errors.
As Itamar asked - what is the directory service you are using? (what parameter 
is passed to -provider option?)
Since we use kerberos authentication, there are some configurations that should 
be taken care of (have SRV records for the domain for
both kerberos and ldap -
check -

dig SRV _ldap._tcp.your.domain.com
dig SRV _kerberos._tcp.your.domain.com
dig SRV _kerberos._udp.your.domain.com

You should also have a PTR record to your directory service machine.

You also need to have a time difference between your oVirt engine machine and 
the directory service machine of no more than +- 5 minutes.


Hope this helps out,
Yair






- Original Message -
> From: "Itamar Heim" 
> To: "Jonathan Horne" 
> Cc: users@ovirt.org
> Sent: Wednesday, February 6, 2013 8:27:01 PM
> Subject: Re: [Users] how to add a user
> 
> On 06/02/2013 19:03, Jonathan Horne wrote:
> > Im using ovrit 3.1, and I'm trying to add a user to the web
> > console.
> >   But the new button brings up a popup that doesn't have any
> >   buttons on
> > it.  Can I use the engine-manage-domains tool, and if yes what is
> > the
> > syntax?  So far what I have found on google is just getting me
> > authentication errors, so I'm sure I'm doing it wrong.
> >
> > Thanks,
> > jonathan
> >
> > 
> > This is a PRIVATE message. If you are not the intended recipient,
> > please
> > delete without copying and kindly advise us by e-mail of the
> > mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not
> > operate to
> > bind SKOPOS to any order or other contract unless pursuant to
> > explicit
> > written agreement or government initiative expressly permitting the
> > use
> > of e-mail for such purpose.
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> which type of domain are you trying to add? what is the command line
> the
> error?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error while executing action Setup Networks

2013-02-06 Thread Sallee, Stephen (Jake)
I found the issue, there is a little icon of a pencil that you need to click on 
in order to specify what IP you want the connection to use. Once I did that it 
worked perfectly.

Also, I noticed that the interface for assigning virtual networks to physical 
interfaces does NOT work correctly in the latest version of google chrome.  I 
had to flip into firefox ... I'm not sure if that is documented any where.

I tried to post this to the list earlier today but my message did not go to the 
list only directly to myself ... sorry for wasting your time.


Jake Sallee
Godfather of Bandwidth
Network Engineer
University of Mary Hardin-Baylor

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221


From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of Antoni 
Segura Puimedon [asegu...@redhat.com]
Sent: Wednesday, February 06, 2013 5:07 PM
To: users@ovirt.org
Subject: Re: [Users] Error while executing action Setup Networks

Hi,

I can see that you set a PREFIX, but I can't see any IPADDR in the ifcfg-eth0, 
nor
in the setupNetworks command. Which IPADDR do you intend to set?


- Original Message -
> From: "Stephen Sallee (Jake)" 
> To: users@ovirt.org
> Sent: Wednesday, February 6, 2013 6:50:14 PM
> Subject: [Users] Error while executing action Setup Networks
>
> I'm trying to add the ovirtmgmt role to my network connection on my
> all-in-one box but when I do I get this error:
>
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
>
> The IP is correct as I am accessing the portal from a different
> computer, also when I look at the ifcfg-eth0 file:
>
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=[REDACTED]
> BRIDGE=ovirtmgmt
> NM_CONTROLLED=yes
> DOMAIN=UMHB.edu
> IPV6INIT=no
> LAST_CONNECT=1360136903
> DNS2=[REDACTED]
> DNS1=[REDACTED]
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> PREFIX=24
> UUID=[REDACTED] ... it just feels right, i know its probably useless
> to a hacker but I fell better, okay?
>
> I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
> difference.
>
> Here is the snippet from the engine log:
>
> [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:46,131 INFO
>  [org.ovirt.engine.core.bll.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] Running command:
> SetupNetworksCommand internal: false. Entities affected :  ID:
> 8a682fca-7032-11e2-8be0-cb1656457e1f Type: VDS
> 2013-02-06 11:40:46,133 INFO
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] START,
> SetupNetworksVDSCommand(HostName = local_host, HostId =
> 8a682fca-7032-11e2-8be0-cb1656457e1f, force=false,
> checkConnectivity=true, conectivityTimeout=120,
> networks=[ovirtmgmt {id=6990dee0-6a13-4b74-811b-5accbae04194,
> description=Management Network, subnet=null, gateway=null,
> type=null, vlan_id=null, stp=false,
> storage_pool_id=501286c6-46d0-4f6f-a73c-e09e21778b1c, mtu=0,
> vmNetwork=true, cluster=network_cluster {id={clusterId=null,
> networkId=null}, status=Operational, is_display=false,
> required=true}}],
> bonds=[],
> interfaces=[eth0 {id=c2ceb17b-0ae1-4409-bfab-c84be5c8030b,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth0,
> macAddress=[REDACTED], networkName=ovirtmgmt, bondName=null,
> b

Re: [Users] Error while executing action Setup Networks

2013-02-06 Thread Antoni Segura Puimedon
Hi,

I can see that you set a PREFIX, but I can't see any IPADDR in the ifcfg-eth0, 
nor
in the setupNetworks command. Which IPADDR do you intend to set?


- Original Message -
> From: "Stephen Sallee (Jake)" 
> To: users@ovirt.org
> Sent: Wednesday, February 6, 2013 6:50:14 PM
> Subject: [Users] Error while executing action Setup Networks
> 
> I'm trying to add the ovirtmgmt role to my network connection on my
> all-in-one box but when I do I get this error:
> 
> Error while executing action Setup Networks: Illegal or Incomplete IP
> Address
> 
> The IP is correct as I am accessing the portal from a different
> computer, also when I look at the ifcfg-eth0 file:
> 
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=[REDACTED]
> BRIDGE=ovirtmgmt
> NM_CONTROLLED=yes
> DOMAIN=UMHB.edu
> IPV6INIT=no
> LAST_CONNECT=1360136903
> DNS2=[REDACTED]
> DNS1=[REDACTED]
> DEFROUTE=yes
> IPV4_FAILURE_FATAL=yes
> PREFIX=24
> UUID=[REDACTED] ... it just feels right, i know its probably useless
> to a hacker but I fell better, okay?
> 
> I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no
> difference.
> 
> Here is the snippet from the engine log:
> 
> [root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:20:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-43) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:25:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-98) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:30:00,000 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-60) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:35:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-11) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering hosts is disabled,
> skipping
> 2013-02-06 11:40:00,001 INFO
>  [org.ovirt.engine.core.bll.AutoRecoveryManager]
> (QuartzScheduler_Worker-65) Autorecovering storage domains is
> disabled, skipping
> 2013-02-06 11:40:46,131 INFO
>  [org.ovirt.engine.core.bll.SetupNetworksCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] Running command:
> SetupNetworksCommand internal: false. Entities affected :  ID:
> 8a682fca-7032-11e2-8be0-cb1656457e1f Type: VDS
> 2013-02-06 11:40:46,133 INFO
>  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
> (ajp--127.0.0.1-8702-2) [6cf1af54] START,
> SetupNetworksVDSCommand(HostName = local_host, HostId =
> 8a682fca-7032-11e2-8be0-cb1656457e1f, force=false,
> checkConnectivity=true, conectivityTimeout=120,
> networks=[ovirtmgmt {id=6990dee0-6a13-4b74-811b-5accbae04194,
> description=Management Network, subnet=null, gateway=null,
> type=null, vlan_id=null, stp=false,
> storage_pool_id=501286c6-46d0-4f6f-a73c-e09e21778b1c, mtu=0,
> vmNetwork=true, cluster=network_cluster {id={clusterId=null,
> networkId=null}, status=Operational, is_display=false,
> required=true}}],
> bonds=[],
> interfaces=[eth0 {id=c2ceb17b-0ae1-4409-bfab-c84be5c8030b,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth0,
> macAddress=[REDACTED], networkName=ovirtmgmt, bondName=null,
> bootProtocol=None, address=, subnet=, gateway=null, mtu=0,
> bridged=true, speed=1000, type=2,
> networkImplementationDetails=null},
> eth5 {id=3ee9e4b7-8ab5-458d-abe9-66a5914611bb,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth5,
> macAddress=[REDACTED], networkName=null, bondName=null,
> bootProtocol=Dhcp, address=, subnet=, gateway=null,
> mtu=1500, bridged=false, speed=0, type=0,
> networkImplementationDetails=null},
> eth2 {id=1d9cb8eb-2cf8-43f3-98c8-a6f675424bdf,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth2,
> macAddress=[REDACTED], networkName=null, bondName=null,
> bootProtocol=Dhcp, address=, subnet=, gateway=null,
> mtu=1500, bridged=false, speed=0, type=0,
> networkImplementationDetails=null},
> eth1 {id=66c9f391-c9f8-4052-b115-4b65759a7ff9,
> vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth1,
> macAddress=[REDACTED], networkN

Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Shahar Havivi
On 06.02.13 14:36, Emilio Del Plato wrote:
> I am still getting a warning after setting the Duplicate macs to true 
> (engine-config --set AllowDuplicateMacAddresses=true), yet now the VMs still 
> fail to import. I don't see anything obvious in the engine.log, any other 
> ideas as to where to look? 
The warnings are for you to note,
but now you can import VMs with existing MAC addresses right?
> 
> --
> Emilio
> 
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
> Alexandre Santos
> Sent: Wednesday, February 6, 2013 6:00 AM
> To: Nicolas Ecarnot
> Cc: Shahar Havivi; users@ovirt.org
> Subject: Re: [Users] MAC in use when importing/cloning a VM
> 
> 2013/2/6 Nicolas Ecarnot :
> > Le 06/02/2013 09:26, Shahar Havivi a écrit :
> >>
> >> On 06.02.13 08:36, Nicolas Ecarnot wrote:
> >>>
> >>> Le 05/02/2013 21:47, Itamar Heim a écrit :
> 
>  you should be able to import as 'new' which will re-create all 
>  uuid's/mac/etc.
>  otherwise, just edit the ovf.
>  cc-ing moti to consider something better going forward
> >>>
> >>>
> >>> Thank you to Shahar for your advice about the MAC address check.
> >>> I tried that, restarted the engine, but i failed the same.
> >>
> >> That should work..., if not its a bug
> >>>
> >>>
> >>> I also tried Itamar's advice but here is what's happening:
> >>> - In the import windows, I select the VM, the system finds out the 
> >>> destination cluster and storage.
> >>> - I then check the option "Clone All VMs" : the "suffix" option
> >>>
> >>> appears, pre-filled with "_Copy".
> >>> - I already used it and it was working fine. This time, when 
> >>> validating with "OK", the "Suffix" field gets colored into yellow 
> >>> and I can not validate.
> >>> - I tried to change its content to something else but it has no effect.
> >>> - Of course, I already spent some times grepping the logs file 
> >>> searching for the MAC, but did not find anything obvious.
> >>> - When the yellow border appears, nothing special is showing in the logs.
> >>>
> >>> So here, oVirt is trying to tell me something, but what?
> >>
> >> This is probably UI validation that failed to present the text.
> >> Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not 
> >> in use.
> >
> >
> > I already tried that, with no benefit.
> >
> > I spent some more time on that and here what I found :
> >
> > * 1 *
> > When trying to import a VM by cloning it and using a suffix (whatever 
> > suffix), I get NO error in log (neither on the manager, nor in the 
> > nodes), but I'm stuck with the yellow border around the suffix field, 
> > and no way to validate my choice.
> >
> > * 2 *
> > I succeed in importing directly the VM by NOT checking the "Clone All VMs"
> > box, and by checking the "Collapse All snapshots" box. Indeed, I found 
> > in engine.log an error about snapshots, an INSERT was tried into the 
> > database with a broken constrain key and a 
> > '00..blah.blah.blah'
> > snapshot reference.
> > Checking this box allowed a correct import of the VM.
> >
> > Conclusion :
> > - Point 1 : I consider it would be nice to inform the user about 
> > what's wrong, at least in the log files
> > - Point 2 : When not checking to collapse snapshot box, the import is 
> > failing with an error speaking about a duplicated MAC address.
> > This is wrong.
> >
> > Thank you to Shahar, Itamar and Alex who answered.
> >
> >
> > --
> > Nicolas Ecarnot
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> Hi again,
> I simply looked on every VM listed on the UI for that MAC, not directly on 
> the database. That was how I discovered that the MAC was changed when moving 
> it to the export storage,
> 
> Alex
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Emilio Del Plato
I am still getting a warning after setting the Duplicate macs to true 
(engine-config --set AllowDuplicateMacAddresses=true), yet now the VMs still 
fail to import. I don't see anything obvious in the engine.log, any other ideas 
as to where to look? 

--
Emilio

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Alexandre Santos
Sent: Wednesday, February 6, 2013 6:00 AM
To: Nicolas Ecarnot
Cc: Shahar Havivi; users@ovirt.org
Subject: Re: [Users] MAC in use when importing/cloning a VM

2013/2/6 Nicolas Ecarnot :
> Le 06/02/2013 09:26, Shahar Havivi a écrit :
>>
>> On 06.02.13 08:36, Nicolas Ecarnot wrote:
>>>
>>> Le 05/02/2013 21:47, Itamar Heim a écrit :

 you should be able to import as 'new' which will re-create all 
 uuid's/mac/etc.
 otherwise, just edit the ovf.
 cc-ing moti to consider something better going forward
>>>
>>>
>>> Thank you to Shahar for your advice about the MAC address check.
>>> I tried that, restarted the engine, but i failed the same.
>>
>> That should work..., if not its a bug
>>>
>>>
>>> I also tried Itamar's advice but here is what's happening:
>>> - In the import windows, I select the VM, the system finds out the 
>>> destination cluster and storage.
>>> - I then check the option "Clone All VMs" : the "suffix" option
>>>
>>> appears, pre-filled with "_Copy".
>>> - I already used it and it was working fine. This time, when 
>>> validating with "OK", the "Suffix" field gets colored into yellow 
>>> and I can not validate.
>>> - I tried to change its content to something else but it has no effect.
>>> - Of course, I already spent some times grepping the logs file 
>>> searching for the MAC, but did not find anything obvious.
>>> - When the yellow border appears, nothing special is showing in the logs.
>>>
>>> So here, oVirt is trying to tell me something, but what?
>>
>> This is probably UI validation that failed to present the text.
>> Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not 
>> in use.
>
>
> I already tried that, with no benefit.
>
> I spent some more time on that and here what I found :
>
> * 1 *
> When trying to import a VM by cloning it and using a suffix (whatever 
> suffix), I get NO error in log (neither on the manager, nor in the 
> nodes), but I'm stuck with the yellow border around the suffix field, 
> and no way to validate my choice.
>
> * 2 *
> I succeed in importing directly the VM by NOT checking the "Clone All VMs"
> box, and by checking the "Collapse All snapshots" box. Indeed, I found 
> in engine.log an error about snapshots, an INSERT was tried into the 
> database with a broken constrain key and a 
> '00..blah.blah.blah'
> snapshot reference.
> Checking this box allowed a correct import of the VM.
>
> Conclusion :
> - Point 1 : I consider it would be nice to inform the user about 
> what's wrong, at least in the log files
> - Point 2 : When not checking to collapse snapshot box, the import is 
> failing with an error speaking about a duplicated MAC address.
> This is wrong.
>
> Thank you to Shahar, Itamar and Alex who answered.
>
>
> --
> Nicolas Ecarnot
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Hi again,
I simply looked on every VM listed on the UI for that MAC, not directly on the 
database. That was how I discovered that the MAC was changed when moving it to 
the export storage,

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Still cannot migrate VM

2013-02-06 Thread Christian Hernandez
Try as I might; I cannot live migrate a host from one server to another.

I keep getting a "Migration due to error: Could not connect to host"

I see this in the VDSM log.

Thread-3190::ERROR::2013-02-06
10:47:32,948::vm::146::vm.Vm::(_setupVdsConnection)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::Error initiating connection
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 141, in _setupVdsConnection
status = self.destServer.getVmStats(self._vm.id)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1382, in _parse_response
response = file.read(1024)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
data = self._sock.recv(left)
  File "/usr/lib64/python2.6/ssl.py", line 215, in recv
return self.read(buflen)
  File "/usr/lib64/python2.6/ssl.py", line 136, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
Thread-3190::DEBUG::2013-02-06
10:47:32,949::libvirtvm::283::vm.Vm::(_getDiskLatency)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::Disk vda latency not available
Thread-3190::DEBUG::2013-02-06
10:47:32,956::vm::189::vm.Vm::(_prepareGuest)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::migration Process begins
Thread-3190::DEBUG::2013-02-06 10:47:32,976::vm::260::vm.Vm::(run)
vmId=`9072e171-bf05-4dd4-9c96-a3d76a00f16b`::migration semaphore acquired
Thread-3346::DEBUG::2013-02-06
10:47:35,278::task::568::TaskManager.Task::(_updateState)
Task=`66a8f842-f8c2-47af-bf78-b1db48ce4990`::moving from state init ->
state preparing
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to add a user

2013-02-06 Thread Itamar Heim

On 06/02/2013 19:03, Jonathan Horne wrote:

Im using ovrit 3.1, and I'm trying to add a user to the web console.
  But the new button brings up a popup that doesn't have any buttons on
it.  Can I use the engine-manage-domains tool, and if yes what is the
syntax?  So far what I have found on google is just getting me
authentication errors, so I'm sure I'm doing it wrong.

Thanks,
jonathan


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind SKOPOS to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



which type of domain are you trying to add? what is the command line the 
error?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to add a user

2013-02-06 Thread Itamar Heim

On 06/02/2013 19:03, Jonathan Horne wrote:

Im using ovrit 3.1, and I'm trying to add a user to the web console.
  But the new button brings up a popup that doesn't have any buttons on
it.  Can I use the engine-manage-domains tool, and if yes what is the
syntax?  So far what I have found on google is just getting me
authentication errors, so I'm sure I'm doing it wrong.

Thanks,
jonathan


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind SKOPOS to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



currently, you can't add internal users. you need an active directory or 
389ds or freeipa to add as an ldap/kerberos directory via the manage 
domains utility.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Community feedback on the new UI-plugin Framework

2013-02-06 Thread Vojtech Szocs
Hi Adrian,

> 5. Everything should be a plugin.

I see your point, we can consider this later on, for now there are some gaps we 
need to close with API/infrastructure.

> Maybe an standard way of saving plugin logs through standard ovirt-engine 
> logs and specific plugin logs.

You mean API for plugins to log messages so that WebAdmin can collect/send them 
to Engine?

(Client-side logging in WebAdmin is disabled in production mode, in long-term 
we'll implement support for collecting client-side logs via HTML5 local 
storage, and sending them to Engine so that they can be stored in JBoss log 
directory.)

> Is there any wiki page about this UI-plugin framework so that I can add a New 
> ideas or new features requests page link there and add these same ideas?

Wiki page: http://www.ovirt.org/Features/UIPlugins
Discussion page: http://www.ovirt.org/Talk:Features/UIPlugins

You can also request new features on engine-devel mailing list (I highly 
recommend subscribing to that list, since all important UI Plugins updates take 
place on that list).

Regards,
Vojtech


- Original Message -
From: "Adrian Gibanel" 
To: "ovirt-users" 
Cc: "Oved Ourfalli" , "Christopher Morrissey" 

Sent: Friday, January 25, 2013 1:09:31 PM
Subject: Re: [Users] Community feedback on the new UI-plugin Framework

- Mensaje original - 

> De: "Oved Ourfalli" 

> Hey all,

> We had an oVirt workshop this week, which included a few sessions
> about the new oVirt UI Plugin framework, including a Hackaton and a
> BOF session.

Was there finally any video recorded of this workshop?

> If you find the feedback above true, or you have other comments that
> weren't mentioned here, please share it with us!

5. Everything should be a plugin.

One trend among platform design is that everything should be a plugin.
I'm not sure how it will go with oVirt but the idea is that:

* Hosts tab
* Virtual machines tab
* GlusterFS volumes tab
* Disks tab

are each one of them a plugin.

You should remark that as a side-effect you win two things:
  * People can check how standard plugins (you could make them 
not-uninstallable and not-being-able-to-disable) to learn how to build their 
own plugins
  * Your plugin system would be better because it would need to be improved to 
support all the current default plugins capabilities

6. Plugin logs
Maybe an standard way of saving plugin logs through standard ovirt-engine logs 
and specific plugin logs.

7. Wiki Page
Is there any wiki page about this UI-plugin framework so that I can add a New 
ideas or new features requests page link there and add these same ideas?

I think that's all.

> Thank you,
> Oved

> P.S:
> I guess the slides will be uploaded sometime next week (I guess
> someone would have asked it soon... so now you have your answer :-)

I will, for sure, take a look at them.

-- 
-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Community feedback on the new UI-plugin Framework

2013-02-06 Thread Vojtech Szocs
Hi Oved, replying late, thanks for sharing the feedback!

> 1. People liked the fact that it is a simple framework, allowing you to do 
> nice extensions rapidly,  without the need to know complex technologies 
> (simple javascript knowledge is all you need to know).

Glad to hear this! In fact, a minimalistic UI plugin is just one JSON file 
(plugin descriptor) + one HTML file (plugin host page): 
http://www.ovirt.org/Features/UIPlugins#UI_plugin_cheat_sheet

> 2. People want the framework to provide tools for adding UI components 
> (main/sub tabs, dialogs, etc.) that aren't URL based, but are based on 
> components we currently have in oVirt, such as grids, key-value pairs (such 
> as the general sub-tab), action buttons in these custom tabs and etc.

Yes, this is planned long-term, e.g. we can have an API for creating 
table-based main/sub tab, with functions that allow adding columns, setting 
data or adding custom action buttons.

On the other hand, I'm also planning to prototype another approach for 
providing custom UI content - using popular JavaScript frameworks like 
Backbone/Underscore/jQuery to construct UI on the client (via plugin code) 
instead of using contentURL/iframe approach. (I'll post a separate email on 
this later on.)

> 4. Plugin management
> * The ability to see what plugins are installed... install new plugins and 
> remove existing ones.

Actually we plan to have WebAdmin dialog that lists loaded plugins, with the 
option to enable/disable them or view their current status.

As for installing/removing plugins, this requires root privileges since plugins 
are meant to be installed/removed as RPM packages. Not sure if a separate tool 
for this is necessary.

> * Change the plugin configuration through webadmin
> * Distinguish between public plugin configuration entries (entries the user 
> to change), to private ones (entries it can't).

Very interesting ideas! Public configuration entries could be changed via 
-config.json or in WebAdmin, private ones would be hidden/read-only.

Regards,
Vojtech


- Original Message -
From: "Oved Ourfalli" 
To: "ovirt-users" 
Cc: "Christopher Morrissey" , "Vojtech Szocs" 

Sent: Friday, January 25, 2013 2:41:40 AM
Subject: Community feedback on the new UI-plugin Framework

Hey all,

We had an oVirt workshop this week, which included a few sessions about the new 
oVirt UI Plugin framework, including a Hackaton and a BOF session.

I've gathered some feedback we got from the different participants about the 
framework, and what they would like to see in the future of it.

1. People liked the fact that it is a simple framework, allowing you to do nice 
extensions rapidly,  without the need to know complex technologies (simple 
javascript knowledge is all you need to know).

2. People want the framework to provide tools for adding UI components 
(main/sub tabs, dialogs, etc.) that aren't URL based, but are based on 
components we currently have in oVirt, such as grids, key-value pairs (such as 
the general sub-tab), action buttons in these custom tabs and etc.

The main reason for that is to easily develop a plugin with an oVirt-like 
look-and-feel. Chris Morrissey from Netapp showed a very nice plugin he wrote 
that did have an oVirt-like look-and-feel, but it wasn't easy and it 
required him to to develop something specific for the plugin to interact with, 
in the 3rd party application (something similar to the work we did in the 
oVirt-Foreman UI-plugin).

3. Support adding tasks to the system - plugins may trigger asynchronous tasks 
behind the scene, both oVirt and external ones. oVirt tasks and their progress 
will be reflected in the tasks management view, but if the flows contain 
external tasks as well, then it would be hard to track through the oVirt UI.

4. Plugin management
* The ability to see what plugins are installed... install new plugins and 
remove existing ones.
* Change the plugin configuration through webadmin
* Distinguish between public plugin configuration entries (entries the user to 
change), to private ones (entries it can't).

I guess that this point will be relevant for engine-plugins as well (once 
support for such plugins will be available) so we should consider providing a 
similar solution for both. Also, Chris pointed out that it should be taken into 
consideration as well when working on supporting HA-oVirt-engine, as plugins 
are vital part of the oVirt environment.

If you find the feedback above true, or you have other comments that weren't 
mentioned here, please share it with us!

Thank you,
Oved

P.S:
I guess the slides will be uploaded sometime next week (I guess someone would 
have asked it soon... so now you have your answer :-) )
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] UI Plugin iframe dialogs

2013-02-06 Thread Vojtech Szocs
Hi René, this is an interesting problem.

UI plugin infrastructure loads individual plugins via dedicated iframe elements 
by design, with iframes serving the purpose of plugin runtime environment that 
is (more or less) sandboxed with regard to WebAdmin (top-level window) and 
other plugins. This allows a plugin to load whatever JavaScript libraries, 
styles etc. without any impact on WebAdmin or other plugins, so that the plugin 
itself is kind of 'HTML/JS application' on its own, contained within the 
iframe. Interaction between a plugin and WebAdmin happens through the pluginApi 
object, plugins are not meant to modify WebAdmin top-level DOM directly on 
their own. (I'll post a detailed email on this later on.)

Aside from plugin code itself running within an iframe, you have a custom 
sub-tab that renders some URL content via another iframe (this is another 
'content' iframe, not related to plugin host page iframe).

> When creating a new (big) jQuery dialog in an sub tab-iframe (sub tab of
> selected vm or host) it can't be displayed without scrolling in the sub
> tab or resizing the sub tab (that's clear as it's displayed in an too
> small iframe).

Yes, because the jQuery dialog is shown within the sub-tab content iframe 
window.

> So it would be great if it would be possible to display dialogs in the
> middle of the main windows and overlap the iframe (don't know if this is
> possible).

Yes, this is possible :)

There are two options you can go with:

1, use showDialog API to render custom dialog whose content is rendered via 
iframe
   - you need to provide URL for the dialog content
   - this is the preferred way of showing custom dialogs
   Note: showDialog API is currently under improvement, see 
http://gerrit.ovirt.org/#/c/11717/

2, [hacky workaround] use 'parent' within the iframe to reference top-level 
WebAdmin window
   - your plugin can show jQuery dialog within the context of WebAdmin DOM 
(parent.document)
   - for example:
 var $dialog = $('Content');
 var dialogElement = $dialog.get();
 parent.document.body.appendChild(dialogElement);
 $dialog.dialog();

3, [planned for future] extend showDialog to accept DOM element in addition to 
content URL
   - this way, you can build your dialog content with JavaScript and put it 
inside the dialog
   - you would still use showDialog API, in preference to direct WebAdmin DOM 
manipulation

In general, plugins are not meant to modify WebAdmin top-level DOM directly on 
their own, because doing so imposes a fragile bond between WebAdmin DOM 
structure (which is very likely to change) and plugin code. Instead, plugins 
should use pluginApi object for extending specific parts WebAdmin UI (e.g. 
addMainTab, addSubTab, etc.).

Let me know what you think.

Vojtech


- Original Message -
From: "René Koch (ovido)" 
To: "ovirt-users" 
Sent: Wednesday, January 30, 2013 4:47:54 PM
Subject: [Users] UI Plugin iframe dialogs

Hi,

I'm still working on my Nagios integration plugin and came across a
limitation of the UI plugin framework caused by iframes.

UI framework creates an iframe for each plugin, so the plugin code is
separated from the main oVirt webadmin code (and other plugins). When
creating a new (big) jQuery dialog in an sub tab-iframe (sub tab of
selected vm or host) it can't be displayed without scrolling in the sub
tab or resizing the sub tab (that's clear as it's displayed in an too
small iframe).

So it would be great if it would be possible to display dialogs in the
middle of the main windows and overlap the iframe (don't know if this is
possible). In short terms I want to create a dialog which behaves like
e.g. the "Setup Host Networks" or "Add Permission to User" dialogs ->
click on a link in the plugin iframe and dialog opens in the middle of
the website not the middle of the iframe.

What I found out so far is that:
1. I must be aware of the same origin policy (that's no problem)
2. I need to put my jQuery-dialog-code in the main oVirt windows and
then I can call it from within the iframe (that's my problem)

So my questions are:
Is it possible to place code outside of the iframe?
If not - are there plans to allow this in future releases?
Or maybe is there a workaround?


Thanks a lot,
René



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Error while executing action Setup Networks

2013-02-06 Thread Sallee, Stephen (Jake)
I'm trying to add the ovirtmgmt role to my network connection on my all-in-one 
box but when I do I get this error:

Error while executing action Setup Networks: Illegal or Incomplete IP Address

The IP is correct as I am accessing the portal from a different computer, also 
when I look at the ifcfg-eth0 file:

DEVICE=eth0
ONBOOT=yes
HWADDR=[REDACTED]
BRIDGE=ovirtmgmt
NM_CONTROLLED=yes
DOMAIN=UMHB.edu
IPV6INIT=no
LAST_CONNECT=1360136903
DNS2=[REDACTED]
DNS1=[REDACTED]
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
PREFIX=24
UUID=[REDACTED] ... it just feels right, i know its probably useless to a 
hacker but I fell better, okay?

I have tried NM_CONTROLLED=yes and NM_CONTROLLED=no , with no difference.

Here is the snippet from the engine log:

[root@otto ~]# tail -f /var/log/ovirt-engine/engine.log
2013-02-06 11:20:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-43) Autorecovering hosts is disabled, skipping
2013-02-06 11:20:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-43) Autorecovering storage domains is disabled, skipping
2013-02-06 11:25:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-98) Autorecovering hosts is disabled, skipping
2013-02-06 11:25:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-98) Autorecovering storage domains is disabled, skipping
2013-02-06 11:30:00,000 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-60) Autorecovering hosts is disabled, skipping
2013-02-06 11:30:00,000 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-60) Autorecovering storage domains is disabled, skipping
2013-02-06 11:35:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-11) Autorecovering hosts is disabled, skipping
2013-02-06 11:35:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-11) Autorecovering storage domains is disabled, skipping
2013-02-06 11:40:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-65) Autorecovering hosts is disabled, skipping
2013-02-06 11:40:00,001 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] 
(QuartzScheduler_Worker-65) Autorecovering storage domains is disabled, skipping
2013-02-06 11:40:46,131 INFO  [org.ovirt.engine.core.bll.SetupNetworksCommand] 
(ajp--127.0.0.1-8702-2) [6cf1af54] Running command: SetupNetworksCommand 
internal: false. Entities affected :  ID: 8a682fca-7032-11e2-8be0-cb1656457e1f 
Type: VDS
2013-02-06 11:40:46,133 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(ajp--127.0.0.1-8702-2) [6cf1af54] START, SetupNetworksVDSCommand(HostName = 
local_host, HostId = 8a682fca-7032-11e2-8be0-cb1656457e1f, force=false, 
checkConnectivity=true, conectivityTimeout=120,
networks=[ovirtmgmt {id=6990dee0-6a13-4b74-811b-5accbae04194, 
description=Management Network, subnet=null, gateway=null, type=null, 
vlan_id=null, stp=false, storage_pool_id=501286c6-46d0-4f6f-a73c-e09e21778b1c, 
mtu=0, vmNetwork=true, cluster=network_cluster {id={clusterId=null, 
networkId=null}, status=Operational, is_display=false, required=true}}],
bonds=[],
interfaces=[eth0 {id=c2ceb17b-0ae1-4409-bfab-c84be5c8030b, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth0, macAddress=[REDACTED], 
networkName=ovirtmgmt, bondName=null, bootProtocol=None, address=, subnet=, 
gateway=null, mtu=0, bridged=true, speed=1000, type=2, 
networkImplementationDetails=null},
eth5 {id=3ee9e4b7-8ab5-458d-abe9-66a5914611bb, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth5, macAddress=[REDACTED], 
networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, 
gateway=null, mtu=1500, bridged=false, speed=0, type=0, 
networkImplementationDetails=null},
eth2 {id=1d9cb8eb-2cf8-43f3-98c8-a6f675424bdf, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth2, macAddress=[REDACTED], 
networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, 
gateway=null, mtu=1500, bridged=false, speed=0, type=0, 
networkImplementationDetails=null},
eth1 {id=66c9f391-c9f8-4052-b115-4b65759a7ff9, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth1, macAddress=[REDACTED], 
networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, 
gateway=null, mtu=1500, bridged=false, speed=0, type=0, 
networkImplementationDetails=null},
eth4 {id=357b5774-149e-4874-bbbe-9c5b5a3cbad9, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth4, macAddress=[REDACTED], 
networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, 
gateway=null, mtu=1500, bridged=false, speed=0, type=0, 
networkImplementationDetails=null},
eth3 {id=34f3e302-c08b-4b8d-ae4a-e55bb8189542, 
vdsId=8a682fca-7032-11e2-8be0-cb1656457e1f, name=eth3, macAddress=[REDACTED], 
networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, 
gateway=null,

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Juan Hernandez

On 02/06/2013 05:09 PM, Jim Kinney wrote:

bad admin: the pki restore did not include some vital parts (.keystore !)


Not your fault, such important files shouldn't be hidden.

--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain

Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] UI Plugin issue when switching main tabs

2013-02-06 Thread Vojtech Szocs
Hi guys,

> I thought it was intentional rather than a bug...

No, this was my mistake :) it's a bug. Should be fixed by 
http://gerrit.ovirt.org/#/c/11420

Thanks Daniel for fixing this.

Vojtech


- Original Message -
From: "Daniel Erez" 
To: "Itamar Heim" 
Cc: users@ovirt.org, "Oved Ourfalli" , "Vojtech Szocs" 

Sent: Wednesday, January 23, 2013 2:48:23 PM
Subject: Re: [Users] UI Plugin issue when switching main tabs



- Original Message -
> From: "Itamar Heim" 
> To: "Oved Ourfalli" 
> Cc: users@ovirt.org, "Daniel Erez" 
> Sent: Wednesday, January 23, 2013 2:33:53 PM
> Subject: Re: [Users] UI Plugin issue when switching main tabs
> 
> On 23/01/2013 04:32, Itamar Heim wrote:
> > On 22/01/2013 14:06, Oved Ourfalli wrote:
> >>
> >> - Original Message -
> >>> From: "René Koch" 
> >>> To: "Oved Ourfalli" 
> >>> Cc: users@ovirt.org
> >>> Sent: Tuesday, January 22, 2013 1:51:58 PM
> >>> Subject: Re: [Users] UI Plugin issue when switching main tabs
> >>>
> >>>
> >>> Thanks a lot for your input - it was really helpfu!
> >>>
> >>> I added a check for argument.length and now it's working as
> >>> expected.
> >>> The working code is:
> >>>
> >>>  VirtualMachineSelectionChange: function() {
> >>>if (arguments.length == 1) {
> >>> var vmName = arguments[0].name;
> >>> alert(vmName);
> >>> // Reload VM Sub Tab
> >>> api.setTabContentUrl('vms-monitoring', conf.url +
> >>> '?subtab=vms&name=' + encodeURIComponent(vmName));
> >>>}
> >>>  }
> >>>
> >>>
> >>> Btw, do you know if I can get the name of a host instead the
> >>> hostname/ip?
> >>> arguments[0].name; gives me the IP address (value of webadmin
> >>> column
> >>> "hostname/ip") but not the name (column "name") - (I always use
> >>> ips
> >>> instead of dns names for hypervisors)...
> >>>
> >> I don't think you can currently do that.
> >> The plan is to expose all the attributes of the entity that are
> >> exposed via REST, also in the plugin api, but currently that's not
> >> the
> >> case.
> >> Not sure why it doesn't return the name itself (don't know if it
> >> is a
> >> bug, or it is "as designed"), but anyway, other properties will be
> >> exposed in the future.
> >
> > but it sounds like a bug in the mapping of id/name for the current
> > uiplugin infra (maybe vojtech mapped the wrong field).
> > assuming restapi returns host name for the name field, uiplugin
> > should
> > return it as well.
> 
> hmmm, i wonder if the shellinabox uiplugin relies on this bug. once
> it
> is fixed, it will need to fetch the ip via rest or assume the name is
> resolvable for ssh.

Yes, the shellinabox uiplugin indeed relies on it.
I thought it was intentional rather than a bug...

Can we simply add a new property to the JSON object?
I.e. obj.setProperty("hostname", ((VDS) businessEntity).gethost_name()); 
//$NON-NLS-1$
(in addition to: obj.setProperty("name", ((VDS) businessEntity).getvds_name()); 
//$NON-NLS-1$)

> 
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] how to add a user

2013-02-06 Thread Jonathan Horne
Im using ovrit 3.1, and I'm trying to add a user to the web console.  But the 
new button brings up a popup that doesn't have any buttons on it.  Can I use 
the engine-manage-domains tool, and if yes what is the syntax?  So far what I 
have found on google is just getting me authentication errors, so I'm sure I'm 
doing it wrong.

Thanks,
jonathan


This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] UI Plugin issue when switching main tabs

2013-02-06 Thread Vojtech Szocs
Hi René, sorry for my very late reply, and thanks to Oved for helping with this 
issue.

As Oved suggested, you should always check 'arguments' before accessing 
entities from it.

The reason why VirtualMachineSelectionChange event stopped working for your 
plugin after you switch away from VM tab and into VM tab again, is because when 
you switch again into VM tab, VM table selection is cleared and 
VirtualMachineSelectionChange is triggered with empty 'arguments'.

Since your plugin does 'arguments[0].name' regardless of 'arguments.length', 
this throws uncaught exception, and WebAdmin puts your plugin out of service as 
per the standard plugin lifecycle. In future, I'm planning to add new event 
handler function (e.g. 'Error') that will allow your plugin to detect such 
uncaught exceptions, but for now you have to ensure your plugin doesn't throw 
such exceptions. (Maybe you can use JavaScript console to detect such errors 
that happen within the plugin iframe.)

> Btw, do you know if I can get the name of a host instead the hostname/ip?

This is a bug, it's fixed by http://gerrit.ovirt.org/#/c/11420/ so that 
'vm.name' returns the value of name column, and 'vm.hostname' returns the 
hostname/IP.

Regards,
Vojtech


- Original Message -
From: "René Koch" 
To: "Oved Ourfalli" 
Cc: users@ovirt.org
Sent: Tuesday, January 22, 2013 10:51:58 PM
Subject: Re: [Users] UI Plugin issue when switching main tabs


Thanks a lot for your input - it was really helpfu!

I added a check for argument.length and now it's working as expected.
The working code is:

VirtualMachineSelectionChange: function() {
  if (arguments.length == 1) {
var vmName = arguments[0].name;
alert(vmName);
// Reload VM Sub Tab
api.setTabContentUrl('vms-monitoring', conf.url + '?subtab=vms&name=' + 
encodeURIComponent(vmName));
  }
}


Btw, do you know if I can get the name of a host instead the hostname/ip?
arguments[0].name; gives me the IP address (value of webadmin column 
"hostname/ip") but not the name (column "name") - (I always use ips instead of 
dns names for hypervisors)...
 

Thanks,
René


 
-Original message-
> From:Oved Ourfalli 
> Sent: Tuesday 22nd January 2013 19:34
> To: René Koch 
> Cc: users@ovirt.org
> Subject: Re: [Users] UI Plugin issue when switching main tabs
> 
> Found your bug (I think):
> You don't check in your code whether there is a selection (if 
> (arguments.length == 1) for example, if you want to act only when one is 
> selected).
> 
> You'll probably want to do similar logic to the Foreman plugin, setting the 
> sub-tab content URL only in case one VM is selected, and setting the URL 
> properly.
> 
> The fact that your alert won't show is that you call arguments[0].name, and 
> it fails when nothing is selected... and I guess that's the case when you 
> switch tabs.
> Didn't check it out, but please check it out... and let me know what you 
> found :-)
> 
> Oved
> 
> - Original Message -
> > From: "René Koch" 
> > To: "Oved Ourfalli" 
> > Cc: users@ovirt.org
> > Sent: Monday, January 21, 2013 6:05:47 PM
> > Subject: Re: [Users] UI Plugin issue when switching main tabs
> > 
> > When switching back to vm main tab changing the selection doesn't
> > work.
> > 
> > No matter which VM I select the VirtualMachineSelectionChange
> > function isn't called again (as my debug alert window doesn't
> > appear), but the last vm I selected before switching to another main
> > tab is cached in variable vmName...
> > It works again after restarting engine-service.
> > 
> > I just tested your foreman plugin and it seems that this one is
> > working as expected.
> > 
> 
> > 
> > Regards,
> > René
> >  
> >  
> > -Original message-
> > > From:Oved Ourfalli 
> > > Sent: Monday 21st January 2013 14:56
> > > To: René Koch 
> > > Cc: users@ovirt.org; Vojtech Szocs 
> > > Subject: Re: [Users] UI Plugin issue when switching main tabs
> > > 
> > > I'll let Vojtech (cc-ed) to give a more accurate answer, but,
> > > trying to narrow down the issue: when you switch to a different
> > > main tab and then back to the VM main tab, and change the
> > > selection in there, does it work?
> > > (Trying to understand if the problem is only when doing the switch,
> > > and it works afterwards, or not).
> > > 
> > > Thank you,
> > > Oved
> > > - Original Message -
> > > > From: "René Koch" 
> > > > To: users@ovirt.org
> > > > Sent: Sunday, January 20, 2013 11:07:13 PM
> > > > Subject: [Users] UI Plugin issue when switching main tabs
> > > > 
> > > > Hi,
> > > > 
> > > > I'm working on an UI plugin to integrate Nagios/Icinga into oVirt
> > > > Engine and made some progress, but have an issue when switching
> > > > the
> > > > main tabs.
> > > > 
> > > > I use VirtualMachineSelectionChange to create URL with name of vm
> > > > (and HostSelectionChange for hosts).
> > > > Name is used in my backend code (Perl) for fetching monitoring
> > > > status.
> > > > 
> > > > Here's 

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Juan Hernandez

On 02/06/2013 05:09 PM, Jim Kinney wrote:

bad admin: the pki restore did not include some vital parts (.keystore !)

SPM host is live now but others won't activate. Seems the database
restore dropped a function:


Make sure you have the "postgresql-contrib" package installed, then try 
this:


  # psql -U postgres engine
  engine# create extension "uuid-ossp";

After that restart the engine.



2013-02-06 11:06:55,650 ERROR
[org.ovirt.engine.core.bll.ActivateVdsCommand] (pool-3-thread-49)
[58e7592f] Command org.ovirt.engine.core.bll.ActivateVdsCommand throw
exception: org.springframework.jdbc.BadSqlGrammarException:
CallableStatementCallback; bad SQL grammar [{call
insert_entity_snapshot(?, ?, ?, ?, ?, ?, ?, ?)}]; nested exception is
org.postgresql.util.PSQLException: ERROR: function uuid_generate_v1()
does not exist
   Hint: No function matches the given name and argument types. You
might need to add explicit type casts.
   Where: PL/pgSQL function "insert_entity_snapshot" line 4 at SQL statement
 at
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:97)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:952) 
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:985)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:368)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:342)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:164)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:124)
[engine-dal.jar:]
 at
org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:37)
[engine-dal.jar:]
 at
org.ovirt.engine.core.dao.BusinessEntitySnapshotDAODbFacadeImpl.save(BusinessEntitySnapshotDAODbFacadeImpl.java:84)
[engine-dal.jar:]
 at
org.ovirt.engine.core.bll.context.DefaultCompensationContext.stateChanged(DefaultCompensationContext.java:138)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.ActivateVdsCommand$1.runInTransaction(ActivateVdsCommand.java:60)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.ActivateVdsCommand$1.runInTransaction(ActivateVdsCommand.java:53)
[engine-bll.jar:]
 at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
 at
org.ovirt.engine.core.bll.ActivateVdsCommand.executeCommand(ActivateVdsCommand.java:53)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
[engine-bll.jar:]
 at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
 at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:142)
[engine-utils.jar:]
 at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:109)
[engine-utils.jar:]
 at
org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268) 
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162)
[engine-bll.jar:]
 at
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84)
[engine-bll.jar:]
 at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
[engine-utils.jar:]
 at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_09-icedtea]
 at
java.util.concurrent.FutureTa

Re: [Users] HTML file display in Custom Tab

2013-02-06 Thread Vojtech Szocs
Hi Satheesh,

> I find that there is usage of “ProxyPass / ajp://localhost:8702/”
> within /etc/httpd/conf.d” ,which redirects whatever request which
> comes to server back to the engine-service which listens to port 8702.

Yes, all requests that come into Apache get redirected to Engine via AJP 
protocol by default. In future, we're planning to do the redirect only for 
specific URLs like '/engine/'.

There are (at least) two ways you can serve your custom content for your UI 
plugin:

1, use built-in Engine servlet for serving static plugin resources
   e.g. '/webadmin/webadmin/plugin//start.html' would serve 
'/usr/share/ovirt-engine/ui-plugins//start.html'
   see http://www.ovirt.org/Features/UIPlugins#UI_plugin_cheat_sheet for more 
details

2, modify Apache configuration to serve your custom content
   e.g. use ProxyPass directive in ovirt-engine.conf that takes effect before 
the AJP redirect takes effect

The first way is highly recommended since it allows your plugin to be packaged 
and distributed for use with Engine, with following file structure:
- /usr/share/ovirt-engine/ui-plugins/.json -> plugin descriptor
- /usr/share/ovirt-engine/ui-plugins/-files/start.html -> plugin 
host page
- /usr/share/ovirt-engine/ui-plugins/-files/* -> other static 
plugin resources (if necessary)
- /etc/ovirt-engine/ui-plugins/-config.json -> plugin user 
configuration (optional, not part of plugin distribution package)

Hope this helps,
Vojtech


- Original Message -
From: "J, Satheesh" 
To: users@ovirt.org
Cc: vsz...@redhat.com
Sent: Tuesday, February 5, 2013 2:34:37 PM
Subject: HTML file display in Custom Tab




Hi , 



I have added a custom Tab to WebAdmin portal and want to display a html file in 
this Custom tab. 

I find that there is usage of “ProxyPass / ajp://localhost:8702/” within 
/etc/httpd/conf.d” ,which redirects whatever request which 

comes to server back to the engine-service which listens to port 8702. 

This prevents me from showing a html file placed in /var/www/html,which is run 
on Apache server. 

Every request is reverted back to oVirt main page. 



How do I succeed to display html file then? 

Is there a way to bypass this proxy whenever required? 



Thanks and Regards 

Satheesh J 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Slides of my FOSDEM sessions

2013-02-06 Thread Oved Ourfalli
Hey all,

I did two sessions in FOSDEM (and one on the Build a Cloud Day track in Puppet 
Camp).

The slides are available on Slideshare:
* Supporting and Using EC2/CIMI on top of Cloud Environments via Deltacloud 
(same session on FOSDEM and Puppet Camp) - 
http://www.slideshare.net/OvedOurfali/supporting-and-using-ec2cimi-on-top-of-cloud-environments-via-deltacloud
 (PDF version in http://goo.gl/NfZcz)
* oVirt UI Plugin Infrastructure and the oVirt-Foreman plugin - 
http://www.slideshare.net/OvedOurfali/ovirt-foremanpluginfosdem (PDF version in 
http://goo.gl/GSgFd)

Enjoy!
Oved
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt Weekly Meeting Minutes -- 2013-02-06

2013-02-06 Thread Mike Burns
Minutes: 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-02-06-15.01.html
Minutes (text): 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-02-06-15.01.txt
Log: 
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-02-06-15.01.log.html



#ovirt: oVirt Weekly Meeting



Meeting started by mburns at 15:01:04 UTC. The full logs are available
at http://ovirt.org/meetings/ovirt/2013/ovirt.2013-02-06-15.01.log.html
.



Meeting summary
---
* Agenda and Roll Call  (mburns, 15:01:15)
  * Release Status and updates  (mburns, 15:01:26)
  * Workshops and Conferences  (mburns, 15:01:40)
  * Team reports  (mburns, 15:01:44)

* Release Status  (mburns, 15:04:35)
  * mburns mgoldboi and oschreib met yesterday to review blockers on the
tracker  (mburns, 15:04:58)
  * LINK:

https://bugzilla.redhat.com/showdependencytree.cgi?id=881006&hide_resolved=1
(mburns, 15:05:04)
  * all bugs in the tracker except 3 ovirt-node bugs are at least in
post status  (mburns, 15:06:41)
  * bugs in post are in final review stages  (mburns, 15:06:56)
  * ovirt-node bugs are going to either be fixed and pushed today or
deferred  (mburns, 15:07:26)
  * some bugs on this list have not yet made it into builds posted on
ovirt.org  (mburns, 15:08:13)
  * next steps are to get the final bugs pushed into the git repos and
get builds posted  (mburns, 15:08:45)
  * plan to have all packages posted by friday  (mburns, 15:12:53)
  * go/no-go on 12-Feb and announcement of GA following shortly after
(mburns, 15:13:11)
  * we are still missing packages for dwh/reports docs and
engine-sdk-java  (mburns, 15:13:56)
  * oschreib to try to post engine rpms tomorrow  (mburns, 15:14:41)
  * ACTION: mburns to review vdsm bugs to ensure they're included in the
vdsm 3.2 branch  (mburns, 15:24:22)

* Workshops and Conferences  (mburns, 15:29:37)
  * oVirt at FOSDEM  (dneary, 15:29:52)
  * Our stand had a huge amount of traffic, and several oVirt community
members were there (hey Rydekull, ewoud!)  (dneary, 15:30:25)
  * oVirt presentations in the Virt DevRoom were typically very wekk
attended - Doron's oVirt introduction and Federico's live migration
presentation were both full houses  (dneary, 15:31:05)
  * In addition, Oved Ourfali presented DeltaCloud integration with
oVirt in the "Build a Cloud Day" part of PuppetCamp in Ghent before
the conference  (dneary, 15:31:52)
  * Doron gave 3 presentations about oVirt, Oved gave a Foreman and
DeltaCloud presentation, and Federico presented Live Migration. In
addition, Zeeshan Ali presented Boxes automated install capabilities
(dneary, 15:32:55)
  * A good time was had by all, and we have several interesting leads to
follow up for case studies & questions  (dneary, 15:33:28)
  * ACTION: Dave to post CfP and registration details for Intel workshop
in May this week  (dneary, 15:36:00)

* Infra team report  (mburns, 15:37:28)
  * infra team tried to meet up at FOSDEM but missed each other
(mburns, 15:38:45)
  * not much else to report  (mburns, 15:38:56)
  * ACTION: Dave to add ewoud for AlterWay server  (dneary, 15:40:12)

* other topics  (mburns, 15:40:45)

Meeting ended at 15:44:22 UTC.




Action Items

* mburns to review vdsm bugs to ensure they're included in the vdsm 3.2
  branch
* Dave to post CfP and registration details for Intel workshop in May
  this week
* Dave to add ewoud for AlterWay server




Action Items, by person
---
* ewoud
  * Dave to add ewoud for AlterWay server
* mburns
  * mburns to review vdsm bugs to ensure they're included in the vdsm
3.2 branch
* **UNASSIGNED**
  * Dave to post CfP and registration details for Intel workshop in May
this week




People Present (lines said)
---
* mburns (62)
* dneary (25)
* goacid (13)
* apuimedo (11)
* mkolesni (9)
* fsimonce (7)
* oschreib (7)
* ovirtbot (5)
* ewoud (4)
* mgoldboi (4)
* Rydekull (2)
* jb_netapp (1)
* mkolesni__ (1)
* dustins (1)




Generated by `MeetBot`_ 0.1.4

.. _`MeetBot`: http://wiki.debian.org/MeetBot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
On Wed, Feb 6, 2013 at 10:18 AM, Jim Kinney  wrote:

> progress. Restored pki files from backup. Still had to reset
> AdminPassword. Able to login to the gui. All hosts are "unresponsive". The
> SPM host is just totally locked (but fine from it's console - idle).
>
> Tried to reinstall one of the hosts and got a new error message:
>
> Error:
>
> vmhost5:
>
>- size must be between 0 and 50
>
>
vmhost2 is locked as SPM host and nothing seems to allow it to be reset.
Found the following in engine.log:

 2013-02-06 10:42:51,809 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-64) XML RPC error in command GetCapabilitiesVDS (
Vds: vmhost2 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException, SunCertPathBuilderException:
unable to find valid certification path to requested target
2013-02-06 10:42:51,818 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-57) Failed to decryptData must start with zero
2013-02-06 10:42:52,513 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-62) Failed to decryptData must start with zero
2013-02-06 10:42:53,245 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
(QuartzScheduler_Worker-60) Failed to decryptData must start with zero

This repeats every few seconds.

None of the vmhosts have the usual vdsm running profiles. They all have:

19343 ?S< 0:00 /bin/bash -e /usr/share/vdsm/respawn
--minlifetime 10 --daemon --masterpid /var/run/vdsm/respawn.pid
/usr/share/vdsm/vdsm
19346 ?S
>
> On Wed, Feb 6, 2013 at 9:42 AM, Juan Hernandez wrote:
>
>> On 02/06/2013 03:32 PM, Jim Kinney wrote:
>>
>>> The pki folder is likely to be a problem but the backups folder is
>>> populated. Is there a way to remove client certs from hosts to restore
>>> access with a host add process?
>>>
>>
>> If you don't have the pki folder you have two problems. First is that
>> some data in the database is encrypted, namely the AdminPassword. That you
>> can solve with "engine-config -s AdminPassword=interactive". Second is the
>> certificates of the hosts, the easy way to solve that is to re-install them
>> (from the ovirt-engine GUI, no need to re-install the operating system)
>> that will generate new certificates.
>>
>>
>>> On Feb 6, 2013 9:24 AM, "Juan Hernandez" >> > wrote:
>>>
>>> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>>>
>>> as things stand now:
>>>
>>> I manually reinstalled 3.1, then dropped the engine database and
>>> restored from the backup. There were some errors at the end.
>>> Even though
>>> I used all the same passwords, the admin@internal account was
>>> not
>>> working. Used engine-config -s LocalAdminPassword='*' to
>>> fix. On log
>>> in, everything is down, offline, unreachable. No hosts can be
>>> contacted.
>>> No storage is connected. Can't add a new host.
>>>
>>> crud.
>>>
>>> I copied the database backup and removed all the db creation part
>>> leaving just the data "copy into..." section (that was fun). Ran
>>> engine-cleanup then engine-setup then tried to restore just the
>>> data.
>>>
>>> no joy there either.
>>>
>>> The system is CentOS 6.3 as are the hosts. This ran wonderfully
>>> until I
>>> goofed trying to get the cli and sdk updated. Without the
>>> database
>>> working, I have no way to know what vm is what in the ISCSI LVM
>>> storage
>>> system to even export to another platform.
>>>
>>> So I'm assuming my next step is panic (or total reinstall from
>>> bare
>>> iron?). I'm setting this up at work and today is my last day as
>>> I'm
>>> moving to a new job at a totally different organization. I'd
>>> hate to
>>> walk out and lose all the windows VMs and templates that were
>>> built over
>>> the last 2 months.
>>>
>>>
>>> Do you still have the original backup of the database and the
>>> contents of the original /etc/pki/ovirt-engine directory? With those
>>> two things it is possible to recover.
>>>
>>> I would suggest the following procedure:
>>>
>>> 1. Make a clean installation of 3.1, exactly the same version that
>>> you had before trying to update (make a backup of the database and
>>> of the /etc/pki/ovirt-engine directory before, just in case). During
>>> this installation use the answers that you used during the initial
>>> installation (specially the passwords).
>>>
>>> 2. Stop the engine, then drop and recover the database as you
>>> already did.
>>>
>>> 3. Restore the contents of the /etc/pki/ovirt-engine directory.
>>>
>>> 4. Start the engine.
>>>
>>> You should be able to log in with the same credentials that you used
>>> in the original i

Re: [Users] Ovirt Node Automated Installation... full unattended installation?

2013-02-06 Thread No Reply
I am doing this from PXE.  Not USB.  The question is, is what I found the 
expected behavior?  This entire area of oVirt seems to need some serious 
enhancement.  The same issues exist in RHEV, which is not a surprise, but 
automated installation is key to enterprise adoption of either oVirt or 
especially RHEV, so I have the impression this feature set should have a high 
priority?  VMware for example has a very polished and deep deployment 
methodology, include full stateless deploy of ESXi.  Would like to see 
oVirt/RHEV reach peer stability, consistency and behavior for automated 
installation to what VMware does, as well as Hyper-V, and even XenServer.  I 
get the impression, no many are using PXE based deployment of oVirt?


-Original Message-
From: Fabian Deutsch [mailto:fabi...@redhat.com] 
Sent: Wednesday, February 06, 2013 00:46
To: No Reply
Cc: users@ovirt.org
Subject: Re: [Users] Ovirt Node Automated Installation... full unattended 
installation?

Am Dienstag, den 05.02.2013, 16:02 -0800 schrieb No Reply:
> No comments?  J  This has to be an important feature of oVirt no?

Hey,

does it basically work - e.g. when booting from USB - when you add the
BOOTIF=eth0 storage_init parameters?

So using a device name instead of a mac address?

Greetings
fabian

> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
> Behalf Of No Reply
> Sent: Saturday, February 02, 2013 20:30
> To: users@ovirt.org
> Subject: Re: [Users] Ovirt Node Automated Installation... full 
> unattended installation?
> 
> 
>  
> 
> The plot thickens…  I removed BOOTIF and used IPAPPEND 2 directive 
> which per the documentation does automatic append of BOOTIF parameter 
> using the MAC of the adapter that PXE used, and received the 
> DHCPOFFER… then the automated installation worked as the documentation 
> suggests.  Does this make sense, or is this some type of odd quirk or 
> bug?
> 
>  
> 
> Does not work… (FF:FF:FF:FF:FF:FF is not the real MAC used, just 
> redacted the real MAC)…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro 
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M 
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 
> storage_init=/dev/sda BOOTIF=
> 
>  
> 
> Works…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> IPAPPEND 2
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro 
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M 
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 
> storage_init=/dev/sda
> 
>  
> 
>  
> 
>  
> 
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
> Behalf Of Schorschi
> Sent: Saturday, February 02, 2013 20:07
> To: users@ovirt.org
> Subject: [Users] Ovirt Node Automated Installation... full unattended 
> installation?
> 
> 
>  
> 
> Ok, reading the RHEV-H node automated installation, given the oVirt 
> documentation states the same automated installation parameters are 
> supported, I can’t see to resolve one key issue…
> 
>  
> 
> First boot  of PXE configuration does an ‘uninstall’ to ensure no past 
> installation of oVirt node exists… this works 100% unattended.
> However using install or reinstall or local_boot (a.k.a. upgrade) or 
> even firstboot option, and even no option, on the APPEND command line 
> via PXE, the automated installation stops.  Waiting for interactive 
> response?  Is this the expected behavior?  Even just using 
> init_storage and BOOTIF, the only two required parameters, the 
> automated process stops for interactive input?  So how do you do a 
> completely automated installation with zero human interactive action 
> required?
> 
>  
> 
> Uninstall…  This works as expected…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro 
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M 
> elevator=deadline uninstall
> 
>  
> 
> Install…  This does not work as expected, per how the documentation 
> implies it should?
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro 
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M 
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 
> storage_init=/dev/sda BOOTIF=
> 
>  
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
progress. Restored pki files from backup. Still had to reset AdminPassword.
Able to login to the gui. All hosts are "unresponsive". The SPM host is
just totally locked (but fine from it's console - idle).

Tried to reinstall one of the hosts and got a new error message:

Error:

vmhost5:

   - size must be between 0 and 50



On Wed, Feb 6, 2013 at 9:42 AM, Juan Hernandez  wrote:

> On 02/06/2013 03:32 PM, Jim Kinney wrote:
>
>> The pki folder is likely to be a problem but the backups folder is
>> populated. Is there a way to remove client certs from hosts to restore
>> access with a host add process?
>>
>
> If you don't have the pki folder you have two problems. First is that some
> data in the database is encrypted, namely the AdminPassword. That you can
> solve with "engine-config -s AdminPassword=interactive". Second is the
> certificates of the hosts, the easy way to solve that is to re-install them
> (from the ovirt-engine GUI, no need to re-install the operating system)
> that will generate new certificates.
>
>
>> On Feb 6, 2013 9:24 AM, "Juan Hernandez" > > wrote:
>>
>> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>>
>> as things stand now:
>>
>> I manually reinstalled 3.1, then dropped the engine database and
>> restored from the backup. There were some errors at the end.
>> Even though
>> I used all the same passwords, the admin@internal account was not
>> working. Used engine-config -s LocalAdminPassword='*' to
>> fix. On log
>> in, everything is down, offline, unreachable. No hosts can be
>> contacted.
>> No storage is connected. Can't add a new host.
>>
>> crud.
>>
>> I copied the database backup and removed all the db creation part
>> leaving just the data "copy into..." section (that was fun). Ran
>> engine-cleanup then engine-setup then tried to restore just the
>> data.
>>
>> no joy there either.
>>
>> The system is CentOS 6.3 as are the hosts. This ran wonderfully
>> until I
>> goofed trying to get the cli and sdk updated. Without the database
>> working, I have no way to know what vm is what in the ISCSI LVM
>> storage
>> system to even export to another platform.
>>
>> So I'm assuming my next step is panic (or total reinstall from
>> bare
>> iron?). I'm setting this up at work and today is my last day as
>> I'm
>> moving to a new job at a totally different organization. I'd hate
>> to
>> walk out and lose all the windows VMs and templates that were
>> built over
>> the last 2 months.
>>
>>
>> Do you still have the original backup of the database and the
>> contents of the original /etc/pki/ovirt-engine directory? With those
>> two things it is possible to recover.
>>
>> I would suggest the following procedure:
>>
>> 1. Make a clean installation of 3.1, exactly the same version that
>> you had before trying to update (make a backup of the database and
>> of the /etc/pki/ovirt-engine directory before, just in case). During
>> this installation use the answers that you used during the initial
>> installation (specially the passwords).
>>
>> 2. Stop the engine, then drop and recover the database as you
>> already did.
>>
>> 3. Restore the contents of the /etc/pki/ovirt-engine directory.
>>
>> 4. Start the engine.
>>
>> You should be able to log in with the same credentials that you used
>> in the original installation.
>>
>>
>> On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney > 
>> >**>
>> wrote:
>>
>>  added 3.2 lines to dre ovirt yum repo (and disabled 3.1 -
>> probably
>>  not good) and did engine-upgrade.
>>
>>  Process choked at opening the CA cert and proceeded to
>> "rollback".
>>  Didn't actually roll back as 3.1 repo was disabled.
>>
>>  System still has 3.2 installed. Did yum update to pull in the
>>  cli/sdk 3.2 (wish I had done that first!).
>>
>>  Engine starts but fails to open CA to run gui. found
>> following in log:
>>
>>  2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
>>  engineencryptutils.__**EncryptionUtils] (MSC service thread
>> 1-16) Can't
>>  load keystore from file "/etc/pki/ovirt-engine/.__**
>> keystore".
>>
>>  IOException: DerInputStream.getLength(): lengthTag=109, too
>> big.
>>  2013-02-05 14:02:40,826 ERROR
>>
>> [org.ovirt.engine.core.__**engineencryptutils.__**EncryptionUtils]
>> (MSC
>>
>>  service thread 1-16) Failed to decrypt java.io.IOException:
>>  DerInputStream.getLength(): lengthTag=109, too big.
>>  2

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Juan Hernandez

On 02/06/2013 03:32 PM, Jim Kinney wrote:

The pki folder is likely to be a problem but the backups folder is
populated. Is there a way to remove client certs from hosts to restore
access with a host add process?


If you don't have the pki folder you have two problems. First is that 
some data in the database is encrypted, namely the AdminPassword. That 
you can solve with "engine-config -s AdminPassword=interactive". Second 
is the certificates of the hosts, the easy way to solve that is to 
re-install them (from the ovirt-engine GUI, no need to re-install the 
operating system) that will generate new certificates.




On Feb 6, 2013 9:24 AM, "Juan Hernandez" mailto:jhern...@redhat.com>> wrote:

On 02/06/2013 03:02 PM, Jim Kinney wrote:

as things stand now:

I manually reinstalled 3.1, then dropped the engine database and
restored from the backup. There were some errors at the end.
Even though
I used all the same passwords, the admin@internal account was not
working. Used engine-config -s LocalAdminPassword='*' to
fix. On log
in, everything is down, offline, unreachable. No hosts can be
contacted.
No storage is connected. Can't add a new host.

crud.

I copied the database backup and removed all the db creation part
leaving just the data "copy into..." section (that was fun). Ran
engine-cleanup then engine-setup then tried to restore just the
data.

no joy there either.

The system is CentOS 6.3 as are the hosts. This ran wonderfully
until I
goofed trying to get the cli and sdk updated. Without the database
working, I have no way to know what vm is what in the ISCSI LVM
storage
system to even export to another platform.

So I'm assuming my next step is panic (or total reinstall from bare
iron?). I'm setting this up at work and today is my last day as I'm
moving to a new job at a totally different organization. I'd hate to
walk out and lose all the windows VMs and templates that were
built over
the last 2 months.


Do you still have the original backup of the database and the
contents of the original /etc/pki/ovirt-engine directory? With those
two things it is possible to recover.

I would suggest the following procedure:

1. Make a clean installation of 3.1, exactly the same version that
you had before trying to update (make a backup of the database and
of the /etc/pki/ovirt-engine directory before, just in case). During
this installation use the answers that you used during the initial
installation (specially the passwords).

2. Stop the engine, then drop and recover the database as you
already did.

3. Restore the contents of the /etc/pki/ovirt-engine directory.

4. Start the engine.

You should be able to log in with the same credentials that you used
in the original installation.


On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney mailto:jim.kin...@gmail.com>
>> wrote:

 added 3.2 lines to dre ovirt yum repo (and disabled 3.1 -
probably
 not good) and did engine-upgrade.

 Process choked at opening the CA cert and proceeded to
"rollback".
 Didn't actually roll back as 3.1 repo was disabled.

 System still has 3.2 installed. Did yum update to pull in the
 cli/sdk 3.2 (wish I had done that first!).

 Engine starts but fails to open CA to run gui. found
following in log:

 2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
 engineencryptutils.__EncryptionUtils] (MSC service thread
1-16) Can't
 load keystore from file "/etc/pki/ovirt-engine/.__keystore".
 IOException: DerInputStream.getLength(): lengthTag=109, too
big.
 2013-02-05 14:02:40,826 ERROR

[org.ovirt.engine.core.__engineencryptutils.__EncryptionUtils] (MSC
 service thread 1-16) Failed to decrypt java.io.IOException:
 DerInputStream.getLength(): lengthTag=109, too big.
 2013-02-05 14:02:40,827 ERROR

[org.ovirt.engine.core.dal.__dbbroker.generic.__DBConfigUtils] (MSC
 service thread 1-16) Failed to decrypt value for property
 TruststorePass will be used encrypted value
 2013-02-05 14:02:40,829 WARN
 [org.ovirt.engine.core.utils.__ConfigUtilsBase] (MSC
service thread
 1-16) Could not find enum value for option: CertificatePassword
 2013-02-05 14:02:40,830 ERROR

[org.ovirt.engine.core.__engineencryptutils.__EncryptionUtils] (MSC
 service thread 1-16) Can't load keystore from file
 "/etc/pki/ovirt-engine/.__keystore". IOException:
 DerI

Re: [Users] Fwd: [Engine-devel] Latest open jdk and JBOSS

2013-02-06 Thread Jonathan Archer

I can confirm this resolved my issues I was seeing...

Jon

On 06/02/13 14:36, Jonathan Archer wrote:

I've literally just posted with regard to seeing this same issue...

thanks

Jon
On 06/02/13 14:34, Roy Golan wrote:

FYI


 Original Message 
Subject:[Engine-devel] Latest open jdk and JBOSS
Date:   Wed, 06 Feb 2013 08:40:01 -0500
From:   Alexander Wels 
Reply-To:   aw...@redhat.com
To: engine-de...@ovirt.org



Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.

Details can be found here:
https://community.jboss.org/message/796347#796347

I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.

Alexander.
___
Engine-devel mailing list
engine-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: [Engine-devel] Latest open jdk and JBOSS

2013-02-06 Thread Jonathan Archer

I've literally just posted with regard to seeing this same issue...

thanks

Jon
On 06/02/13 14:34, Roy Golan wrote:

FYI


 Original Message 
Subject:[Engine-devel] Latest open jdk and JBOSS
Date:   Wed, 06 Feb 2013 08:40:01 -0500
From:   Alexander Wels 
Reply-To:   aw...@redhat.com
To: engine-de...@ovirt.org



Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.

Details can be found here:
https://community.jboss.org/message/796347#796347

I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.

Alexander.
___
Engine-devel mailing list
engine-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Install problems

2013-02-06 Thread Jonathan Archer

Hi All,

Just wondering if anyone could shed some light on an issue I'm seeing?

I've followed the instructions on the wiki to try and get an ovirt setup 
running. (F17 minimal, updated, add repo, yum install ovirt-engine, 
engine-setup)
All that seemed to go OK, and the database creation etc seemed to be 
fine, however starting the ovirt-engine service seems to have failed to 
start, was getting a http 503 error on trying the web interface.


Looking deeper into it, it seems that jboss-as seems to be failing to 
start with some errors around logging.
when I run systemctl start ovirt-engine.service i get the following in 
the logs:
Feb  6 14:33:52 host1 engine-service.py[25212]: Started engine process 
25213.
Failed to configure handler FILE on Logger '' in context 
org.jboss.logmanager.LogContext@afc824e: Handler FILE has no class name

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.as.server.Main.main(Main.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
Caused by: java.lang.IllegalStateException: The LogManager was not 
properly installed (you must set the "java.util.logging.manager" system 
property to "org.jboss.logmanager.LogManager")

at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
at 
org.jboss.logmanager.log4j.BridgeRepositorySelector.(BridgeRepositorySelector.java:42)

... 7 more
Feb  6 14:33:53 host1 systemd[1]: ovirt-engine.service: main process 
exited, code=exited, status=1
Feb  6 14:33:53 host1 engine-service.py[25230]: The engine PID file 
"/var/run/ovirt-engine.pid" contains 25213, but that process doesn't exist.
Feb  6 14:33:53 host1 systemd[1]: ovirt-engine.service: control process 
exited, code=exited status=1
Feb  6 14:33:53 host1 systemd[1]: Unit ovirt-engine.service entered 
failed state.


Any ideas?

Thanks

Jon







___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Fwd: [Engine-devel] Latest open jdk and JBOSS

2013-02-06 Thread Roy Golan

FYI


 Original Message 
Subject:[Engine-devel] Latest open jdk and JBOSS
Date:   Wed, 06 Feb 2013 08:40:01 -0500
From:   Alexander Wels 
Reply-To:   aw...@redhat.com
To: engine-de...@ovirt.org



Just an FYI there is an issue with the latest openjdk and JBOSS which causes
JBOSS to NOT start.

Details can be found here:
https://community.jboss.org/message/796347#796347

I did upgrade yesterday and I am having the exact same issue.
For now do not upgrade your open jdk to the latest version.

Alexander.
___
Engine-devel mailing list
engine-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
The pki folder is likely to be a problem but the backups folder is
populated. Is there a way to remove client certs from hosts to restore
access with a host add process?
On Feb 6, 2013 9:24 AM, "Juan Hernandez"  wrote:

> On 02/06/2013 03:02 PM, Jim Kinney wrote:
>
>> as things stand now:
>>
>> I manually reinstalled 3.1, then dropped the engine database and
>> restored from the backup. There were some errors at the end. Even though
>> I used all the same passwords, the admin@internal account was not
>> working. Used engine-config -s LocalAdminPassword='*' to fix. On log
>> in, everything is down, offline, unreachable. No hosts can be contacted.
>> No storage is connected. Can't add a new host.
>>
>> crud.
>>
>> I copied the database backup and removed all the db creation part
>> leaving just the data "copy into..." section (that was fun). Ran
>> engine-cleanup then engine-setup then tried to restore just the data.
>>
>> no joy there either.
>>
>> The system is CentOS 6.3 as are the hosts. This ran wonderfully until I
>> goofed trying to get the cli and sdk updated. Without the database
>> working, I have no way to know what vm is what in the ISCSI LVM storage
>> system to even export to another platform.
>>
>> So I'm assuming my next step is panic (or total reinstall from bare
>> iron?). I'm setting this up at work and today is my last day as I'm
>> moving to a new job at a totally different organization. I'd hate to
>> walk out and lose all the windows VMs and templates that were built over
>> the last 2 months.
>>
>
> Do you still have the original backup of the database and the contents of
> the original /etc/pki/ovirt-engine directory? With those two things it is
> possible to recover.
>
> I would suggest the following procedure:
>
> 1. Make a clean installation of 3.1, exactly the same version that you had
> before trying to update (make a backup of the database and of the
> /etc/pki/ovirt-engine directory before, just in case). During this
> installation use the answers that you used during the initial installation
> (specially the passwords).
>
> 2. Stop the engine, then drop and recover the database as you already did.
>
> 3. Restore the contents of the /etc/pki/ovirt-engine directory.
>
> 4. Start the engine.
>
> You should be able to log in with the same credentials that you used in
> the original installation.
>
>
>> On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney > > wrote:
>>
>> added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably
>> not good) and did engine-upgrade.
>>
>> Process choked at opening the CA cert and proceeded to "rollback".
>> Didn't actually roll back as 3.1 repo was disabled.
>>
>> System still has 3.2 installed. Did yum update to pull in the
>> cli/sdk 3.2 (wish I had done that first!).
>>
>> Engine starts but fails to open CA to run gui. found following in log:
>>
>> 2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
>> engineencryptutils.**EncryptionUtils] (MSC service thread 1-16) Can't
>> load keystore from file "/etc/pki/ovirt-engine/.**keystore".
>> IOException: DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,826 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Failed to decrypt java.io.IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,827 ERROR
>> [org.ovirt.engine.core.dal.**dbbroker.generic.**DBConfigUtils] (MSC
>> service thread 1-16) Failed to decrypt value for property
>> TruststorePass will be used encrypted value
>> 2013-02-05 14:02:40,829 WARN
>> [org.ovirt.engine.core.utils.**ConfigUtilsBase] (MSC service thread
>> 1-16) Could not find enum value for option: CertificatePassword
>> 2013-02-05 14:02:40,830 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Can't load keystore from file
>> "/etc/pki/ovirt-engine/.**keystore". IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,830 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Failed to decrypt java.io.IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,831 ERROR
>> [org.ovirt.engine.core.dal.**dbbroker.generic.**DBConfigUtils] (MSC
>> service thread 1-16) Failed to decrypt value for property
>> LocalAdminPassword will be used encrypted value
>> 2013-02-05 14:02:40,833 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>> service thread 1-16) Can't load keystore from file
>> "/etc/pki/ovirt-engine/.**keystore". IOException:
>> DerInputStream.getLength(): lengthTag=109, too big.
>> 2013-02-05 14:02:40,834 ERROR
>> [org.ovirt.engine.core.**engineencryptutils.**EncryptionUtils] (MSC
>

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Juan Hernandez

On 02/06/2013 03:02 PM, Jim Kinney wrote:

as things stand now:

I manually reinstalled 3.1, then dropped the engine database and
restored from the backup. There were some errors at the end. Even though
I used all the same passwords, the admin@internal account was not
working. Used engine-config -s LocalAdminPassword='*' to fix. On log
in, everything is down, offline, unreachable. No hosts can be contacted.
No storage is connected. Can't add a new host.

crud.

I copied the database backup and removed all the db creation part
leaving just the data "copy into..." section (that was fun). Ran
engine-cleanup then engine-setup then tried to restore just the data.

no joy there either.

The system is CentOS 6.3 as are the hosts. This ran wonderfully until I
goofed trying to get the cli and sdk updated. Without the database
working, I have no way to know what vm is what in the ISCSI LVM storage
system to even export to another platform.

So I'm assuming my next step is panic (or total reinstall from bare
iron?). I'm setting this up at work and today is my last day as I'm
moving to a new job at a totally different organization. I'd hate to
walk out and lose all the windows VMs and templates that were built over
the last 2 months.


Do you still have the original backup of the database and the contents 
of the original /etc/pki/ovirt-engine directory? With those two things 
it is possible to recover.


I would suggest the following procedure:

1. Make a clean installation of 3.1, exactly the same version that you 
had before trying to update (make a backup of the database and of the 
/etc/pki/ovirt-engine directory before, just in case). During this 
installation use the answers that you used during the initial 
installation (specially the passwords).


2. Stop the engine, then drop and recover the database as you already did.

3. Restore the contents of the /etc/pki/ovirt-engine directory.

4. Start the engine.

You should be able to log in with the same credentials that you used in 
the original installation.




On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney mailto:jim.kin...@gmail.com>> wrote:

added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably
not good) and did engine-upgrade.

Process choked at opening the CA cert and proceeded to "rollback".
Didn't actually roll back as 3.1 repo was disabled.

System still has 3.2 installed. Did yum update to pull in the
cli/sdk 3.2 (wish I had done that first!).

Engine starts but fails to open CA to run gui. found following in log:

2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't
load keystore from file "/etc/pki/ovirt-engine/.keystore".
IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,826 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,827 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-16) Failed to decrypt value for property
TruststorePass will be used encrypted value
2013-02-05 14:02:40,829 WARN
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
1-16) Could not find enum value for option: CertificatePassword
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,831 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-16) Failed to decrypt value for property
LocalAdminPassword will be used encrypted value
2013-02-05 14:02:40,833 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,834 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.


On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak
mailto:mpast...@redhat.com>> wrote:


Hi Jim,

On 02/04/2013 08:33 PM, Jim Kinney wrote:
 > I'm trying to setup a way to restart a large group of windows
vms on a schedule. I'm getting a connection failure that seems
related to the use of https but I'm not sure.
 >
 > e

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
as things stand now:

I manually reinstalled 3.1, then dropped the engine database and restored
from the backup. There were some errors at the end. Even though I used all
the same passwords, the admin@internal account was not working. Used
engine-config -s LocalAdminPassword='*' to fix. On log in, everything
is down, offline, unreachable. No hosts can be contacted. No storage is
connected. Can't add a new host.

crud.

I copied the database backup and removed all the db creation part leaving
just the data "copy into..." section (that was fun). Ran engine-cleanup
then engine-setup then tried to restore just the data.

no joy there either.

The system is CentOS 6.3 as are the hosts. This ran wonderfully until I
goofed trying to get the cli and sdk updated. Without the database working,
I have no way to know what vm is what in the ISCSI LVM storage system to
even export to another platform.

So I'm assuming my next step is panic (or total reinstall from bare iron?).
I'm setting this up at work and today is my last day as I'm moving to a new
job at a totally different organization. I'd hate to walk out and lose all
the windows VMs and templates that were built over the last 2 months.

On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney  wrote:

> added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not
> good) and did engine-upgrade.
>
> Process choked at opening the CA cert and proceeded to "rollback". Didn't
> actually roll back as 3.1 repo was disabled.
>
> System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2
> (wish I had done that first!).
>
> Engine starts but fails to open CA to run gui. found following in log:
>
> 2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
> engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load
> keystore from file "/etc/pki/ovirt-engine/.keystore". IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,826 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,827 ERROR
> [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
> thread 1-16) Failed to decrypt value for property TruststorePass will be
> used encrypted value
> 2013-02-05 14:02:40,829 WARN
> [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-16)
> Could not find enum value for option: CertificatePassword
> 2013-02-05 14:02:40,830 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Can't load keystore from file
> "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
> lengthTag=109, too big.
> 2013-02-05 14:02:40,830 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
> 2013-02-05 14:02:40,831 ERROR
> [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
> thread 1-16) Failed to decrypt value for property LocalAdminPassword will
> be used encrypted value
> 2013-02-05 14:02:40,833 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Can't load keystore from file
> "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
> lengthTag=109, too big.
> 2013-02-05 14:02:40,834 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
> thread 1-16) Failed to decrypt java.io.IOException:
> DerInputStream.getLength(): lengthTag=109, too big.
>
>
> On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak wrote:
>
>>
>> Hi Jim,
>>
>> On 02/04/2013 08:33 PM, Jim Kinney wrote:
>> > I'm trying to setup a way to restart a large group of windows vms on a
>> schedule. I'm getting a connection failure that seems related to the use of
>> https but I'm not sure.
>> >
>> > error: __init__() got an unexpected keyword argument 'source_address'
>>
>> This error is caused by running ovirt-sdk on a older version of python
>> (less then python27),
>> please upgrade your sdk/cli with one shipped in 3.2 (it's backward
>> compatible to 3.1).
>>
>> >
>> > I ran:
>> > ovirt-shell -A  -c
>> >
>> > and my .ovirtshellrc is:
>> >
>> > [ovirt-shell]
>> > username = "admin@internal"
>> > url = https://my.internal.url/api
>> > #insecure = False
>> > #filter = False
>> > #timeout = -1
>> > password = **
>> >
>> >
>> > I tried putting the ca_cert =  but that clearly was not
>> allowed in .ovirtshellrc
>>
>> not related, but supported in 3.2 cli.
>>
>> >
>> > ideas?
>> > --
>> > --
>> > James P. Kinney III
>> > 
>> > Every time you stop a school, you will have to build a jail. What
>> you gain at one end you lose at the other. It's like feeding a dog on his
>> own tail. It won't fatten
>> > the dog.
>> > - Speech 11/23/1900 Mark Twain
>> > 
>> > http://electjimkinne

Re: [Users] error using cli on ovirt 3.1

2013-02-06 Thread Jim Kinney
added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not
good) and did engine-upgrade.

Process choked at opening the CA cert and proceeded to "rollback". Didn't
actually roll back as 3.1 repo was disabled.

System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2
(wish I had done that first!).

Engine starts but fails to open CA to run gui. found following in log:

2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load
keystore from file "/etc/pki/ovirt-engine/.keystore". IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,826 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,827 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-16) Failed to decrypt value for property TruststorePass will be
used encrypted value
2013-02-05 14:02:40,829 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase]
(MSC service thread 1-16) Could not find enum value for option:
CertificatePassword
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
lengthTag=109, too big.
2013-02-05 14:02:40,830 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,831 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-16) Failed to decrypt value for property LocalAdminPassword will
be used encrypted value
2013-02-05 14:02:40,833 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Can't load keystore from file
"/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength():
lengthTag=109, too big.
2013-02-05 14:02:40,834 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-16) Failed to decrypt java.io.IOException:
DerInputStream.getLength(): lengthTag=109, too big.


On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak wrote:

>
> Hi Jim,
>
> On 02/04/2013 08:33 PM, Jim Kinney wrote:
> > I'm trying to setup a way to restart a large group of windows vms on a
> schedule. I'm getting a connection failure that seems related to the use of
> https but I'm not sure.
> >
> > error: __init__() got an unexpected keyword argument 'source_address'
>
> This error is caused by running ovirt-sdk on a older version of python
> (less then python27),
> please upgrade your sdk/cli with one shipped in 3.2 (it's backward
> compatible to 3.1).
>
> >
> > I ran:
> > ovirt-shell -A  -c
> >
> > and my .ovirtshellrc is:
> >
> > [ovirt-shell]
> > username = "admin@internal"
> > url = https://my.internal.url/api
> > #insecure = False
> > #filter = False
> > #timeout = -1
> > password = **
> >
> >
> > I tried putting the ca_cert =  but that clearly was not
> allowed in .ovirtshellrc
>
> not related, but supported in 3.2 cli.
>
> >
> > ideas?
> > --
> > --
> > James P. Kinney III
> > 
> > Every time you stop a school, you will have to build a jail. What
> you gain at one end you lose at the other. It's like feeding a dog on his
> own tail. It won't fatten
> > the dog.
> > - Speech 11/23/1900 Mark Twain
> > 
> > http://electjimkinney.org
> > http://heretothereideas.blogspot.com/
> > 
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] adding multiple interfaces with different networks

2013-02-06 Thread Kevin Maziere Aubry
Hi Mike


2013/2/6 Mike Kolesnik 

> --
>
> Hi
>
> Ovirt:  3.2
>
>
> I agree, I removed it on a DC that has no host and the option on the
> network tree is removed.
> But when I add host to the DC again, and edit their network interface, the
> ovirtgmgt is seen with the "vm" icon.
>
> This sounds like a result of the network not being in sync.
> Currently, the host is installed with a "VM" management network
> automatically (there is work to change that)
> If the network is defined as "non VM" on the data center level, you will
> still see it as a VM network in the "setup networks" command on the host.
>
> And the ovirtmgmt is configured has static, and I can't change that.
>
> This is because it's "unsynchronized".
>
>  Also the ovirtmgmt network is mark "unsynchronized", I don't know what it
> mean and how to fix it
> http://www.ovirt.org/SetupNetworks_SyncNetworks#How_to_Sync_Network.3F
>
> You need to select the "synchronize this network" checkbox in the "edit"
> dialog which you see the boot protocol on, it's at the bottom of the dialog.
>
> Ok on chrome the display is too small and the checkbox is hidden. .. it
works fine

>   
> Also I can't add a network to the host, I have no error message, but in
> events I can see
> Bridged network Internet is attached to multiple interfaces:  on
> Host node2.
> Host node1's following network(s) are not synchronized with their Logical
> Network configuration: ovirtmgmt.
> So I think that unsync network cause all my trouble.
>
> Indeed, except the possible bug in the error that states "", once
> you will synchronize the network this all will not be happening.
>
> Well it seems to be a bug, I can see this message for all the network I
try to add, even if I've deleted them from ovirt.
And configuration files from deleted networks are still present into the
node


>
> Kevin
>
>
> 2013/2/4 Mike Kolesnik 
>
>> --
>>
>> Hi
>>
>> Hi Kevin,
>>
>>
>> I've tested to uncheck the box "vm network" on ovirt 3.2 and there is an
>> error message saying that the interface must be remove on all hosts
>> (hypervisor) that are using it.
>> The VM network is separate from the admin network, so I sound like a bug
>> :(
>>
>> It isn't a bug, it is a check that is being made to make sure nothing
>> will "break" if you change a network's property (VM or not, the VLAN ID,
>> the MTU).
>> If you have a host that already has this network set-up on it, then it
>> will become unsynchronized with the logical definition of the network,
>> meaning that it might fail to run your VMs.
>>
>> This is why it states that in order to change any of these properties,
>> you need to remove the network from the host.
>>
>> If you want to change these properties on a management network, then the
>> data center that has this network mustn't have any hosts when you change
>> the properties.
>>
>> Regards,
>> Mike
>>
>>
>> Kevin
>>
>>
>> 2013/1/23 Mike Kolesnik 
>>
>>> --
>>>
>>> Hi
>>>
>>> I have exactly the same issue.
>>> This mean that a 1Gb (at least) interface must be dedicated to the
>>> ovirtmgmt interface, which is not a good idea.
>>>
>>> Can you please try marking the ovirtmgmt network as "non-vm" network,
>>> syncing it with the hosts, and then try to add VLAN networks on the same
>>> bond (or interface)?
>>>
>>> You should probably do this with latest versions of oVirt/VDSM.
>>>
>>>  Kevin
>>>
>>>
>>> 2012/12/26 Jonathan Horne 
>>>
   2012-12-26 16:48:56,416 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS method
 2012-12-26 16:48:56,417 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING and error
 message VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
 error = bonding 'bond2' is already member of network 'ovirtmgmt'
 2012-12-26 16:48:56,418 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--0.0.0.0-8009-8) [2d2d6184]
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
 VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =
 bonding 'bond2' is already member of network 'ovirtmgmt'
 2012-12-26 16:48:56,418 ERROR
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--0.0.0.0-8009-8)
 [2d2d6184] Command SetupNetworksVDS execution failed. Exception:
 RuntimeException:
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
 VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =
 bonding 'bond2' is already member of network 'ovirtmgmt'


  so im guessing… i can't have my vlan3204 or vlan3202 share an
 interface with ovirtmgmt?

  [root@d0lppc021 ~]# rpm -qa|grep ovirt
 ovirt-engi

[Users] oVirt at FOSDEM 2013

2013-02-06 Thread Federico Simoncelli
oVirt recently had a strong presence at FOSDEM 2013, 2nd-3rd of
February in Brussels. The amount of people attending FOSDEM has
been estimated in 5000+ "geeks" from all over the world and the
exposure that the oVirt project had there has been outstanding.

To read (and see) more about oVirt at FOSDEM 2013:

http://simon3z.blogspot.it/2013/02/ovirt-at-fosdem-2013.html

Thank you all and see you soon at the next event!
-- 
Federico
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Alexandre Santos
2013/2/6 Nicolas Ecarnot :
> Le 06/02/2013 09:26, Shahar Havivi a écrit :
>>
>> On 06.02.13 08:36, Nicolas Ecarnot wrote:
>>>
>>> Le 05/02/2013 21:47, Itamar Heim a écrit :

 you should be able to import as 'new' which will re-create all
 uuid's/mac/etc.
 otherwise, just edit the ovf.
 cc-ing moti to consider something better going forward
>>>
>>>
>>> Thank you to Shahar for your advice about the MAC address check.
>>> I tried that, restarted the engine, but i failed the same.
>>
>> That should work..., if not its a bug
>>>
>>>
>>> I also tried Itamar's advice but here is what's happening:
>>> - In the import windows, I select the VM, the system finds out the
>>> destination cluster and storage.
>>> - I then check the option "Clone All VMs" : the "suffix" option
>>>
>>> appears, pre-filled with "_Copy".
>>> - I already used it and it was working fine. This time, when
>>> validating with "OK", the "Suffix" field gets colored into yellow
>>> and I can not validate.
>>> - I tried to change its content to something else but it has no effect.
>>> - Of course, I already spent some times grepping the logs file
>>> searching for the MAC, but did not find anything obvious.
>>> - When the yellow border appears, nothing special is showing in the logs.
>>>
>>> So here, oVirt is trying to tell me something, but what?
>>
>> This is probably UI validation that failed to present the text.
>> Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not in
>> use.
>
>
> I already tried that, with no benefit.
>
> I spent some more time on that and here what I found :
>
> * 1 *
> When trying to import a VM by cloning it and using a suffix (whatever
> suffix), I get NO error in log (neither on the manager, nor in the nodes),
> but I'm stuck with the yellow border around the suffix field, and no way to
> validate my choice.
>
> * 2 *
> I succeed in importing directly the VM by NOT checking the "Clone All VMs"
> box, and by checking the "Collapse All snapshots" box. Indeed, I found in
> engine.log an error about snapshots, an INSERT was tried into the database
> with a broken constrain key and a '00..blah.blah.blah'
> snapshot reference.
> Checking this box allowed a correct import of the VM.
>
> Conclusion :
> - Point 1 : I consider it would be nice to inform the user about what's
> wrong, at least in the log files
> - Point 2 : When not checking to collapse snapshot box, the import is
> failing with an error speaking about a duplicated MAC address.
> This is wrong.
>
> Thank you to Shahar, Itamar and Alex who answered.
>
>
> --
> Nicolas Ecarnot
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Hi again,
I simply looked on every VM listed on the UI for that MAC, not
directly on the database. That was how I discovered that the MAC was
changed when moving it to the export storage,

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to import KVM machines into oVirt iSCSI

2013-02-06 Thread Itamar Heim

On 05/02/2013 17:45, Nicolas Ecarnot wrote:

Le 04/02/2013 16:17, Nicolas Ecarnot a écrit :

Now, the problem comes with migrating windows vmachines. I read here
at 3.3.1.2 :
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/V2V_Guide/sect-RHEV_Converting_a_Virtual_Machine.html#sect-Preparing_to_Convert_a_Virtual_Machine




that I had to install three things, more or less optional : -
virtio-win (this one seems mandatory, as I'm getting the error :
virt-v2v: blah blah blah missing :
/usr/share/virtio-win/drivers/i386/WinXP or whatever windows OS - I
tried many) - libguestfs-winsupport (I don't know whether it is
mandatory, as I'm hitting the bug above.It seems important as it
seems related to the file system, so quite useful) - Guest Tools ISO
(this one seems to be similar to VmWare tools, if I understood it
well), so I don't know if it's an improvement only, neither where to
find it for oVirt and Fedora.

Regards,


Hu ho, I think I hit this bug :

http://thr3ads.net/libguestfs/2011/11/1623975-Virtio-win-RPM
and
http://thr3ads.net/libguestfs/2011/11/1624040-Windows-P2V-migration-temporary-recipe


I have a RHN account, so I was able to download the missing virtio-win
rpm and install it on F17 (seemless).
Import is now working for windows guest, though some more errors are to
be treated manually (eth virtio errors), but harmless.



how about wiki-fying this thread for others?

Thanks,
   Itamar
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] adding multiple interfaces with different networks

2013-02-06 Thread Mike Kolesnik
- Original Message -

> Hi

> Ovirt: 3.2

> I agree, I removed it on a DC that has no host and the option on the
> network tree is removed.
> But when I add host to the DC again, and edit their network
> interface, the ovirtgmgt is seen with the "vm" icon.
This sounds like a result of the network not being in sync. 
Currently, the host is installed with a "VM" management network automatically 
(there is work to change that) 
If the network is defined as "non VM" on the data center level, you will still 
see it as a VM network in the "setup networks" command on the host. 

> And the ovirtmgmt is configured has static, and I can't change that.
This is because it's "unsynchronized". 

> Also the ovirtmgmt network is mark "unsynchronized", I don't know
> what it mean and how to fix it
> http://www.ovirt.org/SetupNetworks_SyncNetworks#How_to_Sync_Network.3F
You need to select the "synchronize this network" checkbox in the "edit" dialog 
which you see the boot protocol on, it's at the bottom of the dialog. 

> Also I can't add a network to the host, I have no error message, but
> in events I can see
> Bridged network Internet is attached to multiple interfaces:
>  on Host node2.

> Host node1's following network(s) are not synchronized with their
> Logical Network configuration: ovirtmgmt.

> So I think that unsync network cause all my trouble.
Indeed, except the possible bug in the error that states "", once you 
will synchronize the network this all will not be happening. 

> Kevin

> 2013/2/4 Mike Kolesnik < mkole...@redhat.com >

> > > Hi
> > 
> 
> > Hi Kevin,
> 

> > > I've tested to uncheck the box "vm network" on ovirt 3.2 and
> > > there
> > > is
> > > an error message saying that the interface must be remove on all
> > > hosts (hypervisor) that are using it.
> > 
> 
> > > The VM network is separate from the admin network, so I sound
> > > like
> > > a
> > > bug :(
> > 
> 
> > It isn't a bug, it is a check that is being made to make sure
> > nothing
> > will "break" if you change a network's property (VM or not, the
> > VLAN
> > ID, the MTU).
> 
> > If you have a host that already has this network set-up on it, then
> > it will become unsynchronized with the logical definition of the
> > network, meaning that it might fail to run your VMs.
> 

> > This is why it states that in order to change any of these
> > properties, you need to remove the network from the host.
> 

> > If you want to change these properties on a management network,
> > then
> > the data center that has this network mustn't have any hosts when
> > you change the properties.
> 

> > Regards,
> 
> > Mike
> 

> > > Kevin
> > 
> 

> > > 2013/1/23 Mike Kolesnik < mkole...@redhat.com >
> > 
> 

> > > > > Hi
> > > > 
> > > 
> > 
> 

> > > > > I have exactly the same issue.
> > > > 
> > > 
> > 
> 
> > > > > This mean that a 1Gb (at least) interface must be dedicated
> > > > > to
> > > > > the
> > > > > ovirtmgmt interface, which is not a good idea.
> > > > 
> > > 
> > 
> 

> > > > Can you please try marking the ovirtmgmt network as "non-vm"
> > > > network,
> > > > syncing it with the hosts, and then try to add VLAN networks on
> > > > the
> > > > same bond (or interface)?
> > > 
> > 
> 

> > > > You should probably do this with latest versions of oVirt/VDSM.
> > > 
> > 
> 

> > > > > Kevin
> > > > 
> > > 
> > 
> 

> > > > > 2012/12/26 Jonathan Horne < jho...@skopos.us >
> > > > 
> > > 
> > 
> 

> > > > > > 2012-12-26 16:48:56,416 ERROR
> > > > > > [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
> > > > > > (ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS
> > > > > > method
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 2012-12-26 16:48:56,417 ERROR
> > > > > > [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
> > > > > > (ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING
> > > > > > and
> > > > > > error message VDSGenericException: VDSErrorException:
> > > > > > Failed
> > > > > > to
> > > > > > SetupNetworksVDS, error = bonding 'bond2' is already member
> > > > > > of
> > > > > > network 'ovirtmgmt'
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 2012-12-26 16:48:56,418 ERROR
> > > > > > [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
> > > > > > (ajp--0.0.0.0-8009-8) [2d2d6184]
> > > > > > org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> > > > > > VDSGenericException: VDSErrorException: Failed to
> > > > > > SetupNetworksVDS,
> > > > > > error = bonding 'bond2' is already member of network
> > > > > > 'ovirtmgmt'
> > > > > 
> > > > 
> > > 
> > 
> 
> > > > > > 2012-12-26 16:48:56,418 ERROR
> > > > > > [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
> > > > > > (ajp--0.0.0.0-8009-8) [2d2d6184] Command SetupNetworksVDS
> > > > > > execution
> > > > > > failed. Exception: RuntimeException:
> > > > > > org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> > > > > > VDSGenericException: VDSErrorException: Failed to
> > > > > > SetupNetworksVDS,
> > > > >

Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Nicolas Ecarnot

Le 06/02/2013 09:26, Shahar Havivi a écrit :

On 06.02.13 08:36, Nicolas Ecarnot wrote:

Le 05/02/2013 21:47, Itamar Heim a écrit :

you should be able to import as 'new' which will re-create all
uuid's/mac/etc.
otherwise, just edit the ovf.
cc-ing moti to consider something better going forward


Thank you to Shahar for your advice about the MAC address check.
I tried that, restarted the engine, but i failed the same.

That should work..., if not its a bug


I also tried Itamar's advice but here is what's happening:
- In the import windows, I select the VM, the system finds out the
destination cluster and storage.
- I then check the option "Clone All VMs" : the "suffix" option
appears, pre-filled with "_Copy".
- I already used it and it was working fine. This time, when
validating with "OK", the "Suffix" field gets colored into yellow
and I can not validate.
- I tried to change its content to something else but it has no effect.
- Of course, I already spent some times grepping the logs file
searching for the MAC, but did not find anything obvious.
- When the yellow border appears, nothing special is showing in the logs.

So here, oVirt is trying to tell me something, but what?

This is probably UI validation that failed to present the text.
Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not in use.


I already tried that, with no benefit.

I spent some more time on that and here what I found :

* 1 *
When trying to import a VM by cloning it and using a suffix (whatever 
suffix), I get NO error in log (neither on the manager, nor in the 
nodes), but I'm stuck with the yellow border around the suffix field, 
and no way to validate my choice.


* 2 *
I succeed in importing directly the VM by NOT checking the "Clone All 
VMs" box, and by checking the "Collapse All snapshots" box. Indeed, I 
found in engine.log an error about snapshots, an INSERT was tried into 
the database with a broken constrain key and a 
'00..blah.blah.blah' snapshot reference.

Checking this box allowed a correct import of the VM.

Conclusion :
- Point 1 : I consider it would be nice to inform the user about what's 
wrong, at least in the log files
- Point 2 : When not checking to collapse snapshot box, the import is 
failing with an error speaking about a duplicated MAC address.

This is wrong.

Thank you to Shahar, Itamar and Alex who answered.

--
Nicolas Ecarnot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Mike Kolesnik
- Original Message -
> 2013/2/6 Shahar Havivi :
> > On 06.02.13 08:36, Nicolas Ecarnot wrote:
> >> Le 05/02/2013 21:47, Itamar Heim a écrit :
> >> >you should be able to import as 'new' which will re-create all
> >> >uuid's/mac/etc.
> >> >otherwise, just edit the ovf.
> >> >cc-ing moti to consider something better going forward
> >>
> >> Thank you to Shahar for your advice about the MAC address check.
> >> I tried that, restarted the engine, but i failed the same.
> > That should work..., if not its a bug
> >>
> >> I also tried Itamar's advice but here is what's happening:
> >> - In the import windows, I select the VM, the system finds out the
> >> destination cluster and storage.
> >> - I then chekc the option "Clone All VMs" : the "suffix" option
> >> appears, pre-filled with "_Copy".
> >> - I already used it and it was working fine. This time, when
> >> validating with "OK", the "Suffix" field gets colored into yellow
> >> and I can not validate.
> >> - I tried to change its content to something else but it has no
> >> effect.
> >> - Of course, I already spent some times grepping the logs file
> >> searching for the MAC, but did not find anything obvious.
> >> - When the yellow border appears, nothing special is showing in
> >> the logs.
> >>
> >> So here, oVirt is trying to tell me something, but what?
> > This is probably UI validation that failed to present the text.
> > Try to rename the xxx_Copy to xxx_Copy2 or any other name that is
> > not in use.
> >>
> >> --
> >> Nicolas Ecarnot
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> Hi,
> I'm getting also this "error" about duplicate MAC. I quoted error
> because I searched for this MAC on all my VMs and did not find
> another
> MAC being the same. What I've seen is that if the original MAC ends
> with :01, the new one (clone) has a MAC that ends with :02.
> I then start this new cloned VM and it works fine - after changing
> the
> MAC value on the network config files on the VM's SO.

How did you search for the MAC?
Perhaps there's some bug hidden here that the MAC is listed in the DB but you 
can't see it.

In such a case you can try to query the DB directly with this SQL:
select * from vm_interface where mac_addr = 'YOUR_MAC';

Of course you need to put your MAC, and then see if it returns anything.

In respect to the situation, I have started a thread on engine-de...@ovirt.org 
for the devs to decide how to handle this situation in a more graceful way: 
http://lists.ovirt.org/pipermail/engine-devel/2013-February/003665.html

> 
> Alex
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Alexandre Santos
2013/2/6 Shahar Havivi :
> On 06.02.13 08:36, Nicolas Ecarnot wrote:
>> Le 05/02/2013 21:47, Itamar Heim a écrit :
>> >you should be able to import as 'new' which will re-create all
>> >uuid's/mac/etc.
>> >otherwise, just edit the ovf.
>> >cc-ing moti to consider something better going forward
>>
>> Thank you to Shahar for your advice about the MAC address check.
>> I tried that, restarted the engine, but i failed the same.
> That should work..., if not its a bug
>>
>> I also tried Itamar's advice but here is what's happening:
>> - In the import windows, I select the VM, the system finds out the
>> destination cluster and storage.
>> - I then chekc the option "Clone All VMs" : the "suffix" option
>> appears, pre-filled with "_Copy".
>> - I already used it and it was working fine. This time, when
>> validating with "OK", the "Suffix" field gets colored into yellow
>> and I can not validate.
>> - I tried to change its content to something else but it has no effect.
>> - Of course, I already spent some times grepping the logs file
>> searching for the MAC, but did not find anything obvious.
>> - When the yellow border appears, nothing special is showing in the logs.
>>
>> So here, oVirt is trying to tell me something, but what?
> This is probably UI validation that failed to present the text.
> Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not in use.
>>
>> --
>> Nicolas Ecarnot
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Hi,
I'm getting also this "error" about duplicate MAC. I quoted error
because I searched for this MAC on all my VMs and did not find another
MAC being the same. What I've seen is that if the original MAC ends
with :01, the new one (clone) has a MAC that ends with :02.
I then start this new cloned VM and it works fine - after changing the
MAC value on the network config files on the VM's SO.

Alex
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Ovirt Node Automated Installation... full unattended installation?

2013-02-06 Thread Fabian Deutsch
Am Dienstag, den 05.02.2013, 16:02 -0800 schrieb No Reply:
> No comments?  J  This has to be an important feature of oVirt no?

Hey,

does it basically work - e.g. when booting from USB - when you add the
BOOTIF=eth0 storage_init parameters?

So using a device name instead of a mac address?

Greetings
fabian

> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
> Behalf Of No Reply
> Sent: Saturday, February 02, 2013 20:30
> To: users@ovirt.org
> Subject: Re: [Users] Ovirt Node Automated Installation... full
> unattended installation?
> 
> 
>  
> 
> The plot thickens…  I removed BOOTIF and used IPAPPEND 2 directive
> which per the documentation does automatic append of BOOTIF parameter
> using the MAC of the adapter that PXE used, and received the
> DHCPOFFER… then the automated installation worked as the documentation
> suggests.  Does this make sense, or is this some type of odd quirk or
> bug?
> 
>  
> 
> Does not work… (FF:FF:FF:FF:FF:FF is not the real MAC used, just
> redacted the real MAC)…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
> storage_init=/dev/sda BOOTIF=
> 
>  
> 
> Works…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> IPAPPEND 2
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
> storage_init=/dev/sda
> 
>  
> 
>  
> 
>  
> 
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
> Behalf Of Schorschi
> Sent: Saturday, February 02, 2013 20:07
> To: users@ovirt.org
> Subject: [Users] Ovirt Node Automated Installation... full unattended
> installation?
> 
> 
>  
> 
> Ok, reading the RHEV-H node automated installation, given the oVirt
> documentation states the same automated installation parameters are
> supported, I can’t see to resolve one key issue…
> 
>  
> 
> First boot  of PXE configuration does an ‘uninstall’ to ensure no past
> installation of oVirt node exists… this works 100% unattended.
> However using install or reinstall or local_boot (a.k.a. upgrade) or
> even firstboot option, and even no option, on the APPEND command line
> via PXE, the automated installation stops.  Waiting for interactive
> response?  Is this the expected behavior?  Even just using
> init_storage and BOOTIF, the only two required parameters, the
> automated process stops for interactive input?  So how do you do a
> completely automated installation with zero human interactive action
> required?
> 
>  
> 
> Uninstall…  This works as expected…
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M
> elevator=deadline uninstall
> 
>  
> 
> Install…  This does not work as expected, per how the documentation
> implies it should?
> 
>  
> 
> KERNEL images/oVirt/2.5.5-0.1/vmlinuz0
> 
> APPEND rootflags=loop initrd=images/oVirt/2.5.5-0.1/initrd0.img
> root=live:/ovirt-node-iso-2.5.5-0.1.fc17.iso rootfstype=auto ro
> liveimg check rootflags=ro crashkernel=512M-2G:64M,2G-:128M
> elevator=deadline rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
> storage_init=/dev/sda BOOTIF=
> 
>  
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



signature.asc
Description: This is a digitally signed message part
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta and IPA domain question

2013-02-06 Thread Yair Zaslavsky
I'll file a bug for this.
There is another issue here -
-addPermissions can be used at action=edit, but if not provided during 
action=edit for domain I already added permissions for I get the print of -

The domain example.com has been added to the engine as an authentication source 
but no users from that domain have been granted permissions

Which is incorrect in this case.


- Original Message -
> From: "Tim Hildred" 
> To: "Yair Zaslavsky" 
> Cc: "users" , "Gianluca Cecchi" 
> Sent: Tuesday, February 5, 2013 3:25:18 AM
> Subject: Re: [Users] 3.2 beta and IPA domain question
> 
> > After "Users from this domain can be granted permissions from the
> > Web
> > administration interface." Maybe we should add "or the domain
> > should
> > be added/editted with the -addPermissions option".
> > 
> > What do you think?
> 
> I think that, by the time this message is shown, the domain has been
> added. No point in telling about how the domain _could_ have been
> added. Something like
> "Users from this domain can be granted permissions from the Web
> administration interface, or by passing the -addPermissions flag to
> engine-manage-domains."
> 
> 
> Tim Hildred, RHCE
> Content Author II - Engineering Content Services, Red Hat, Inc.
> Brisbane, Australia
> Email: thild...@redhat.com
> Internal: 8588287
> Mobile: +61 4 666 25242
> IRC: thildred
> 
> - Original Message -
> > From: "Yair Zaslavsky" 
> > To: "Gianluca Cecchi" 
> > Cc: "users" 
> > Sent: Sunday, February 3, 2013 4:13:58 PM
> > Subject: Re: [Users] 3.2 beta and IPA domain question
> > 
> > A question about this -
> > Do you think the message printed to the user (after the domain is
> > added without -addPermissions) should be extended and have addition
> > line like
> > 
> > After "Users from this domain can be granted permissions from the
> > Web
> > administration interface." Maybe we should add "or the domain
> > should
> > be added/editted with the -addPermissions option".
> > 
> > What do you think?
> > 
> > 
> > - Original Message -
> > > From: "Gianluca Cecchi" 
> > > To: "users" 
> > > Sent: Saturday, February 2, 2013 1:22:15 AM
> > > Subject: [Users] 3.2 beta and IPA domain question
> > > 
> > > Hello,
> > > I seem to remember in RHEV 3.0 that when you configured an IPA
> > > domain,
> > > its admin was automatically configured as an admin for RHEV
> > > itself.
> > > Is it true and in case does remain true for oVirt?
> > > 
> > > I configured IPA as shipped on CentOS 6.3+updates
> > > ipa-server-2.2.0-17.el6_3.1.x86_64
> > > 
> > > I successfully added it to y oVirt 3.2 beta setup
> > > 
> > > [root@f18engine ~]# engine-manage-domains -action=add
> > > -domain=LOCALDOMAIN.LOCAL -user=admin -provider=IPA -interactive
> > > Enter password:
> > > 
> > > The domain localdomain.local has been added to the engine as an
> > > authentication source but no users from that domain have been
> > > granted
> > > permissions within the oVirt Manager.
> > > Users from this domain can be granted permissions from the Web
> > > administration interface.
> > > oVirt Engine restart is required in order for the changes to take
> > > place (service ovirt-engine restart).
> > > Manage Domains completed successfully
> > > 
> > > Then
> > > [root@f18engine ~]# systemctl try-restart ovirt-engine.service
> > > [root@f18engine ~]# systemctl status ovirt-engine.service
> > > ovirt-engine.service - oVirt Engine
> > >  Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service;
> > >  enabled)
> > >  Active: active (running) since Sat 2013-02-02 00:10:29 CET; 10s
> > >  ago
> > > Process: 32512 ExecStop=/usr/bin/engine-service stop
> > > (code=exited,
> > > status=0/SUCCESS)
> > > Process: 32520 ExecStart=/usr/bin/engine-service start
> > > (code=exited,
> > > status=0/SUCCESS)
> > > Main PID: 32521 (java)
> > >  CGroup: name=systemd:/system/ovirt-engine.service
> > >  └─32521 engine-service -server -XX:+TieredCompilation -Xms1g
> > >  -Xmx1g
> > > -XX:PermSize=256m -XX:MaxPe...
> > > 
> > > Feb 02 00:10:28 f18engine.localdomain.local systemd[1]: Starting
> > > oVirt Engine...
> > > Feb 02 00:10:29 f18engine.localdomain.local
> > > engine-service[32520]:
> > > Started engine process 32521.
> > > Feb 02 00:10:29 f18engine.localdomain.local
> > > engine-service[32520]:
> > > Starting engine-service: [  OK  ]
> > > Feb 02 00:10:29 f18engine.localdomain.local systemd[1]: Started
> > > oVirt
> > > Engine.
> > > 
> > > 
> > > Now from web admin portal I can choose the "localdomain.local"
> > > domain
> > > in drop down menu.
> > > But when I try to enter the webadmin portal I get:
> > > 
> > > User is not authorized to perform this action.
> > > 
> > > 
> > > Do I need to grant IPA admin user from internal admin before, or
> > > should it just work?
> > > 
> > > Gianluca
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> > _

Re: [Users] MAC in use when importing/cloning a VM

2013-02-06 Thread Shahar Havivi
On 06.02.13 08:36, Nicolas Ecarnot wrote:
> Le 05/02/2013 21:47, Itamar Heim a écrit :
> >you should be able to import as 'new' which will re-create all
> >uuid's/mac/etc.
> >otherwise, just edit the ovf.
> >cc-ing moti to consider something better going forward
> 
> Thank you to Shahar for your advice about the MAC address check.
> I tried that, restarted the engine, but i failed the same.
That should work..., if not its a bug
> 
> I also tried Itamar's advice but here is what's happening:
> - In the import windows, I select the VM, the system finds out the
> destination cluster and storage.
> - I then chekc the option "Clone All VMs" : the "suffix" option
> appears, pre-filled with "_Copy".
> - I already used it and it was working fine. This time, when
> validating with "OK", the "Suffix" field gets colored into yellow
> and I can not validate.
> - I tried to change its content to something else but it has no effect.
> - Of course, I already spent some times grepping the logs file
> searching for the MAC, but did not find anything obvious.
> - When the yellow border appears, nothing special is showing in the logs.
> 
> So here, oVirt is trying to tell me something, but what?
This is probably UI validation that failed to present the text.
Try to rename the xxx_Copy to xxx_Copy2 or any other name that is not in use.
> 
> -- 
> Nicolas Ecarnot
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] set host status up from backend?

2013-02-06 Thread Juan Jose
Hello Jithin,

I have had this "Job canceled problem" when wdsmd service start. I solved
this problem deleting the folder "/var/lib/vdsm/netconfback". Try this,
please.

http://lists.ovirt.org/pipermail/users/2012-August/003507.html

Bye,

Juanjo.

On Wed, Feb 6, 2013 at 6:27 AM, Jithin Raju  wrote:

> Hi,
>
> When I am trying to start vdsmd it looks like vdsmd is stopping network
> and server goes unreachable.
>
> /varl/log/messages:
>
> Feb  6 10:37:21 blueberry systemd-vdsmd[13246]: vdsm: libvirt already
> configured for vdsm [  OK  ]
> Feb  6 10:37:21 blueberry systemd-vdsmd[13246]: Starting iscsid:
> Feb  6 10:37:21 blueberry systemd-vdsmd[13246]: Starting libvirtd (via
> systemctl):  [  OK  ]
> Feb  6 10:37:21 blueberry systemd-vdsmd[13246]: Stopping network (via
> systemctl):
>
> Thanks,
> Jithin
>
>
> On Wed, Feb 6, 2013 at 10:19 AM, Jithin Raju  wrote:
>
>> Hi Omer,
>>
>> communication looks fine (ping).
>>
>> vdsmd is not runnng.
>>
>> [root@blueberry ~]# service vdsmd status
>> Redirecting to /bin/systemctl status  vdsmd.service
>> vdsmd.service - Virtual Desktop Server Manager
>>   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>>   Active: inactive (dead) since Wed, 06 Feb 2013 08:40:18 +0530;
>> 1min 52
>>  s ago
>>  Process: 10138 ExecStart=/lib/systemd/systemd-vdsmd start
>> (code=killed,
>> signal=TERM)
>>   CGroup: name=systemd:/system/vdsmd.service
>>
>> Feb 06 08:40:17 blueberry systemd-vdsmd[10138]: Note: Forwarding request
>> to 
>> Feb 06 08:40:17 blueberry systemd-vdsmd[10138]: vdsm: libvirt already
>> config...]
>> Feb 06 08:40:18 blueberry systemd-vdsmd[10138]: Starting iscsid:
>> Feb 06 08:40:18 blueberry systemd-vdsmd[10138]: Starting libvirtd (via
>> syste...]
>>
>> Vdsmd  fails to start.
>>
>> [root@blueberry ~]# service vdsmd restart
>> Redirecting to /bin/systemctl restart  vdsmd.service
>> Job canceled.
>>
>> Thanks,
>> Jithin
>>
>>
>> On Tue, Feb 5, 2013 at 9:39 PM, Omer Frenkel  wrote:
>>
>>>
>>>
>>> --
>>>
>>> *From: *"Jithin Raju" 
>>> *To: *"René Koch (ovido)" 
>>> *Cc: *users@ovirt.org
>>> *Sent: *Tuesday, February 5, 2013 3:27:44 PM
>>> *Subject: *Re: [Users] set host status up from backend?
>>>
>>>
>>> Hi Rene,
>>>
>>> Activate option is grey'ed out.
>>>
>>> Thanks,
>>> Jithin
>>>
>>>
>>> On Tue, Feb 5, 2013 at 6:51 PM, René Koch (ovido) wrote:
>>>
 Hi,

 What happens when you try to activate your host?
 Is there an error message?


 Regards,
 René



 On Tue, 2013-02-05 at 18:45 +0530, Jithin Raju wrote:
 > Hi Karli,
 >
 >
 > I got the below error after trying "Host Tab > Right click host >
 > "Confirm 'Host has been rebooted'" Error while executing
 > action: Cannot confirm 'Host has been rebooted' Host. There is no
 > active Host in the Data Center.
 >
 >
 > Thanks,
 > Jithin
 >
 >
 > On Tue, Feb 5, 2013 at 6:40 PM, Karli Sjöberg 
 > wrote:
 > tis 2013-02-05 klockan 18:32 +0530 skrev Jithin Raju:
 > > Hi ,
 > >
 > >
 > > Is there a way to set the host status up in ovirt through
 > > backend, some value in DB.
 > >
 > >
 > > My server went unreachable for a while and its reachable
 > > now, but ovirt web UI still showa it as Non Responsive.

>>>
>>> if the host is in 'non responsive' status - please check engine can
>>> communicate with this host (ping?)
>>> and please check vdsm service is running properly there
>>> (run on the host:
>>> vdsClient 0 getVdsCapabilities
>>>
>>> )
>>>
>>>  > Host Tab > Right click host > "Confirm 'Host has been
 > rebooted'"?
 >
 > /Karli
 >
 > >
 > >
 > > Thanks,
 > > Jithin
 >
 >
 >
 >
 > ___
 > Users mailing list
 > Users@ovirt.org
 > http://lists.ovirt.org/mailman/listinfo/users


>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users