Re: [ovirt-devel] Findbugs on master patches

2015-08-12 Thread David Caro
On 08/12, Yevgeny Zaspitsky wrote:
 The findbugs failure is related to patch set 1, which was previously was
 marked by Jenkins as +1. If that wasn't +1'ed, we would've wait until
 Jenkins job is finished, but since it has +1 we were under impression that
 the patch is OK.

You are right, the findbugs was triggered by the verified +1 on patch 1.

 Looks like findbugs job was triggered by Verified+1, whereas test were run
 upon patch set upload. IMHO the split between the jobs makes their behavior
 misleading.

Agree, but so far there's no agreement on the flow for it, and there's no
effort being done to reach that agreement (it's on hold) so it will not change
any time soon. I think we should drop the triggering by flag, or make it
generic but not mix both. That's why I wanted to introduce the workflow flag,
to trigger only by that flag on demand of the reviewer.

Feel free to try and start that discussion again

 BTW, what was merged is patch set 2, which wasn't checked by findbugs at
 all.
 
 On Wed, Aug 12, 2015 at 3:42 PM, David Caro dc...@redhat.com wrote:
 
  On 08/12, Yevgeny Zaspitsky wrote:
   My bad, sorry. The findbugs job runs indeed.
  
   However look at that patch https://gerrit.ovirt.org/#/c/44604/ .
   Patch set 1 got Continuous-Integration+1 from Jenkins after running unit
   tests and then, much later,
 
  That much later is after merge, the findbugs ran once the patch was
  merged. You
  should understand that each event triggers a tests run, and for each tests
  run
  you get only one review. In this case the tests that check the code when
  you
  send the patch passed, but the ones that check the code after it's merged
  failed.
 
 
   Jenkins changed its mind and gave -1 after
   findbugs job has finished.
   IMHO that's is a misleading behavior.
  
   Regards,
   Yevgeny
  
   On Wed, Aug 12, 2015 at 12:12 PM, Sandro Bonazzola sbona...@redhat.com
   wrote:
  
   
   
On Tue, Aug 11, 2015 at 6:13 PM, Yevgeny Zaspitsky 
  yzasp...@redhat.com
wrote:
   
Hi All,
   
Seems like recently Jenkins has stopped running findbugs check on the
patches before they get merged into master. Although that could save
  some
Jenkins resources and make the its reaction faster, that makes the
integration (with master) check less effective.
   
Was that done on purpose? Can that be restored for master patches?
   
   
AFAIK findbugs is still up and running:
http://jenkins.ovirt.org/search/?q=find-bugs
Have you any specific patch as example?
   
   
   
   
Regards,
Yevgeny
   
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
   
   
   
   
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community
  collaboration.
See how it works at redhat.com
   
 
   ___
   Infra mailing list
   in...@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/infra
 
 
  --
  David Caro
 
  Red Hat S.L.
  Continuous Integration Engineer - EMEA ENG Virtualization RD
 
  Tel.: +420 532 294 605
  Email: dc...@redhat.com
  Web: www.redhat.com
  RHT Global #: 82-62605
 

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization RD

Tel.: +420 532 294 605
Email: dc...@redhat.com
Web: www.redhat.com
RHT Global #: 82-62605


pgpUoszkTFRqZ.pgp
Description: PGP signature
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [oVirt 3.6 Localization Question #28] trimming whitespace characters

2015-08-12 Thread Yuko Katabami
Hi Greg,

Thank you very much for your reply.
That makes better sense.

BTW, I filed a bug before I received your answer:
https://bugzilla.redhat.com/show_bug.cgi?id=1252793

Kind regards,

Yuko

On 08/13/2015 04:41 AM, Greg Padgett wrote:
 On 08/12/2015 03:19 AM, Yuko Katabami wrote:
 Or, could this actually means trailing whitespace characters?

 Yuko Katabami

 On 08/11/2015 08:02 PM, Yuko Katabami wrote:
 Hello all,

 The following question has been raised by other translators.
 This is not a new string for 3.6 (it was pushed to us back in 2013) but
 translators need some clarification.

 *File:***UIConstants*
 Resource ID:*** trimmingSpacesInField
 *String: * Cannot ${action} ${type}. Linux boot parameters contain
 trimming whitespace characters.
 *Question:*Is trimming whitespace characters referring to white space
 characters that need to be trimmed (removed)?

 Hi Yuko,

 Basically, yes.  The validator for that message verifies there are no
 leading or trailing whitespace characters on the string.

 HTH,
 Greg


 Thank you,

 Yuko Katabami


 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel




 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel




___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] AAA changes on 3.6 and master

2015-08-12 Thread Roy Golan

On 08/12/2015 01:11 PM, Martin Perina wrote:

Hi,

yesterday we merged couple of changes in the AAA area:

1. Legacy provider for 'internal' domain (3.6 and master)
- it's still installed by default if aaa-jdbc provider
  is not present (details below)
- UUID of 'admin@internal' user is no longer static, but
  for new installations UUID is generated
- Password of 'admin@internal' is no longer saved in vdc_options table,
  but it's stored encoded in legacy internal provider config file
  (PREFIX/etc/ovirt-engine/extensions.d/internal-authn.properties)
- If you want to change 'admin@internal' password please execute:

PREFIX/bin/engine-setup \
--otopi-environment=OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD


Is this supported in the answer file?


  replacing MY_PASSWORD with your new password


2. aaa-jdbc provider for 'internal' domain (3.6 and master)
- this is new implementation of AAA provider which stores users/groups
  in database and provide (from engine point of view) same capabilities
  as aaa-ldap provider
- on RPM installations it replaces legacy provider for 'internal'
  domain
- it's configured automatically on RPM installations when running
  engine-setup
- if you want to use it also in development environment, please do
  following steps:

a. Checkout sources [1], build and install into your PREFIX

b. Execute
 PREFIX/bin/engine-setup \
  
--otopi-environment=OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD

   This will replace legacy internal provider with aaa-jdbc one.


3. Legacy kerbldap provider (master only)
- it has been dropped from the project
- engine-setup will fail if you have kerbldap provider configured
- you can either migrate to the new aaa-ldap provider using [2]
  or create new prefix without kerbldap provider config


Thanks

Martin Perina

[1] https://gerrit.ovirt.org/#/admin/projects/ovirt-engine-extension-aaa-jdbc
[2] https://github.com/machacekondra/ovirt-engine-kerbldap-migration/releases
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


[ovirt-devel] VDSM 4.17.1 fails to build

2015-08-12 Thread Sandro Bonazzola
http://jenkins.ovirt.org/job/vdsm_master_create-rpms-el7-x86_64_merged/1543/console

*devel issue:*

*16:38:34* error: Macro %py2_install has unterminated body*16:38:36*
Wrote: ./vdsm-4.17.1-0.el7.src.rpm*16:38:36* error: Macro %py2_install
has unterminated body*16:38:36* error: Macro %py2_install has
unterminated body

*infra issue:*

DEBUG util.py:377:  Error downloading packages:
DEBUG util.py:377:epel-rpm-macros-7-2.noarch: [Errno 256] No more
mirrors to try.




-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [oVirt 3.6 Localization Question #28] trimming whitespace characters

2015-08-12 Thread Yuko Katabami
Or, could this actually means trailing whitespace characters?

Yuko Katabami

On 08/11/2015 08:02 PM, Yuko Katabami wrote:
 Hello all,

 The following question has been raised by other translators.
 This is not a new string for 3.6 (it was pushed to us back in 2013)
 but translators need some clarification.

 *File:***UIConstants*
 Resource ID:** * trimmingSpacesInField
 *String: * Cannot ${action} ${type}. Linux boot parameters contain
 trimming whitespace characters.
 *Question:*Is trimming whitespace characters referring to white
 space characters that need to be trimmed (removed)?

 Thank you,

 Yuko Katabami


 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel


___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] Test day report: Bug 1080029 - [RFE] Need a way to determine how many days a user has been attached to a pooled VM

2015-08-12 Thread Martin Perina
Hi,

during test day I tested bug [1] and here's report:

I installed engine with two hosts using Centos 7 and NFS shared storage,
setup connection to LDAP server, created automatic VM pool with 3 VMs and
assign permissions for users on VM pool. After that I did following tests:

1.Check if Permissions tab of the VM started from a pool contains time
  when user started this VM
- test result: OK

2.Check if Permissions record is cleared when user shutdowns a VM
- test result: OK

So I would say feature works as expected.


Martin Perina


[1] http://bugzilla.redhat.com/1080029
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] Login issue on master

2015-08-12 Thread Alon Bar-Lev

People, please DO NOT try to upgrade database not via engine-setup.
Any manual changes of database will cause your system to be invalid, in this 
case the setup will not be able to upgrade between configuration admin user to 
new.

Also, please remember to make install-dev= so that you have synced PREFIX with 
whatever version you are working on. In this case the PREFIX is out of date.

- Original Message -
 From: Vered Volansky ve...@redhat.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: Martin Perina mper...@redhat.com, Omer Frenkel 
 ofren...@redhat.com, Oved Ourfali ov...@redhat.com,
 devel@ovirt.org
 Sent: Wednesday, August 12, 2015 10:25:17 AM
 Subject: Re: [ovirt-devel] Login issue on master
 
 new setup log attached.
 
 On Wed, Aug 12, 2015 at 9:57 AM, Vered Volansky ve...@redhat.com wrote:
 
  I did what Alon suggested, replaced only MY_PASSWORD. engine setup was ok,
  but I still get the same error on login.
 
 
  On Wed, Aug 12, 2015 at 9:46 AM, Alon Bar-Lev alo...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Martin Perina mper...@redhat.com
   To: Omer Frenkel ofren...@redhat.com
   Cc: Oved Ourfali ov...@redhat.com, Vered Volansky 
  ve...@redhat.com, devel@ovirt.org
   Sent: Wednesday, August 12, 2015 9:35:08 AM
   Subject: Re: [ovirt-devel] Login issue on master
  
  
  
   - Original Message -
From: Omer Frenkel ofren...@redhat.com
To: Martin Perina mper...@redhat.com
Cc: Vered Volansky ve...@redhat.com, Oved Ourfali 
  ov...@redhat.com,
devel@ovirt.org
Sent: Wednesday, August 12, 2015 8:28:00 AM
Subject: Re: [ovirt-devel] Login issue on master
   
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina mper...@redhat.com
  wrote:
   


 - Original Message -
  From: Oved Ourfali ov...@redhat.com
  To: Vered Volansky ve...@redhat.com
  Cc: devel@ovirt.org
  Sent: Wednesday, August 12, 2015 7:51:14 AM
  Subject: Re: [ovirt-devel] Login issue on master
 
  Please share complete engine.log and server.log.

 Log produced by engine-setup is more important at the moment.
 Are you sure that engine-setup finished successfully?

 
  - Original Message -
   From: Vered Volansky ve...@redhat.com
   To: devel@ovirt.org
   Sent: Wednesday, August 12, 2015 8:48:00 AM
   Subject: Re: [ovirt-devel] Login issue on master
  
   engine:
   2015-08-12 08:12:41,129 INFO
   [org.ovirt.engine.core.bll.aaa.LoginBaseCommand]
   (default task-28) [] Can't login user 'admin' with
  authentication
 profile
   'internal' because the authentication failed.
   2015-08-12 08:12:41,146 ERROR
  
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (default task-28) [] Correlation ID: null, Call Stack: null,
  Custom
 Event
   ID: -1, Message: User admin cannot login, please verify the
  username
 and
   password.
   2015-08-12 08:12:41,154 ERROR
  
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (default task-28) [] Correlation ID: null, Call Stack: null,
  Custom
 Event
   ID: -1, Message: User admin@internal failed to log in.
   2015-08-12 08:12:41,154 WARN
   [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default
 task-28) []
   CanDoAction of action 'LoginAdminUser' failed for user
   admin@internal.
   Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
  
  
  
  
   On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky 
  ve...@redhat.com 
 wrote:
  
  
  
   Can't login to engine after rebase and schema-dev execution.
   Can't investigate more at the moment, just a heads up.
  
  
   ___
   Devel mailing list
   Devel@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/devel
  ___
  Devel mailing list
  Devel@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/devel
 
 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

   
​any chance you deleted your prefix?
if so, the setup creates new keys and cannot decrypt the saved
  password
(that was encryped using the old keys), try to use
engine-config --set AdminPassword=interactive
  
   This is no longer valid, admin password is not stored in vdc_options
  anymore.
   If you want to change you admin@internal password, please do following:
  
   1. Run ovirt-engine-crypto-tool to encode new password:
  
 ${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh
  pbe-encode
 --password=interactive:
  
   2. Save encoding password into
   ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties
  into field config.authn.user.password
  
   3. Restart 

Re: [ovirt-devel] Broken builds with ovirt-engine_master_dao-unit-tests

2015-08-12 Thread Eyal Edri
jdk8 failure, doesn't seem like infra related:

08:25:04 7ffd171cc000-7ffd171ce000 r-xp  00:00 0
 [vdso]
08:25:04 ff60-ff601000 r-xp  00:00 0
   [vsyscall]
08:25:28 /bin/sh: line 1:  6426 Aborted (core dumped)
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-4.b16.fc21.x86_64/jre/bin/java
-jar 
/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_created/ovirt-engine/backend/manager/modules/dal/target/surefire/surefirebooter6317272958604843882.jar
/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_created/ovirt-engine/backend/manager/modules/dal/target/surefire/surefire875852411320494965tmp
/home/jenkins/workspace/ovirt-engine_master_dao-unit-tests_created/ovirt-engine/backend/manager/modules/dal/target/surefire/surefire9079564346806972533tmp
08:25:28 [INFO]

08:25:28 [INFO] Reactor Summary:
08:25:28 [INFO]

need someone from dev to look at it, adding devel list.

e


On Wed, Aug 12, 2015 at 11:10 AM, Dudi Maroshi maro...@redhat.com wrote:

 Greetings Team,

 I am sure you noticed the latest failing builds chain.
 http://jenkins.ovirt.org/job/ovirt-engine_master_dao-unit-tests_created/12324/

 I did not find any correlation to the patch I submitted.
 Please let me know if I can assist.

 Joy and happiness
 Dudi

 --
 Dudi Maroshi
 Software Engineer
 Red Hat Enterprise Virtualization project 
 http://www.redhat.com/en/technologies/virtualization
 maro...@redhat.com
 
 I am perfectly imperfect.
 There is only one absolute truth, and that is: there in no one absolute 
 truth.
 ___
 Infra mailing list
 in...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/infra





-- 
Eyal Edri
Supervisor, RHEV CI
EMEA ENG Virtualization RD
Red Hat Israel

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Findbugs on master patches

2015-08-12 Thread Sandro Bonazzola
On Tue, Aug 11, 2015 at 6:13 PM, Yevgeny Zaspitsky yzasp...@redhat.com
wrote:

 Hi All,

 Seems like recently Jenkins has stopped running findbugs check on the
 patches before they get merged into master. Although that could save some
 Jenkins resources and make the its reaction faster, that makes the
 integration (with master) check less effective.

 Was that done on purpose? Can that be restored for master patches?


AFAIK findbugs is still up and running:
http://jenkins.ovirt.org/search/?q=find-bugs
Have you any specific patch as example?




 Regards,
 Yevgeny

 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel




-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Login issue on master

2015-08-12 Thread Martin Perina


- Original Message -
 From: Omer Frenkel ofren...@redhat.com
 To: Martin Perina mper...@redhat.com
 Cc: Vered Volansky ve...@redhat.com, Oved Ourfali ov...@redhat.com, 
 devel@ovirt.org
 Sent: Wednesday, August 12, 2015 11:25:37 AM
 Subject: Re: [ovirt-devel] Login issue on master
 
 On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina mper...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Omer Frenkel ofren...@redhat.com
   To: Martin Perina mper...@redhat.com
   Cc: Vered Volansky ve...@redhat.com, Oved Ourfali 
  ov...@redhat.com, devel@ovirt.org
   Sent: Wednesday, August 12, 2015 8:28:00 AM
   Subject: Re: [ovirt-devel] Login issue on master
  
   On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina mper...@redhat.com
  wrote:
  
   
   
- Original Message -
 From: Oved Ourfali ov...@redhat.com
 To: Vered Volansky ve...@redhat.com
 Cc: devel@ovirt.org
 Sent: Wednesday, August 12, 2015 7:51:14 AM
 Subject: Re: [ovirt-devel] Login issue on master

 Please share complete engine.log and server.log.
   
Log produced by engine-setup is more important at the moment.
Are you sure that engine-setup finished successfully?
   

 - Original Message -
  From: Vered Volansky ve...@redhat.com
  To: devel@ovirt.org
  Sent: Wednesday, August 12, 2015 8:48:00 AM
  Subject: Re: [ovirt-devel] Login issue on master
 
  engine:
  2015-08-12 08:12:41,129 INFO
  [org.ovirt.engine.core.bll.aaa.LoginBaseCommand]
  (default task-28) [] Can't login user 'admin' with authentication
profile
  'internal' because the authentication failed.
  2015-08-12 08:12:41,146 ERROR
 
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (default task-28) [] Correlation ID: null, Call Stack: null, Custom
Event
  ID: -1, Message: User admin cannot login, please verify the
  username
and
  password.
  2015-08-12 08:12:41,154 ERROR
 
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (default task-28) [] Correlation ID: null, Call Stack: null, Custom
Event
  ID: -1, Message: User admin@internal failed to log in.
  2015-08-12 08:12:41,154 WARN
  [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default
task-28) []
  CanDoAction of action 'LoginAdminUser' failed for user
  admin@internal.
  Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
 
 
 
 
  On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky  ve...@redhat.com
  
wrote:
 
 
 
  Can't login to engine after rebase and schema-dev execution.
  Can't investigate more at the moment, just a heads up.
 
 
  ___
  Devel mailing list
  Devel@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/devel
 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
   
  
   ​any chance you deleted your prefix?
   if so, the setup creates new keys and cannot decrypt the saved password
   (that was encryped using the old keys), try to use
   engine-config --set AdminPassword=interactive
 
  This is no longer valid, admin password is not stored in vdc_options
  anymore.
 
 
 ​was this communicated anywhere? i missed that.. thanks for the update​

I'm going to send email about it, the aaa internal/jdbc changes
were merged yesterday ...

 
 
 
  If you want to change you admin@internal password, please do following:
 
  1. Run ovirt-engine-crypto-tool to encode new password:
 
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode
  --password=interactive:
 
  2. Save encoding password into
  ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties
 into field config.authn.user.password
 
  3. Restart the engine
 
 
 
  
   ​to create new password, restart the engine and try..​
  
 
 
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Login issue on master

2015-08-12 Thread Vered Volansky
Problem was solved thanks to Alon Bar Lev:

engine-setup
--otopi-environment=OVESETUP_CONFIG/adminUserAuthzType=str:builtin-internal
OVESETUP_CONFIG/adminUser=str:admin@internal
OVESETUP_CONFIG/adminUserAuthzName=str:internal
OVESETUP_CONFIG/adminUserId=str:fdfc627c-d875-11e0-90f0-83df133b58cc
OVESETUP_CONFIG/adminPassword=str:PASSWORD

Problem stemmed from using schema-dev instead of engine-setup, which
appears to be a no-no.

Thanks everyone!

On Wed, Aug 12, 2015 at 12:27 PM, Martin Perina mper...@redhat.com wrote:



 - Original Message -
  From: Omer Frenkel ofren...@redhat.com
  To: Martin Perina mper...@redhat.com
  Cc: Vered Volansky ve...@redhat.com, Oved Ourfali 
 ov...@redhat.com, devel@ovirt.org
  Sent: Wednesday, August 12, 2015 11:25:37 AM
  Subject: Re: [ovirt-devel] Login issue on master
 
  On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina mper...@redhat.com
 wrote:
 
  
  
   - Original Message -
From: Omer Frenkel ofren...@redhat.com
To: Martin Perina mper...@redhat.com
Cc: Vered Volansky ve...@redhat.com, Oved Ourfali 
   ov...@redhat.com, devel@ovirt.org
Sent: Wednesday, August 12, 2015 8:28:00 AM
Subject: Re: [ovirt-devel] Login issue on master
   
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina mper...@redhat.com
   wrote:
   


 - Original Message -
  From: Oved Ourfali ov...@redhat.com
  To: Vered Volansky ve...@redhat.com
  Cc: devel@ovirt.org
  Sent: Wednesday, August 12, 2015 7:51:14 AM
  Subject: Re: [ovirt-devel] Login issue on master
 
  Please share complete engine.log and server.log.

 Log produced by engine-setup is more important at the moment.
 Are you sure that engine-setup finished successfully?

 
  - Original Message -
   From: Vered Volansky ve...@redhat.com
   To: devel@ovirt.org
   Sent: Wednesday, August 12, 2015 8:48:00 AM
   Subject: Re: [ovirt-devel] Login issue on master
  
   engine:
   2015-08-12 08:12:41,129 INFO
   [org.ovirt.engine.core.bll.aaa.LoginBaseCommand]
   (default task-28) [] Can't login user 'admin' with
 authentication
 profile
   'internal' because the authentication failed.
   2015-08-12 08:12:41,146 ERROR
  
   [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (default task-28) [] Correlation ID: null, Call Stack: null,
 Custom
 Event
   ID: -1, Message: User admin cannot login, please verify the
   username
 and
   password.
   2015-08-12 08:12:41,154 ERROR
  
   [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
   (default task-28) [] Correlation ID: null, Call Stack: null,
 Custom
 Event
   ID: -1, Message: User admin@internal failed to log in.
   2015-08-12 08:12:41,154 WARN
   [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default
 task-28) []
   CanDoAction of action 'LoginAdminUser' failed for user
   admin@internal.
   Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
  
  
  
  
   On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky 
 ve...@redhat.com
   
 wrote:
  
  
  
   Can't login to engine after rebase and schema-dev execution.
   Can't investigate more at the moment, just a heads up.
  
  
   ___
   Devel mailing list
   Devel@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/devel
  ___
  Devel mailing list
  Devel@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/devel
 
 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel

   
​any chance you deleted your prefix?
if so, the setup creates new keys and cannot decrypt the saved
 password
(that was encryped using the old keys), try to use
engine-config --set AdminPassword=interactive
  
   This is no longer valid, admin password is not stored in vdc_options
   anymore.
  
 
  ​was this communicated anywhere? i missed that.. thanks for the update​

 I'm going to send email about it, the aaa internal/jdbc changes
 were merged yesterday ...

 
 
 
   If you want to change you admin@internal password, please do
 following:
  
   1. Run ovirt-engine-crypto-tool to encode new password:
  
 ${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh
 pbe-encode
   --password=interactive:
  
   2. Save encoding password into
   ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties
  into field config.authn.user.password
  
   3. Restart the engine
  
  
  
   
​to create new password, restart the engine and try..​
   
  
 

___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Login issue on master

2015-08-12 Thread Omer Frenkel
On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina mper...@redhat.com wrote:



 - Original Message -
  From: Omer Frenkel ofren...@redhat.com
  To: Martin Perina mper...@redhat.com
  Cc: Vered Volansky ve...@redhat.com, Oved Ourfali 
 ov...@redhat.com, devel@ovirt.org
  Sent: Wednesday, August 12, 2015 8:28:00 AM
  Subject: Re: [ovirt-devel] Login issue on master
 
  On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina mper...@redhat.com
 wrote:
 
  
  
   - Original Message -
From: Oved Ourfali ov...@redhat.com
To: Vered Volansky ve...@redhat.com
Cc: devel@ovirt.org
Sent: Wednesday, August 12, 2015 7:51:14 AM
Subject: Re: [ovirt-devel] Login issue on master
   
Please share complete engine.log and server.log.
  
   Log produced by engine-setup is more important at the moment.
   Are you sure that engine-setup finished successfully?
  
   
- Original Message -
 From: Vered Volansky ve...@redhat.com
 To: devel@ovirt.org
 Sent: Wednesday, August 12, 2015 8:48:00 AM
 Subject: Re: [ovirt-devel] Login issue on master

 engine:
 2015-08-12 08:12:41,129 INFO
 [org.ovirt.engine.core.bll.aaa.LoginBaseCommand]
 (default task-28) [] Can't login user 'admin' with authentication
   profile
 'internal' because the authentication failed.
 2015-08-12 08:12:41,146 ERROR

 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (default task-28) [] Correlation ID: null, Call Stack: null, Custom
   Event
 ID: -1, Message: User admin cannot login, please verify the
 username
   and
 password.
 2015-08-12 08:12:41,154 ERROR

 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (default task-28) [] Correlation ID: null, Call Stack: null, Custom
   Event
 ID: -1, Message: User admin@internal failed to log in.
 2015-08-12 08:12:41,154 WARN
 [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default
   task-28) []
 CanDoAction of action 'LoginAdminUser' failed for user
 admin@internal.
 Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD




 On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky  ve...@redhat.com
 
   wrote:



 Can't login to engine after rebase and schema-dev execution.
 Can't investigate more at the moment, just a heads up.


 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
   
   ___
   Devel mailing list
   Devel@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/devel
  
 
  ​any chance you deleted your prefix?
  if so, the setup creates new keys and cannot decrypt the saved password
  (that was encryped using the old keys), try to use
  engine-config --set AdminPassword=interactive

 This is no longer valid, admin password is not stored in vdc_options
 anymore.


​was this communicated anywhere? i missed that.. thanks for the update​



 If you want to change you admin@internal password, please do following:

 1. Run ovirt-engine-crypto-tool to encode new password:

   ${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode
 --password=interactive:

 2. Save encoding password into
 ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties
into field config.authn.user.password

 3. Restart the engine



 
  ​to create new password, restart the engine and try..​
 

___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] snapshot for LVM2 Volume

2015-08-12 Thread Nir Soffer
- Original Message -
 From: yao xu xuya...@gmail.com
 To: devel@ovirt.org
 Sent: Wednesday, August 12, 2015 5:45:24 AM
 Subject: [ovirt-devel] snapshot for LVM2 Volume
 
 Hi!
 
 I am using ovirt 3.1 in iSCSI environment . I fixed some bug of vdsm..
 
 In this version , snapshot only for disk, not memory .
 
 When I try to take snapshot for a running vm , error log shown in vdsm.log
 
 libvirtError: unsupported configuration: source for disk 'vda' is not a
 regular file; refusing to generate external snapshot name
 
 After reading libvirt's mail archive, I found a patch in this mail :
 
 http://www.redhat.com/archives/libvir-list/2011-November/msg00843.html
 
 but in vdsm environment, every image from iSCSI server is a link file or a
 dev file , not a regular file .
 
 Do you have any solution ? Or I should patch more code , something like
 memory snapshot ?

Who will support your patched ovirt-3.1?

The best fix is to upgrade to the latest stable version, ovirt 3.5.

Nir
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel


Re: [ovirt-devel] Findbugs on master patches

2015-08-12 Thread Yevgeny Zaspitsky
My bad, sorry. The findbugs job runs indeed.

However look at that patch https://gerrit.ovirt.org/#/c/44604/ .
Patch set 1 got Continuous-Integration+1 from Jenkins after running unit
tests and then, much later, Jenkins changed its mind and gave -1 after
findbugs job has finished.
IMHO that's is a misleading behavior.

Regards,
Yevgeny

On Wed, Aug 12, 2015 at 12:12 PM, Sandro Bonazzola sbona...@redhat.com
wrote:



 On Tue, Aug 11, 2015 at 6:13 PM, Yevgeny Zaspitsky yzasp...@redhat.com
 wrote:

 Hi All,

 Seems like recently Jenkins has stopped running findbugs check on the
 patches before they get merged into master. Although that could save some
 Jenkins resources and make the its reaction faster, that makes the
 integration (with master) check less effective.

 Was that done on purpose? Can that be restored for master patches?


 AFAIK findbugs is still up and running:
 http://jenkins.ovirt.org/search/?q=find-bugs
 Have you any specific patch as example?




 Regards,
 Yevgeny

 ___
 Devel mailing list
 Devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/devel




 --
 Sandro Bonazzola
 Better technology. Faster innovation. Powered by community collaboration.
 See how it works at redhat.com

___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Findbugs on master patches

2015-08-12 Thread David Caro
On 08/12, Yevgeny Zaspitsky wrote:
 My bad, sorry. The findbugs job runs indeed.
 
 However look at that patch https://gerrit.ovirt.org/#/c/44604/ .
 Patch set 1 got Continuous-Integration+1 from Jenkins after running unit
 tests and then, much later,

That much later is after merge, the findbugs ran once the patch was merged. You
should understand that each event triggers a tests run, and for each tests run
you get only one review. In this case the tests that check the code when you
send the patch passed, but the ones that check the code after it's merged
failed.


 Jenkins changed its mind and gave -1 after
 findbugs job has finished.
 IMHO that's is a misleading behavior.
 
 Regards,
 Yevgeny
 
 On Wed, Aug 12, 2015 at 12:12 PM, Sandro Bonazzola sbona...@redhat.com
 wrote:
 
 
 
  On Tue, Aug 11, 2015 at 6:13 PM, Yevgeny Zaspitsky yzasp...@redhat.com
  wrote:
 
  Hi All,
 
  Seems like recently Jenkins has stopped running findbugs check on the
  patches before they get merged into master. Although that could save some
  Jenkins resources and make the its reaction faster, that makes the
  integration (with master) check less effective.
 
  Was that done on purpose? Can that be restored for master patches?
 
 
  AFAIK findbugs is still up and running:
  http://jenkins.ovirt.org/search/?q=find-bugs
  Have you any specific patch as example?
 
 
 
 
  Regards,
  Yevgeny
 
  ___
  Devel mailing list
  Devel@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/devel
 
 
 
 
  --
  Sandro Bonazzola
  Better technology. Faster innovation. Powered by community collaboration.
  See how it works at redhat.com
 

 ___
 Infra mailing list
 in...@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/infra


-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization RD

Tel.: +420 532 294 605
Email: dc...@redhat.com
Web: www.redhat.com
RHT Global #: 82-62605


pgp10ZaBV1htj.pgp
Description: PGP signature
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] Findbugs on master patches

2015-08-12 Thread Sandro Bonazzola
On Wed, Aug 12, 2015 at 2:42 PM, David Caro dc...@redhat.com wrote:

 On 08/12, Yevgeny Zaspitsky wrote:
  My bad, sorry. The findbugs job runs indeed.
 
  However look at that patch https://gerrit.ovirt.org/#/c/44604/ .
  Patch set 1 got Continuous-Integration+1 from Jenkins after running unit
  tests and then, much later,

 That much later is after merge, the findbugs ran once the patch was
 merged. You
 should understand that each event triggers a tests run, and for each tests
 run
 you get only one review. In this case the tests that check the code when
 you
 send the patch passed, but the ones that check the code after it's merged
 failed.



In this case, I think we need the job which failed after merge to be run
also on patch creation.





  Jenkins changed its mind and gave -1 after
  findbugs job has finished.
  IMHO that's is a misleading behavior.
 
  Regards,
  Yevgeny
 
  On Wed, Aug 12, 2015 at 12:12 PM, Sandro Bonazzola sbona...@redhat.com
  wrote:
 
  
  
   On Tue, Aug 11, 2015 at 6:13 PM, Yevgeny Zaspitsky 
 yzasp...@redhat.com
   wrote:
  
   Hi All,
  
   Seems like recently Jenkins has stopped running findbugs check on the
   patches before they get merged into master. Although that could save
 some
   Jenkins resources and make the its reaction faster, that makes the
   integration (with master) check less effective.
  
   Was that done on purpose? Can that be restored for master patches?
  
  
   AFAIK findbugs is still up and running:
   http://jenkins.ovirt.org/search/?q=find-bugs
   Have you any specific patch as example?
  
  
  
  
   Regards,
   Yevgeny
  
   ___
   Devel mailing list
   Devel@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/devel
  
  
  
  
   --
   Sandro Bonazzola
   Better technology. Faster innovation. Powered by community
 collaboration.
   See how it works at redhat.com
  

  ___
  Infra mailing list
  in...@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/infra


 --
 David Caro

 Red Hat S.L.
 Continuous Integration Engineer - EMEA ENG Virtualization RD

 Tel.: +420 532 294 605
 Email: dc...@redhat.com
 Web: www.redhat.com
 RHT Global #: 82-62605




-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[ovirt-devel] [testday] Debian support

2015-08-12 Thread Sandro Bonazzola
Hi,
I tested Debian support:

   1. Check Jenkins automation for Debian package building and publishing
  - test result: Failed
  - bug opened: https://ovirt-jira.atlassian.net/browse/OVIRT-338
  - additional notes: deb81-vm01.phx.ovirt.org has been provisioned but
  not yet available in jenkins
   2. Check that oVirt Debian repository is available
  - test result: Passed
  - bug opened: -
  - additional notes:
  http://resources.ovirt.org/pub/ovirt-3.6-pre/debian/
   3. Check that VDSM is installable
  - test result: Failed
  - bug opened: *Bug 1251844* - [Debian] vdsm : Depends: linux-image
  but it is not installable
  - additional notes:
   4. Check that packages build within pbuilder
  - test result: Failed
  - bug opened:
 - *Bug 1251916* - [Debian] ioprocess doesn't build in pbuilder
 - *Bug 1251907* - [Debian] cpopen doesn't build in pbuilder
 - *Bug 1251910* - [Debian] pthreading doesn't build in pbuilder
 - *Bug 1251975* - [Debian] cpopen fails unit testing on
 testUmaskChange
 - *Bug 1251952* - [Debian] ioprocess fails unit testing in
 testCircularRefs
  - additional notes:


Update: deb81-vm01.phx.ovirt.org is now available in jenkins

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Re: [ovirt-devel] [oVirt 3.6 Localization Question #28] trimming whitespace characters

2015-08-12 Thread Greg Padgett

On 08/12/2015 03:19 AM, Yuko Katabami wrote:

Or, could this actually means trailing whitespace characters?

Yuko Katabami

On 08/11/2015 08:02 PM, Yuko Katabami wrote:

Hello all,

The following question has been raised by other translators.
This is not a new string for 3.6 (it was pushed to us back in 2013) but
translators need some clarification.

*File:***UIConstants*
Resource ID:*** trimmingSpacesInField
*String: * Cannot ${action} ${type}. Linux boot parameters contain
trimming whitespace characters.
*Question:*Is trimming whitespace characters referring to white space
characters that need to be trimmed (removed)?


Hi Yuko,

Basically, yes.  The validator for that message verifies there are no 
leading or trailing whitespace characters on the string.


HTH,
Greg



Thank you,

Yuko Katabami


___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel





___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel



___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel