Bug 1210763
Summary: | [ovirt-hosted-engine-setup] script doesn't validate user input for username for iscsi storage domain > 50 characters. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | akotov |
Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> |
Status: | CLOSED ERRATA | QA Contact: | Elad <ebenahar> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.5.0 | CC: | acanan, bazulay, dfediuck, eedri, gklein, jbuchta, lsurette, nsednev, pstehlik, rbalakri, Rhev-m-bugs, sbonazzo, sherold, yeylon, ykaul, ylavi |
Target Milestone: | ovirt-3.6.0-rc | ||
Target Release: | 3.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, the length of a username wasn't checked, even though the database field was limited to store only 50 characters. A user could enter a username longer than 50 characters, causing an error while storing the username into the database during the setup. With this release, username length is now validated to ensure it can fit in the database. The user can no longer enter usernames which may cause the database insert to fail due to their length. Please note: work is in progress to modify the database to allow longer usernames, so in future this limitation will be lifted.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-09 19:11:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
akotov
2015-04-10 13:52:22 UTC
User and password length validation is done: Entered a username with more than 50 characters: [ ERROR ] Username should not be longer than 50 characters. Entered a password with more than 50 characters: Please specify the iSCSI portal password: [ ERROR ] Password should not be longer than 50 characters. Verified using: ovirt-3.6.0-alpha3 ovirt-hosted-engine-ha-1.3.0-0.0.master.20150615153650.20150615153645.git5f8c290.el7.noarch ovirt-hosted-engine-setup-1.3.0-0.0.master.20150729070044.git26149d7.el7.noarch iptables-services-1.4.21-13.el7.x86_64 iptables-1.4.21-13.el7.x86_64 vdsm-4.17.0-1229.git8299061.el7.noarch wrong component, changed to hosted-engine-setup Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0375.html |