Skip to content

[BUG] podman copy to internal crc registry fails connection refused #3246

Open
@ayates83

Description

General information

  • OS: OSX 12.4 (21F79)
  • Hypervisor: kvm? whatever crc installs for osx
  • Did you run crc setup before starting it (Yes/No)? Yes
  • Running CRC on: Laptop

CRC version

CRC version: 2.4.1+6b954d40
OpenShift version: 4.10.14
Podman version: 4.0.2

CRC status

 crc status --log-level debug
DEBU CRC version: 2.4.1+6b954d40                  
DEBU OpenShift version: 4.10.14                   
DEBU Podman version: 4.0.2                        
DEBU Running 'crc status'                         
DEBU Checking file: /Users/userid/.crc/machines/crc/.crc-exist 
DEBU Checking file: /Users/userid/.crc/machines/crc/.crc-exist 
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1 
DEBU Using ssh private keys: [/Users/userid/.crc/machines/crc/id_ecdsa /Users/userid/.crc/cache/crc_vfkit_4.10.14_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: <nil>, output: 32737570816 18435547136 /sysroot 
DEBU Unexpected operator status for etcd: RecentBackup 
CRC VM:          Running
OpenShift:       Running (v4.10.14)
Podman:          
Disk Usage:      18.44GB of 32.74GB (Inside the CRC VM)
Cache Usage:     37GB
Cache Directory: /Users/userid/.crc/cache

CRC config

- consent-telemetry                     : no

Host Operating System

ProductName:	macOS
ProductVersion:	12.4
BuildVersion:	21F79

Steps to reproduce

  1. oc login -u kubeadmin -p $pw https://https://api.crc.testing:6443
  2. REG=$(oc get route -n openshift-image-registry | awk '{print $2}' | grep -v HOST)
  3. podman login -u kubeadmin -p $(oc whoami -t)
  4. podman tag localhost/image ${REG}/project/image:latest
  5. podman push ${REG}/project/image:latest

Expected

expecting the copy to succeed to the internal registry

Actual

  1. podman push ${REG}/project/image:latest
    Error: error pushing image "default-route-openshift-image-registry.apps-crc.testing/project/image:latest": trying to reuse blob sha256:5d256cdcff666d660337d13f80caec5485cb8997642ce5e97cf4191cb5a06585 at destination: pinging container registry default-route-openshift-image-registry.apps-crc.testing: Get "https://default-route-openshift-image-registry.apps-crc.testing/v2/": dial tcp 127.0.0.1:443: connect: connection refused

Logs

See attached debug log from crc start --log-level debug

[crc-debug.txt](https://github.com/code-ready/crc/files/9043737/crc-debug.txt)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingstatus/need more informationIssue needs more information before it will be looked at

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions