| Summary: | [RFE] Should show domain id when domain show or domain list | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Wei Sun <wsun> | |
| Component: | oc | Assignee: | Jordan Liggitt <jliggitt> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | low | Docs Contact: | ||
| Priority: | high | |||
| Version: | 2.x | CC: | lxia | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1067301 (view as bug list) | Environment: | ||
| Last Closed: | 2014-01-30 00:48:37 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1067301 | |||
|
Description
Wei Sun
2013-09-05 10:00:52 UTC
Need to figure out a good solution for this. We don't want to use name in scope, because names can change. *** Bug 1043896 has been marked as a duplicate of this bug. *** We can get domain id via REST API now, on devenv_4148. # curl -k -u lxia https://ec2-54-226-88-9.compute-1.amazonaws.com/broker/rest/domains -d nolinks=true -X GET Enter host password for user 'lxia': {"api_version":1.6,"data":[{"allowed_gear_sizes":["small","medium","large"],"creation_time":"2013-12-18T05:21:10Z","id":"52b130c649d56d4711000051","members":[{"explicit_role":null,"from":[{"type":"owner","role":"admin"}],"id":"52b1168b49d56d4711000001","login":"lxia","owner":true,"role":"admin","type":"user"},{"explicit_role":"view","id":"52b1306c49d56d4711000049","login":"lxia","owner":false,"role":"view","type":"user"}],"name":"lxia","suffix":"dev.rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":"domains","version":"1.6"} Verified in devenv_4154 with rhc-1.19.2 Now could show domain id via `rhc domain show` and `rhc domain list` Result: [wsun@dhcp-8-229 test]$ rhc domain show -n wsundev4154 Domain wsundev4154 (owned by wsun) --------------------------------------------- Created: 10:57 AM ID: 52b260a8bb50a3796800000c Allowed Gear Sizes: small The domain wsundev4154 exists but has no applications. You can use 'rhc create-app' to create a new application. [wsun@dhcp-8-229 test]$ rhc domain list Domain wsundev4154 (owned by wsun) --------------------------------------------- Created: 10:57 AM ID: 52b260a8bb50a3796800000c Allowed Gear Sizes: small You have access to 1 domain. |