Bug 1468165
| Summary: | Fail to import-image tag with the error msg unexpected | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | ge liu <geliu> | |
| Component: | Image Registry | Assignee: | Jim Minter <jminter> | |
| Status: | CLOSED WONTFIX | QA Contact: | ge liu <geliu> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.6.0 | CC: | aos-bugs, bparees, ccoleman, mfojtik, pweil, trankin, xtian | |
| Target Milestone: | --- | |||
| Target Release: | 3.7.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1469916 1471685 (view as bug list) | Environment: | ||
| Last Closed: | 2017-10-03 19:10:04 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: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1469916, 1471685 | |||
|
Description
ge liu
2017-07-06 07:24:34 UTC
import-image deals with image streams, not with tags. The specified tag ":latest" no longer exists after you delete it. The error message should be better, but this is not new behavior. Time to start spreading the registry/image wealth. Let's let Jim have a crack at this. oc import-image is inconsistent and should in due course be deprecated in favour of a better designed replacement, as the changes that are required cannot be made without breaking API. In step 5, the command "oc tag --source=docker centos/ruby-22-centos7:latest ruby-22-centos7:latest" should have been used. "--from" should not be used when an imagestream already exists. Given the intent to replace the tool, it is not intended to update the error message. |