Tag tries to guess at whether you mean an image stream ref or a regular image ref. In your case, it saw the SRC arg as 172.30.1.1 (registry) development (namespace) and (name) ruby22-centos7 and assumed you meant a docker image (which that is). However, it then tries to import the image and fails because the registry internally is not running over https by default.
If you use tag with a short name
It assumes you mean an image stream and should do what you want. You can use the --source=X flag to exactly specify which source to use. You can also use --insecure which would allow the import attempt to succeed, but whenever you're promoting images doing so with a direct image stream tag is much faster.
In retrospect this has confused many people, but we can't change it without breaking backwards compatibility.
On Jun 6, 2017, at 7:43 AM, Tim Dudgeon <tdudgeon ml gmail com> wrote: