Skip to content

Bug: getting permission denied error in orchestrator  #5018

@jatin-jangir-0220

Description

@jatin-jangir-0220

📜 Description

  • while opening old ci-logs the devtron container is restarting
  • the issue will be faced in other file operations

CAUSE

  • in security context the devtron user-id is 1000
  • new ubuntu release have 24.04 version is latest and on dockerfile ubuntu latest image is used as base image.
  • in ubuntu 24.04 they introduced new user which is 'ubuntu' with user-id '1000' and thus devtron user is created with id 1001.

👟 Reproduction steps

  • build devtron image with ubuntu 24.04 version

👍 Expected behavior

  • devtron user must able to do all operations without permission issues

👎 Actual Behavior

  • container getting restarted

☸ Kubernetes version

any

Cloud provider

any

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

  1. add digest in base image at dockerfile
  2. change user id of devtron user
  3. replace ubuntu user with devtron (need testing)

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#9627

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions