| Summary: | Skyring tries to create admin user | ||
|---|---|---|---|
| Product: | Red Hat Storage Console | Reporter: | Martin Kudlej <mkudlej> |
| Component: | core | Assignee: | gowtham <gshanmug> |
| core sub component: | authentication | QA Contact: | sds-qe-bugs |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | mbukatov, mkudlej, nthomas, sankarshan |
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Target Release: | 2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-19 05:33:16 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: | |
|
Description
Martin Kudlej
2016-01-26 15:04:34 UTC
admin user is allowed always regardless of whether the system is configured with LDAP or not. 'admin' is the so called superuser. If ldap is configured and the local users other than admin is allowed to login, then it is a bug. Is that happening? Adding current version of the log message to make this BZ easier to find. Here are few first lines found in the log when skyring service was started: ~~~ 2016-06-07T18:54:09.442+02:00 ERROR auth.go:197 AddUser] Username: admin already exists 2016-06-07T18:54:09.442+02:00 ERROR auth.go:41 AddDefaultUser] Unable to create default User:user already exists 2016-06-07T18:54:09.449+02:00 INFO main.go:214 start] Starting the providers 2016-06-07T18:54:09.45+02:00 DEBUG provider-conf.go:57 LoadProviderConfig] File Name: ceph.conf 2016-06-07T18:54:09.45+02:00 DEBUG provider-conf.go:57 LoadProviderConfig] File Name: ceph.dat 2016-06-07T18:54:09.45+02:00 DEBUG provider-conf.go:57 LoadProviderConfig] File Name: ceph.evt ~~~ Tested with ceph-ansible-1.0.5-25.el7scon.noarch ceph-installer-1.0.12-4.el7scon.noarch rhscon-ceph-0.0.32-1.el7scon.x86_64 rhscon-core-0.0.33-1.el7scon.x86_64 rhscon-core-selinux-0.0.33-1.el7scon.noarch rhscon-ui-0.0.47-1.el7scon.noarch and there is no error message in logs about creating user. Agreement is that admin will be created if there is no account like that in USM. --> VERIFIED |