Giter Site home page Giter Site logo

oc debug enhancement about enhancements HOT 5 CLOSED

openshift avatar openshift commented on August 11, 2024
oc debug enhancement

from enhancements.

Comments (5)

soltysh avatar soltysh commented on August 11, 2024

This looks like a bug to me, rather than enhancement, moving to https://bugzilla.redhat.com/show_bug.cgi?id=1791374

from enhancements.

soltysh avatar soltysh commented on August 11, 2024

/close

from enhancements.

openshift-ci-robot avatar openshift-ci-robot commented on August 11, 2024

@soltysh: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from enhancements.

ingvagabund avatar ingvagabund commented on August 11, 2024

@kaovilai checking the latest version of oc (built from the master HEAD), command with parameters are accepted:

$ oc debug -q node/ip-10-0-134-68.us-west-1.compute.internal -- mkdir -p /host/var/lib/rook
$ oc debug -q node/ip-10-0-134-68.us-west-1.compute.internal -- ls -l -d /host/var/lib/rook
drwxr-xr-x. 2 root root 6 May 15 08:59 /host/var/lib/rook
$ oc debug -q node/ip-10-0-134-68.us-west-1.compute.internal -- rm -rf /host/var/lib/rook
$ oc debug -q node/ip-10-0-134-68.us-west-1.compute.internal -- ls -l -d /host/var/lib/rook
ls: cannot access /host/var/lib/rook: No such file or directory
error: non-zero exit code from debug container

I can't find any particular change in the code adding the support. Can you check the latest version of oc to see if your issue is solved? What's the version of oc you used to reproduce your issue with?

from enhancements.

kaovilai avatar kaovilai commented on August 11, 2024

@ingvagabund

I can't find any particular change in the code adding the support. Can you check the latest version of oc to see if your issue is solved? What's the version of oc you used to reproduce your issue with?

As old as 2016 (https://www.mankier.com/1/oc-debug) Not sure when -q was added.

I won't be able to try the latest version anytime soon. Glad there exists a version where it works though.

from enhancements.

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.