Skip to main content

r/openserverless


virtualenv does not exist
virtualenv does not exist

Hi,
on my WSL local machine, I'm trying to deploy a Go function (I also tried with a JavaScript function), but I encountered the following error:

~/repo_personal/spread_etfs_backend$ ops ide deploy

virtualenv does not exist

ops: Failed to run task "deploy": exit status 1

task execution error: ops: Failed to run task "deploy": exit status 1

I followed the tutorial and all the previous steps went smoothly.

Any idea?

EDIT: I switched to the Linux server installation. Then I resolved the issue by installing Virtualenv using:

pipx install virtualenv

After that, I encountered another issue due to the absence of Node.js, so I installed it. Now I’m facing this error:

$ ops ide deploy

/home/x/.ops/tmp/deploy.pid

PID 1693674

> Scan:

> Deploying:

build process exited with code 0

UPLOAD ASSETS FROM web

required S3_API_URL environment variable is not set!

ops: Failed to run task "upload": exit status 1

task execution error: ops: Failed to run task "upload": exit status 1

ops: Failed to run task "deploy": exit status 1

task execution error: ops: Failed to run task "deploy": exit status 1


Linux server installation issue
Linux server installation issue

Hi,
I'm trying to install openserverless on a linux server following the documentation on the web site.

When I run

ops setup server abc.mydomain.co.uk ubuntu

from my mac I got this error:

👏 Say thanks for k3sup and sponsor Alex via GitHub: https://github.com/sponsors/alexellis
error: error validating "cert-manager.yaml": error validating data: failed to download openapi: Get "https://abc.mydomain.co.uk:6443/openapi/v2?timeout=32s": dial tcp 152.67.148.37:6443: connect: operation timed out; if you choose to ignore these errors, turn validation off with --validate=false
ops: Failed to run task "create": exit status 1
task execution error: ops: Failed to run task "create": exit status 1
ops: Failed to run task "server": exit status 1
task execution error: ops: Failed to run task "server": exit status 1

The first odd part is the address in the url, it is using https instead of http.
The apithost config is empty (reading the doc it's ok in the minimal installation):

% ops debug apihost
OPERATOR_CONFIG_APIHOST= The API host is not valid: An API host must be provided.

any idea how to fix it? I even tried defining:

  • the apihost only

  • the apihost only + email to enable ssl

but the outcome is always the same

any idea? thx


Help: error trying to setup devcluster on windows 11
Help: error trying to setup devcluster on windows 11

Hi all,

has anybody ever faced the errors below when trying to install openserverless on Windows 11 Enterprise?

ops: Failed to run task "create": exit status 1

task execution error: ops: Failed to run task "create": exit status 1

ops: Failed to run task "devcluster": exit status 1

task execution error: ops: Failed to run task "devcluster": exit status 1

I'm trying to install as single node for development purpose on a PC with 64GB of RAM. I've already installed all tre pre-requisite stack and tried to redo install from scratch but without success.

Any help would be much appreciated.

Thanks