Re: [Users] Joss fails to start ... Keystore was tampered.

2012-04-24 Thread Doron Fediuck
Please explain from source-
- Did you run maven using dep and started JBoss?
or
- Did you create RPM's and used yum install?

On 23/04/12 22:28, Sharad Mishra wrote:
 
 Quoting Doron Fediuck dfedi...@redhat.com:
 
 Thanks.
 Unfortunately the keystore is the most important file in the PKI
 area. Please try to recall your actions, and try to look for the
 keystore in case you moved / change folders or anything alike.

 Currently, the only valid solution for a lost keystore is re-installation.
 
 I reinstalled ovirt-engine from source on a fresh rhel6.2 machine. I still do 
 not see .keystore in /etc/pki/ovirt-engine. Now I get FileNotFoundException 
 but engine is running.
 
 2012-04-23 11:21:14,900 ERROR 
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
 thread 1-15) Failed to decryptjava.io.FileNotFoundException: .keystore (No 
 such file or directory)
 2012-04-23 11:21:14,900 ERROR 
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
 thread 1-15) Failed to decrypt value for property AdminPassword will be used 
 encrypted value
 2012-04-23 11:21:14,902 INFO  [org.ovirt.engine.core.bll.Backend] (MSC 
 service thread 1-15) VDSBrokerFrontend: 4/23/12 11:21 AM
 
 -Sharad Mishra
 

 On 19/04/12 22:40, snmis...@linux.vnet.ibm.com wrote:

 Quoting Doron Fediuck dfedi...@redhat.com:

 Please check again using ls -la on that folder.

 Yes, I did run ls -la :-)

 -Sharad Mishra


 Sent from my Android phone. Please ignore typos.

 -Original Message-
 From: snmis...@linux.vnet.ibm.com
 Received: Thursday, 19 Apr 2012, 20:38
 To: Ofer Schreiber [oschr...@redhat.com]
 CC: users@ovirt.org
 Subject: Re: [Users] Joss fails to start ... Keystore was tampered.


 Quoting Ofer Schreiber oschr...@redhat.com:

 I'm trying to understand few things:
 1. Did you used RPM for deployment?

 No, it was from source. (git clone)

 2. Was it an UPGRADE for the engine?

 yes, I updated the source which was about a month old.

 3. Do you have /etc/pki/ovirt-engine/.keystore available? did it
 changed recently?

 There is no .keystore in /etc/pki/ovirt-engine. But rest of the files
 in this directory were modified on 4/17 (certs, keys, private,
 requests). I was playing with kerberos for ldap on 17th so it is
 possible that I did something that messed up the server, and it was
 just coincidental that I upgraded the source next day and ran into
 this issue.

 Any help on how I can get out of it?

 -Sharad Mishra

 Ofer.

 - Original Message -

 I had jboss running on my rhel6.2 machine. This morning I fetched
 latest engine source, built and deployed it. I did not see any
 errors.
 But now when I start jboss-as service I see following errors in
 engine.log -

 2012-04-18 13:57:48,051 INFO  [org.ovirt.engine.core.bll.Backend]
 (MSC
 service thread 1-5) Start time: 4/18/12 1:57 PM
 2012-04-18 13:57:48,204 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
 service thread 1-5) Failed to decryptjava.io.IOException: Keystore
 was
 tampered with, or password was incorrect
 2012-04-18 13:57:48,204 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
 service thread 1-5) Failed to decrypt value for property
 LocalAdminPassword will be used encrypted value
 2012-04-18 13:57:48,209 WARN
 [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
 1-5)
 Could not find enum value for option: NetConsolePort
 2012-04-18 13:57:48,212 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
 service thread 1-5) Failed to decryptjava.io.IOException: Keystore
 was
 tampered with, or password was incorrect
 2012-04-18 13:57:48,212 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
 service thread 1-5) Failed to decrypt value for property
 CertificatePassword will be used encrypted value
 2012-04-18 13:57:48,214 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
 service thread 1-5) Failed to decryptjava.io.IOException: Keystore
 was
 tampered with, or password was incorrect

 Regards,
 Sharad Mishra
 IBM

 ___
 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


 Sent from my Android phone. Please ignore typos.



 
 
 

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


Re: [Users] Planning oVirt Workshops

2012-04-24 Thread Doron Fediuck
On 24/04/12 03:18, Mike Burns wrote:
 On Mon, 2012-04-23 at 16:42 -0700, Leslie Hawthorn wrote:
 (N.B.: This message was copied to users@ovirt.org but I am not clear if 
 my subscription was approved. If you happen to note that this message 
 did not get to that list, let me know.)

 Hello everyone,

 I am a new(ish) hire at Red Hat working on Carl Trieloff's team. I will 
 be attending tomorrow's oVirt IRC meeting to provide an update on 
 upcoming oVirt workshops, but in the interim wanted to circulate a 
 proposed agenda.
 
 I'm adding this to our agenda for tomorrow.
 

 Please note that we're planning one day workshops at LinuxCon Japan, 
 North America and Europe, as well as a 2 day workshop at NetApp HQ in 
 California (target date 8 and 9th August 2012). As we're discussing 
 workshop agendas for the one day events, it would be good to have an 
 idea of what we'd like to present given the additional day.

 Here is a *very* preliminary agenda:

 - intro  arch
 - engine, vdsm deep dives
 - storage roadmap/discussion
 - network roadmap/discussion

 Open Questions:
 1) What other topics should be covered during the workshop?
 
 oVirt Node is a core piece of oVirt.  It may be wise to add it as a
 topic to cover, though who would present is a question.  If it's
 something that we want to cover, then I'll need to request travel budget
 for someone to attend.
 
+1 on the importance of ovirt-node.
Not going into the traveling logistics, I think every proper presentation
of oVirt projects should include an ovirt-node session.

 2) Who would like to volunteer to be an instructor?

 Cheers,
 LH

 
 
 ___
 Arch mailing list
 a...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/arch

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


Re: [Users] error in multipath.py

2012-04-24 Thread Federico Simoncelli
Could you check if this fixes your problem?

http://gerrit.ovirt.org/3863

Thanks,
-- 
Federico

- Original Message -
 From: ov...@qip.ru
 To: users@ovirt.org
 Sent: Tuesday, April 24, 2012 8:54:58 AM
 Subject: [Users] error in multipath.py
 
 
 i tried the latest releases of vdsm from jenkins . ovirt .org, but
 found that they did'n work. V dsm d cycles and corrupted my
 multipath . conf .
 
 error is in
 
 / usr /share/ vdsm /storage/ multipath .py
 
 this is the diff with my py
 
 # diff multipath .py.bad multipath .py
 88,89c88,89
  first = mpath conf [0]
  second = mpath conf [1]
 ---
  first = mpath conf .split('\n', 1)[0]
  second = mpath conf .split('\n', 1)[1]
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Bug Opened : Problem in running a VM that has boot order of : CD , DISK

2012-04-24 Thread Eli Mesika

Bug was opened , we will resolve that ASAP and notify you.

https://bugzilla.redhat.com/show_bug.cgi?id=815808


Thanks

Eli Mesika

Redhat ISRAEL

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


[Users] can't get VM working (no ISO images, no Console)

2012-04-24 Thread Frank Wall
Hi,

I've setup a test instance of ovirt like this...

- setup ovirt engine on Fedora 16 using yum 
(ovirt-engine-3.0.0_0001-1.6.fc16.x86_64)
- setup ovirt node ovirt-node1 using the ISO image 
ovirt-node-iso-2.3.0-1.0.fc16.iso
- created a new datacenter with NFS storage (datacenter2)
- created a new cluster (cluster2)
- added ovirt node ovirt-node1 to cluster cluster2
- created an NFS storage for virtual machines (nfs_storage1)
- created an NFS storage for ISO images (iso_images1)
- created a new VM on cluster2 with disk space provided by nfs_storage1

...but I fail to get any VM working. First of all, I've uploaded an ISO image 
with
the iso-uploader. I can verify that it was uploaded successfully:

[root@ovirt-engine ~]# engine-iso-uploader -v -i iso_images1 upload 
FreeBSD-8.2-RELEASE-amd64-disc1.iso
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
DEBUG: URL is 
https://ovirt-engine.EXAMPLE.COM:8443/api/storagedomains?search=name%3Diso_images1
DEBUG: Returned XML is
?xml version=1.0 encoding=UTF-8 standalone=yes?
storage_domains
storage_domain 
href=/api/storagedomains/b2d11688-84ce-40ef-b10f-f036ac806cf9 
id=b2d11688-84ce-40ef-b10f-f036ac806cf9
nameiso_images1/name
link 
href=/api/storagedomains/b2d11688-84ce-40ef-b10f-f036ac806cf9/permissions 
rel=permissions/
link 
href=/api/storagedomains/b2d11688-84ce-40ef-b10f-f036ac806cf9/files 
rel=files/
typeiso/type
masterfalse/master
storage
typenfs/type
address192.168.200.108/address
path/mnt/iso1/path
/storage
available15032385536/available
used3221225472/used
committed0/committed
storage_formatv1/storage_format
/storage_domain
/storage_domains

DEBUG: id=b2d11688-84ce-40ef-b10f-f036ac806cf9 address=192.168.200.108 
path=/mnt/iso1
DEBUG: local NFS mount point is /tmp/tmpxG6M3H
DEBUG: NFS mount command (/bin/mount -t nfs -o rw,sync,soft 
192.168.200.108:/mnt/iso1 /tmp/tmpxG6M3H)
DEBUG: /bin/mount -t nfs -o rw,sync,soft 192.168.200.108:/mnt/iso1 
/tmp/tmpxG6M3H
DEBUG: _cmds(['/bin/mount', '-t', 'nfs', '-o', 'rw,sync,soft', 
'192.168.200.108:/mnt/iso1', '/tmp/tmpxG6M3H'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()
ERROR: FreeBSD-8.2-RELEASE-amd64-disc1.iso exists on 192.168.200.108.  Either 
remove it or supply the --force option to overwrite it.
DEBUG: /bin/umount -t nfs -f  /tmp/tmpxG6M3H
DEBUG: /bin/umount -t nfs -f  /tmp/tmpxG6M3H
DEBUG: _cmds(['/bin/umount', '-t', 'nfs', '-f', '/tmp/tmpxG6M3H'])
DEBUG: returncode(0)
DEBUG: STDOUT()
DEBUG: STDERR()

Still I am unable to select the ISO image from the VM configuration menu,
the change CD function doesn't show the ISO image either.

Besides that my test VM is in status Up, but I can't select the 
console option, it is grayed out.

So maybe you can advise me how to get the first test VM working. I'd like
to continue with further tests as soon as possible :-)


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


Re: [Users] high availability via fencing

2012-04-24 Thread Ian Levesque
 2012-04-20 11:32:44,696 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
 (http--0.0.0.0-8443-5) FINISH, FenceVdsVDSCommand, return: Test
 Failed, Host Status is: unknown. The fence-agent script reported the
 following error: Failed: You have to enter plug number
 Please use '-h' for usage
 
 I've tried to add port=1 to the Options field but that seems to
 have no effect.
 
 Any ideas? Is there any way to configure a dumb power management /
 fencing configuration for testing?
 
 If you still have the problem, can you please put also the vdsm log (look for 
 fenceNode )
 Thanks

Hi Eli,

Here is the relevant output, though I don't think it'll be much more help:

Thread-1818::DEBUG::2012-04-24 12:17:59,804::API::954::vds::(fenceNode) 
fenceNode(addr=134.174.x.x,port=,agent=apc,user=ovirt,passwd=,action=status,secure=,options=)
Thread-1818::DEBUG::2012-04-24 12:17:59,841::API::980::vds::(fenceNode) rc 1 in 
agent=fence_apc
ipaddr=134.174.x.x
login=ovirt
option=status
passwd=
 out  err Failed: You have to enter plug number
Please use '-h' for usage

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


[Users] UPDATE: oVirt 3.1 release date changed

2012-04-24 Thread Ofer Schreiber
Due to multiple integration issues (Java 7, Fedora 17 and JBoss official rpm 
support) we've decided to postpone the next release of oVirt [1] to June 27th.

This one month delay will hopefully give us enough time to stabilize all the 
different layers of oVirt, and produce a better release.

Stay tuned,

--
Ofer Schreiber
oVirt Release Manager

[1] http://www.ovirt.org/wiki/Second_Release
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Joss fails to start ... Keystore was tampered.

2012-04-24 Thread Sharad Mishra


Quoting Doron Fediuck dfedi...@redhat.com:


Please explain from source-
- Did you run maven using dep and started JBoss?


yes, I followed the steps at  
http://www.ovirt.org/wiki/Building_Ovirt_Engine section Building  
oVirt-engine from source.


-Sharad


or
- Did you create RPM's and used yum install?

On 23/04/12 22:28, Sharad Mishra wrote:


Quoting Doron Fediuck dfedi...@redhat.com:


Thanks.
Unfortunately the keystore is the most important file in the PKI
area. Please try to recall your actions, and try to look for the
keystore in case you moved / change folders or anything alike.

Currently, the only valid solution for a lost keystore is re-installation.


I reinstalled ovirt-engine from source on a fresh rhel6.2 machine.  
I still do not see .keystore in /etc/pki/ovirt-engine. Now I get  
FileNotFoundException but engine is running.


2012-04-23 11:21:14,900 ERROR  
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC  
service thread 1-15) Failed to  
decryptjava.io.FileNotFoundException: .keystore (No such file or  
directory)
2012-04-23 11:21:14,900 ERROR  
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC  
service thread 1-15) Failed to decrypt value for property  
AdminPassword will be used encrypted value
2012-04-23 11:21:14,902 INFO  [org.ovirt.engine.core.bll.Backend]  
(MSC service thread 1-15) VDSBrokerFrontend: 4/23/12 11:21 AM


-Sharad Mishra



On 19/04/12 22:40, snmis...@linux.vnet.ibm.com wrote:


Quoting Doron Fediuck dfedi...@redhat.com:


Please check again using ls -la on that folder.


Yes, I did run ls -la :-)

-Sharad Mishra



Sent from my Android phone. Please ignore typos.

-Original Message-
From: snmis...@linux.vnet.ibm.com
Received: Thursday, 19 Apr 2012, 20:38
To: Ofer Schreiber [oschr...@redhat.com]
CC: users@ovirt.org
Subject: Re: [Users] Joss fails to start ... Keystore was tampered.


Quoting Ofer Schreiber oschr...@redhat.com:


I'm trying to understand few things:
1. Did you used RPM for deployment?


No, it was from source. (git clone)


2. Was it an UPGRADE for the engine?


yes, I updated the source which was about a month old.


3. Do you have /etc/pki/ovirt-engine/.keystore available? did it
changed recently?


There is no .keystore in /etc/pki/ovirt-engine. But rest of the files
in this directory were modified on 4/17 (certs, keys, private,
requests). I was playing with kerberos for ldap on 17th so it is
possible that I did something that messed up the server, and it was
just coincidental that I upgraded the source next day and ran into
this issue.

Any help on how I can get out of it?

-Sharad Mishra


Ofer.

- Original Message -


I had jboss running on my rhel6.2 machine. This morning I fetched
latest engine source, built and deployed it. I did not see any
errors.
But now when I start jboss-as service I see following errors in
engine.log -

2012-04-18 13:57:48,051 INFO  [org.ovirt.engine.core.bll.Backend]
(MSC
service thread 1-5) Start time: 4/18/12 1:57 PM
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
LocalAdminPassword will be used encrypted value
2012-04-18 13:57:48,209 WARN
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
1-5)
Could not find enum value for option: NetConsolePort
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
CertificatePassword will be used encrypted value
2012-04-18 13:57:48,214 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect

Regards,
Sharad Mishra
IBM

___
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


Sent from my Android phone. Please ignore typos.












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


Re: [Users] high availability via fencing

2012-04-24 Thread Dan Kenigsberg
On Tue, Apr 24, 2012 at 12:20:37PM -0400, Ian Levesque wrote:
  2012-04-20 11:32:44,696 INFO
  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
  (http--0.0.0.0-8443-5) FINISH, FenceVdsVDSCommand, return: Test
  Failed, Host Status is: unknown. The fence-agent script reported the
  following error: Failed: You have to enter plug number
  Please use '-h' for usage
  
  I've tried to add port=1 to the Options field but that seems to
  have no effect.
  
  Any ideas? Is there any way to configure a dumb power management /
  fencing configuration for testing?
  
  If you still have the problem, can you please put also the vdsm log (look 
  for fenceNode )
  Thanks
 
 Hi Eli,
 
 Here is the relevant output, though I don't think it'll be much more help:

Actually, it does, since it shows that Vdsm did not receive any 'port'
to pass to fence_apc, which is required. 'port' is usually the ordinal
postion of your blade. Either define it in the GUI or use port=n
option in the options edit box.

 
 Thread-1818::DEBUG::2012-04-24 12:17:59,804::API::954::vds::(fenceNode) 
 fenceNode(addr=134.174.x.x,port=,agent=apc,user=ovirt,passwd=,action=status,secure=,options=)
 Thread-1818::DEBUG::2012-04-24 12:17:59,841::API::980::vds::(fenceNode) rc 1 
 in agent=fence_apc
 ipaddr=134.174.x.x
 login=ovirt
 option=status
 passwd=
  out  err Failed: You have to enter plug number
 Please use '-h' for usage
 
 Thanks,
 Ian
 ___
 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] Can't install­­ engine from latest jenk­i­ns build

2012-04-24 Thread ovirt
problem solved

After yum erase of previous version some of the files in 
/usr/share/ovirt-engine was left, and one of them was disks_sp.sql. When i 
installed new version ( i don't no why ) this file was not replaced. When i 
manually  removed all files from /usr/share/ovirt-engine after  yum erase and 
then install engine, the creation of database was finished with no errors.

Втр 24 Апр 2012 09:24:23 +0400, ov...@qip.ru написал:
today t try #349 on fedora16

the rezult is the same

Creating Database...  [ ERROR ]
Database creation failed
Please check log file 
/var/log/ovirt-engine/engine-setup_2012_04_24_09_08_21.log for more information

# tail /var/log/ovirt-engine/engine-db-install-2012_04_24_09_09_11.log
Creating stored procedures from audit_log_sp.sql ...
Creating stored procedures from base_disks_sp.sql ...
Creating stored procedures from bookmarks_sp.sql ...
Creating stored procedures from business_entity_snapshot_sp.sql ...
Creating stored procedures from common_sp.sql ...
Creating stored procedures from custom_actions_sp.sql ...
Creating stored procedures from disk_image_dynamic_sp.sql ...
Creating stored procedures from disk_lun_map_sp.sql ...
Creating stored procedures from disks_sp.sql ...
psql:disks_sp.sql:93: ERROR:  type disks does not exist

Пнд 23 Апр 2012 11:27:35 +0400, Ofer Schreiber  написал:
Which git hash/ jenkins build is it?

Eli - Any idea why it happens?

- Original Message -

 

 during engine-setup

 

 error in step

 

 Creating Database... [ ERROR ]

 

 #tail engine-db-install-2012_04_22_23_03_50.log

 Creating stored procedures from audit_log_sp.sql ...

 Creating stored procedures from base_disks_sp.sql ...

 Creating stored procedures from bookmarks_sp.sql ...

 Creating stored procedures from business_entity_snapshot_sp.sql ...

 Creating stored procedures from common_sp.sql ...

 Creating stored procedures from custom_actions_sp.sql ...

 Creating stored procedures from disk_image_dynamic_sp.sql ...

 Creating stored procedures from disk_lun_map_sp.sql ...

 Creating stored procedures from disks_sp.sql ...

 psql:disks_sp.sql:93: ERROR: type disks does not exist

 

 

 

 

 

 --

 

 

 ___

 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