Skip to content

Shell is not accessible when shm is enabled. #295

@kyoungbinkim

Description

@kyoungbinkim

I follwed https://akash.network/docs/getting-started/stack-definition-language/#shared-memory-shm and https://gist.github.com/chainzero/0dea9f2e1c4241d2e4d490b37153ec86 page. I've tried multiple providers, but they didn't work.

Describe the bug
A clear and concise description of what the bug is. Please include the following:

  • account address = akash1tn8pwdv2c5qlxp3m6pcq7q4k4py2ca40zl46es
  • deployment sequence =
---
version: "2.0"
services:
  service-1:
    image: ubuntu:22.04
    expose:
      - port: 80
        as: 80
        to:
          - global: true
    params:
      storage:
        shm:
          mount: /dev/shm
    command:
      - bash
      - "-c"
    args:
      - >-
        apt-get update;apt-get install nano; sleep infinity
profiles:
  compute:
    service-1:
      resources:
        cpu:
          units: 12
        memory:
          size: 32Gb
        storage:
          - size: 40Gi
          - name: shm
            size: 2Gi
            attributes:
              persistent: false
              class: ram
        gpu:
          units: 1
          attributes:
            vendor:
              nvidia:
                - model: p100
                - model: v100
                - model: rtxa6000
                - model: rtx3070
                - model: rtx3060
                - model: rtx3090
                - model: rtx8000
                - model: rtx4090
                - model: t4
                - model: a6000
  placement:
    dcloud:
      pricing:
        service-1:
          denom: uakt
          amount: 10000

deployment:
  service-1:
    dcloud:
      profile: service-1
      count: 1
  • deploy.yaml
  • group sequence if there is more than one group

To Reproduce
Steps to reproduce the behavior:

  1. deploy sdl yaml (enabled shm)
  2. click shell

Expected behavior
when shm is enabled, shell doesn't work.

Screenshots

Image

Image

Metadata

Metadata

Labels

repo/providerAkash provider-services repo issues

Type

No type

Projects

Status

Backlog (not prioritized)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions