pipeline-service icon indicating copy to clipboard operation
pipeline-service copied to clipboard

ckcp demo workspace not usable

Open adambkaplan opened this issue 2 years ago • 3 comments

When deploying the ckcp cluster inside CodeReadyContainers, I get the following error when trying to use the "demo" kcp workspace:

$ kubectl kcp workspace use demo
error: current URL "https://ckcp-ckcp.apps-crc.testing:443" does not point to cluster workspace

Dumping the workspace YAML, it appears that the demo workspace is not yet initialized:

apiVersion: tenancy.kcp.dev/v1alpha1
kind: Workspace
metadata:
  clusterName: admin
  creationTimestamp: "2022-04-29T18:11:45Z"
  generation: 1
  name: demo
  resourceVersion: "169"
spec:
  inheritFrom: admin
status:
  conditions:
  - lastTransitionTime: "2022-04-29T18:11:45Z"
    message: No shards are available to schedule Workspaces to.
    reason: Unschedulable
    severity: Error
    status: "False"
    type: WorkspaceScheduled
  - lastTransitionTime: "2022-04-29T18:11:45Z"
    message: No connection information on target WorkspaceShard.
    reason: Missing
    severity: Error
    status: "False"
    type: WorkspaceURLValid
  phase: Initializing

Is the KubeConfig URL for kcp missing the path to the root workspace? Is there additional configuration needed to get a demo workspace set up?

adambkaplan avatar Apr 29 '22 19:04 adambkaplan

The ckcp environment setup leaves you in a "fresh" deployment of KCP and pipeline service, with root as the only available workspace. It is up to you to create additional workspaces with kubectl kcp workspace create my_workspace.

Roming22 avatar May 03 '22 19:05 Roming22

@adambkaplan ckcp has been developed further since this issue is raised. Please confirm if this issue still exists. Else, we could close the issue.

bnallapeta avatar Jun 30 '22 03:06 bnallapeta

Marking the issue as stale. @adambkaplan Please reach out if the issue should not be closed.

Roming22 avatar Oct 17 '22 15:10 Roming22

KCP being out of the picture, I'm closing this issue as deprecated.

Roming22 avatar Feb 22 '23 18:02 Roming22

Fixing status.

Roming22 avatar Feb 23 '23 12:02 Roming22