Skip to content

ol worker init Fails During Initialization with Exit Status 1 #260

@Arun0A

Description

@Arun0A

Environment Details

  • Operating System: MX Linux (VirtualBox VM)
  • Docker Version: Docker version 27.3.1, build ce12230
  • OpenLambda Version: Latest cloned from GitHub

System Resources

  • Disk Space: 16 GB (available)
  • Memory: 4 GB

Steps to Reproduce

1. Clone OpenLambda Repository

git clone https://github.com/open-lambda/open-lambda.git
cd open-lambda

2. Build Docker Images

make imgs/ol-wasm

3. Verify Docker Images

$ docker images
REPOSITORY    TAG       IMAGE ID       CREATED             SIZE
ol-wasm       latest    60caa6e8c79f   16 minutes ago      2.68GB
ol-min        latest    22c15eb4e98f   About an hour ago   520MB
ubuntu        22.04     97271d29cb79   2 months ago        77.9MB
hello-world   latest    d2c94e258dcb   19 months ago       13.3kB

4. Initialize OpenLambda

./ol worker init

Observed Behavior

The command fails with the following error:

Init OL directory at /home/***/projects/open-lambda/default-ol
    Extract 'ol-wasm' Docker image to /home/***/projects/open-lambda/default-ol/lambda (may take several minutes).
    Create handler/host/packages/resolve.conf over base image.
    Create /dev/(null,random,urandom) over base image.
exit status 1

Expected Behavior

The ol worker init command should successfully initialize the worker environment and prepare it for execution.

Troubleshooting Attempts

Docker Verification

  • Docker service is active, and other images work fine.

Image Rebuild

make imgs/ol-wasm

Directory Cleanup

rm -rf /home/***/projects/open-lambda/default-ol

Manual Image Extraction

docker save ol-wasm | tar -x -C /home/***/projects/open-lambda/default-ol/lambda
  • This completed successfully but did not resolve the issue.

Debugging Attempts

Debug Mode

DEBUG=1 ./ol worker init
  • Produced no additional information beyond the exit status 1 error.
  • No Docker logs indicating an issue with the container.

Request for Assistance

Could you help investigate why the initialization fails with exit status 1? Any guidance on additional debugging steps or fixes would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions