Coder Social home page Coder Social logo

Comments (11)

dhschall avatar dhschall commented on May 31, 2024 1

So I might now what the reason is.
The control pane runs an groovy image which is ubuntu 20.10. There seems to be that there was a bug in the resource list.
I fixed this bug by updating the source.list

cat > /etc/apt/sources.list << EOF
deb http://old-releases.ubuntu.com/ubuntu/ groovy main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ groovy-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ groovy-security main restricted universe multiverse
# Optional
deb http://old-releases.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse
EOF

However, then docker-compose binary fail and so on.
I think its not the right approach to fix it for ubuntu 20.10. We should define the version that is used for the control pane. Where can I do that?

from vswarm.

dhschall avatar dhschall commented on May 31, 2024

When I log into the runner container on the machine and follow the steps in the script already apt update fail
image

I think the problem is somewhere in the container config

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

the problem is in the apt repos configured. it's not about the container.

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

@shyamjesal @boramalper guys, could you please comment on that? I think that the docker image should be 20.04... I don't know why it's 20.10 at all

from vswarm.

shyamjesal avatar shyamjesal commented on May 31, 2024

Ubuntu 20.10 is deprecated. Changing the image to 20.04 should fix it. Source
I don't remember why it's 20.10 :-(

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

Ubuntu 20.10 is deprecated. Changing the image to 20.04 should fix it. Source

I don't remember why it's 20.10 :-(

Can you please elaborate how if you know?

from vswarm.

shyamjesal avatar shyamjesal commented on May 31, 2024

This is stock-knative runner. right?

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

Yes

from vswarm.

shyamjesal avatar shyamjesal commented on May 31, 2024

This is the flow:

  1. "Download knative-kind installation script": step in setup-host.yaml copies a script located here as install-konk.
  2. This script would be executed by create-runner.yaml.
  3. When executed, install-konk calls install.sh script to create a kind container.
  4. install.sh has kind image version hardcoded in K8S_VERSION variable. This currently is "v1.21.1@sha256:fae9a58f17f18f06aeac9772ca8b5ac680ebbed985e266f711d936e91d113bad".

Changing this version should work. The latest one in this series is v1.21.10.

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

@dhschall, I still experience a failure although I pulled the latest repo's version.

TASK [Create a Knative-KinD Cluster] ***********************************************************************************************************************************************************************
fatal: [icnals11]: FAILED! => {"changed": true, "cmd": "KIND_CLUSTER_NAME=sweltering-amphibian /tmp/scripts/install-konk.sh", "delta": "0:00:00.003085", "end": "2022-03-29 13:36:27.970880", "msg": "non-zero return code", "rc": 127, "start": "2022-03-29 13:36:27.967795", "stderr": "/bin/sh: 1: /tmp/scripts/install-konk.sh: not found", "stderr_lines": ["/bin/sh: 1: /tmp/scripts/install-konk.sh: not found"], "stdout": "", "stdout_lines": []}

any suggestion?

from vswarm.

ustiugov avatar ustiugov commented on May 31, 2024

ok, had to set up the remote host again.

from vswarm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.