Skip to content

[BUG]CRC Create New resource form shows empty page as a result if crc is never used before (~/.crc folder does not exist)  #187

Open
@dgolovin

Description

General information

  • OS: macOS M1
  • Hypervisor: How do I get this?
  • Did you run crc setup before starting it (No)
  • Running CRC on: Laptop

CRC version

% crc version
CRC version: 2.28.0+e1f42d
OpenShift version: 4.13.14
Podman version: 4.4.4

CRC status

crc status
crc does not seem to be setup correctly, have you run 'crc setup'?

CRC config

Host Operating System

sw_vers 
ProductName:		macOS
ProductVersion:		14.0
BuildVersion:		23A344

Steps to reproduce

  1. Make sure ~/.crc does not exists
  2. Install CRC extension
  3. Start podman-desktop
  4. Go to Settings/Resources
  5. Open Task manager and search for crc (there should be one instance running)
  6. Press Create New for OpenShift Local
  7. Press 'Create'

Expected

Screenshot 2023-10-30 at 11 32 49 PM

Actual

image

Logs

main ↪️ [openshift-local] error while getting preset RequestError: connect ENOENT /Users/eskimo/.crc/crc-http.sock
    at ClientRequest.<anonymous> (/Users/eskimo/Sources/crc-extension/dist/extension.js:8749:101)
    at Object.onceWrapper (node:events:629:26)
    at ClientRequest.emit (node:events:526:35)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions