Bug 1028483
Summary: | Error logged during login to Admin portal (javax.crypto.BadPaddingException) | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Bob Doolittle <bzrh.bobd> |
Component: | ovirt-engine-webadmin | Assignee: | Eli Mesika <emesika> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3 | CC: | acathrow, bzrh.bobd, ecohen, emesika, iheim, mgoldboi, pstehlik, yeylon |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | infra | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-13 21:31:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bob Doolittle
2013-11-08 14:55:30 UTC
Please run the following from the dbscripts directory to fix Usage: encryptionvalidator.sh [-h] [-s SERVERNAME [-p PORT]] [-d DATABASE] [-u USERNAME] [-l LOGFILE] [-c CERTIFICATE] [-f] [-v] -s SERVERNAME - The database servername for the database (def. localhost) -p PORT - The database port for the database (def. 5432) -d DATABASE - The database name (def. engine) -u USERNAME - The username for the database (def. engine) -l LOGFILE - The logfile for capturing output (def. encryptionvalidator.sh.log) -c CERTIFICATE- The certificate file to use for the encryption.(def /etc/pki/ovirt-engine/certs/engine.cer) -f - Fix the non encrypted data in DB. -v - Turn on verbosity (WARNING: lots of output) -h - This help text. I'm afraid I'm going to need more detail than a usage message. What options in particular do you need me to specify and which are unnecessary? Or do you just want me to run it with no arguments? Also, what is the path to the dbscripts directory where you want this command run? (In reply to Bob Doolittle from comment #3) > Also, what is the path to the dbscripts directory where you want this > command run? share/ovirt-engine/dbscripts I don't know what options to use with the command "encryptionvalidator.sh". When run with no arguments it simply says "Engine certificate was not set". please look if you have engine.cer under /etc/pki/ovirt-engine/certs If not , please use (with root account) > find / -name "engine.cer" to locate it Once located , run the following from the machine which host the DB: > encryptionvalidator.sh -d <db name> -u <user name> -c <cert file> -f I'm sorry to seem thick, but how am I supposed to determine what "db name" to use? For 3.3 :
> encryptionvalidator.sh -d engine -u engine -c <cert file> -f
Thanks. I get the following: # ./encryptionvalidator.sh -d engine -u engine -c /etc/pki/ovirt-engine/certs/engine.cer -f Engine certificate was not set (and yes the file /etc/pki/ovirt-engine/certs/engine.cer does exist). This is the same output I get when I provide no options at all. However, I should say that since filing this bug I have upgraded to 3.3.2-1, and no longer see the error in the original report (or any ERROR level log messages). (In reply to Bob Doolittle from comment #9) > However, I should say that since filing this bug I have upgraded to 3.3.2-1, > and no longer see the error in the original report (or any ERROR level log > messages). Closing the bug |