Skip to content

The podman run command does not work when a devfile is configured with a parent devfile #23728

@tolusha

Description

@tolusha

Describe the bug

The podman run command does not work when a devfile is configured with a parent devfile

$ podman run  <...>
ERRO[0000] running `/usr/bin/newuidmap 473 0 1000 1 1 10000 65536`: newuidmap: write to uid_map failed: Operation not permitted
Error: cannot set up namespace using "/usr/bin/newuidmap": exit status 1

Che version

next (development version)

Steps to reproduce

  1. Deploy Eclipse Che
  2. Enable container run capabilities
  3. Start a workspace from a devfile which has a parent

Expected behavior

Command runs successfully

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Environment

Linux

Eclipse Che Logs

Additional context

devfile:

schemaVersion: 2.3.0
metadata:
  name: udi-parent-uri-sample
  displayName: Sample Devfile Using UDI Parent (Raw URI)
  description: Devfile that inherits from the Universal Developer Image using a raw devfile registry URI
  projectType: generic
  language: generic

parent:
  uri: https://registry.devfile.io/devfiles/udi/1.0.0

commands:
  - id: build
    exec:
      label: Build project
      component: tools
      commandLine: echo "Building project using UDI parent from raw URI..."
      group:
        kind: build
        isDefault: true

  - id: run
    exec:
      label: Run project
      component: tools
      commandLine: echo "Running project using UDI parent from raw URI..."
      group:
        kind: run
        isDefault: true

Metadata

Metadata

Assignees

Labels

area/devworkspace-operatorengine/devworkspaceIssues related to Che configured to use the devworkspace controller as workspace engine.kind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.team/BThis team is responsible for the Web Terminal, the DevWorkspace Operator.

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions