| Summary: | Can't create a user with rhevm-shell: User [userName] required for add | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ohad Basan <obasan> |
| Component: | ovirt-engine-cli | Assignee: | Michael Pasternak <mpastern> |
| Status: | CLOSED WORKSFORME | QA Contact: | Elena <edolinin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, bazulay, eedri, iheim, knesenko, obasan, oramraz, Rhev-m-bugs, srevivo, yeylon |
| Target Milestone: | --- | Keywords: | AutomationBlocker, AutomationTriaged |
| Target Release: | 3.3.0 | Flags: | mpastern:
needinfo?
(obasan) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-11 15:01:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ohad Basan
2013-11-06 13:37:05 UTC
i cannot reproduce this:
[RHEVM shell (connected)]# list domains
id : 71612e6c-6162-2e74-6c76-2e7265646861
name : qa.lab.tlv.redhat.com
id : 696e7465-726e-616c-696e-7465726e616c
name : internal
[RHEVM shell (connected)]# list users --domain-identifier 71612e6c-6162-2e74-6c76-2e7265646861 --query "name=mpastern"
id : 895a8649-8dcb-4e6b-b609-b407a0549f03
name : mpastern
[RHEVM shell (connected)]# add user
correlation_id domain-id domain-name expect user_name
[oVirt shell (connected)]# add user --user_name mpastern --domain-id 71612e6c-6162-2e74-6c76-2e7265646861
id : 895a8649-8dcb-4e6b-b609-b407a0549f03
name : mpastern
domain-id : 71612e6c-6162-2e74-6c76-2e7265646861
domain-name: qa.lab.tlv.redhat.com
user_name : mpastern.tlv.redhat.com
[RHEVM shell (connected)]# remove user mpastern
status-state: complete
[RHEVM shell (connected)]# add user --user_name mpastern.tlv.redhat.com --domain-name qa.lab.tlv.redhat.com --expect '201-created' --correlation_id 324
id : 895a8649-8dcb-4e6b-b609-b407a0549f03
name : mpastern
domain-id : 71612e6c-6162-2e74-6c76-2e7265646861
domain-name: qa.lab.tlv.redhat.com
user_name : mpastern.tlv.redhat.com
[RHEVM shell (connected)]# remove user mpastern
status-state: complete
[RHEVM shell (connected)]# add user --user_name 'mpastern.tlv.redhat.com' --domain-name 'qa.lab.tlv.redhat.com' --expect '201-created' --correlation_id 324
id : 895a8649-8dcb-4e6b-b609-b407a0549f03
name : mpastern
domain-id : 71612e6c-6162-2e74-6c76-2e7265646861
domain-name: qa.lab.tlv.redhat.com
user_name : mpastern.tlv.redhat.com
please provide reproducer
closing this bug, please reopen it if you have reproducer. |