| Summary: | can not rename a domain using oo commands | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | saurabh sharma <saurap> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.0 | CC: | bleanhar, jhou, jialiu, libra-onpremise-devel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-23 14:02:09 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
saurabh sharma
2013-11-21 20:09:41 UTC
In OSO environment, this command works well to update the domain name. oo-admin-ctl-domain -l jhou+1 -n jhou -c update --new_namespace jhou1 "oo-admin-ctl-domain -l <user> -n <oldNS> -c update -n <newNS>" fails because it has 2 '-n'? Yes, but the same command works for OSE 1.2 with 2 '-n' whereas does not for 2.0. I will use the latter command you recommended for 2.0. Actually oo-admin-ctl-domain have some bugs in ose-1.2, more details refer to BZ#991398 and BZ#1006223, and it is refactored in upstream. And even in ose-1.2, seem from help message, user does not need input <oldNS> in command line, the -n option is used to input new domain_name. In ose-2.0, -n is used to input old domain_name, because in ose-2.0, user is allowed to create multiple domain. OSE-1.2: -n|--namespace <Namespace> Namespace for application(s) (alphanumeric - max 16 chars) (required) OSE-2.0: -n|--namespace <Namespace> Namespace for application(s) (alphanumeric - max 16 chars) (required) --new_namespace <Namespace> New namespace for application(s) (alphanumeric - max 16 chars) (required for --comand update) From the comments I believe oo-admin-ctl-domain is working as expected. If the man page isn't clear or you have and other problems let us know. |