Git Product home page Git Product logo

Comments (17)

rhatdan avatar rhatdan commented on June 9, 2024

I am seeing the same thing.

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

Strange. It works fine for me :/ What OS are you testing on?

from cri-o.

runcom avatar runcom commented on June 9, 2024

Fedora 24

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

@runcom okay, I am testing on rawhide.

from cri-o.

rhatdan avatar rhatdan commented on June 9, 2024

I am testing on rawhide and seeing the issue. Perhaps there is something on your box making this work. Have you tried in a VM?

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

@rhatdan could be possible. I'll try it in a VM where I haven't run ocid before and report back here.

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

Hmm, I tried it in a new VM but still can't reproduce the issue.

from cri-o.

cyphar avatar cyphar commented on June 9, 2024

This works for me on openSUSE. Do you see the following line of debug output in the ocid terminal?

DEBU[0018] copying infra rootfs binary: /home/cyphar/src/cri-o/pause/pause -> /var/lib/ocid/graph/vfs/pause/rootfs/pause

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

One thing to ensure is whether the runc version is new enough (>=1.0.0.rc1)

from cri-o.

rhatdan avatar rhatdan commented on June 9, 2024

rpm -q runc
runc-1.0.0-1.rc1.git04f275d.fc26.x86_64

from cri-o.

mrunalp avatar mrunalp commented on June 9, 2024

@rhatdan That looks like it should work. Maybe tomorrow I can access your VM and take a look.

from cri-o.

runcom avatar runcom commented on June 9, 2024

figured this out - @rhatdan you need to rm -rf /var/lib/ocid/graph and restart ocid (because that directory is already populated with a rootfs and it's failing to locate the binary somehow)

from cri-o.

runcom avatar runcom commented on June 9, 2024

feel free to close this if removing the graph dir solves this issue for you

from cri-o.

rhatdan avatar rhatdan commented on June 9, 2024

Yup that fixes the issue. Although we probably should figure this out.

from cri-o.

rhatdan avatar rhatdan commented on June 9, 2024

I now notice that the SELinux labels are not stored in the config.json.

from cri-o.

cyphar avatar cyphar commented on June 9, 2024

It should be noted that once #28 lands, we'll be able to entirely swap out the infra image setup code with OCI image setup code -- so the current hack I have of copying a static binary will no longer be necessary.

from cri-o.

runcom avatar runcom commented on June 9, 2024

I now notice that the SELinux labels are not stored in the config.json.

I'm working on this as part of #17 - we can save those as annotations I guess?

from cri-o.

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.