Coder Social home page Coder Social logo

Comments (9)

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@collabnix Thanks for the report. Can you please tell me more about your env? Are you using windows/mac/Linux, x86 or arm arch?

This is a work in progress and has gone through minimal testing.

Thanks.

from ddextension.

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@collabnix BTW, if it failed to install pachctl, you have likely successfully installed pachyderm through the extension. You can follow the instruction for step 2 in our installation doc to install pachctl -- https://docs.pachyderm.com/2.4.x/getting-started/local-deploy/docker/#2-install-pachctl-cli

You should also be able to go to HTTP://localhost to connect to the Console

Hope that unblocks you. Please share if you are successful with your deployment.

from ddextension.

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@collabnix The latest changes I've pushed have simplified the handling of installing pachctl. If you end up trying it, let me know if it worked.

This is still very early, so I understand if you'd wait for it to get to a better state. I'd still like to know your env.

from ddextension.

collabnix avatar collabnix commented on July 20, 2024

@nitinjainsj I am using Docker Desktop for Mac running on Apple M1 Pro.
I tried the latest version of extension and encounter the same issue.

image

I just followed the README.md and tried clicking on "Install" to see things happening but it still throws the same error.

from ddextension.

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@collabnix Thank you. I am going to find an M1 mac to test myself. In the interim, you can do "brew install [email protected]" on your mac terminal.

If you have kubectl installed on your machine, can you post "kubectl get pods".

Also if the rest of the installation went through, you should be able to launch "Console" from the button.

I'll keep you posted as soon as I have a version that I feel should work in your env.

from ddextension.

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@collabnix I may have found the root cause for your issue. Can you tell me which shell are you using? On the terminal it should be 'echo $SHELL'

from ddextension.

ajeetraina avatar ajeetraina commented on July 20, 2024

Hi @nitinjainsj It would be great if this Extension takes care of Pachyderm binaries too, so that one can install it in a single shot.

Does "Install' button takes care of Helm and PachD both?

echo $SHELL
/bin/zsh

from ddextension.

ajeetraina avatar ajeetraina commented on July 20, 2024

Hi @nitinjainsj
I installed Pachctl manually on my Mac terminal successfully.

pachctl
Access the Pachyderm API.

Environment variables:
  PACH_CONFIG=<path>, the path where pachctl will attempt to load your config.
  JAEGER_ENDPOINT=<host>:<port>, the Jaeger server to connect to, if PACH_TRACE
    is set
  PACH_TRACE={true,false}, if true, and JAEGER_ENDPOINT is set, attach a Jaeger
    trace to any outgoing RPCs.
  PACH_TRACE_DURATION=<duration>, the amount of time for which PPS should trace
    a pipeline after 'pachctl create-pipeline' (PACH_TRACE must also be set).

Usage:
  pachctl [command]

Administration Commands:
  auth         Auth commands manage access to data in a Pachyderm cluster
  enterprise   Enterprise commands enable Pachyderm Enterprise features
  idp          Commands to manage identity provider integrations

Commands by Action:
  copy         Copy a Pachyderm resource.
  create       Create a new instance of a Pachyderm resource.
  delete       Delete an existing Pachyderm resource.
  diff         Show the differences between two Pachyderm resources.
  edit         Edit the value of an existing Pachyderm resource.
  finish       Finish a Pachyderm resource.
  get          Get the raw data represented by a Pachyderm resource.
  glob         Print a list of Pachyderm resources matching a glob pattern.
  inspect      Show detailed information about a Pachyderm resource.
  list         Print a list of Pachyderm resources of a specific type.
  put          Insert data into Pachyderm.
  restart      Cancel and restart an ongoing task.
  squash       Squash an existing Pachyderm resource.
  start        Start a Pachyderm resource.
  stop         Cancel an ongoing task.
  subscribe    Wait for notifications of changes to a Pachyderm resource.
  update       Change the properties of an existing Pachyderm resource.
  wait         Wait for the side-effects of a Pachyderm resource to propagate.

Other Commands:
  buildinfo    Print go buildinfo.
  completion   Print or install terminal completion code.
  config       Manages the pachyderm config.
  debug        Debug commands for analyzing a running cluster.
  draw         Draw an ASCII representation of an existing Pachyderm resource.
  exit         Exit the pachctl shell.
  fsck         Run a file system consistency check on pfs.
  license      License commmands manage the Enterprise License service
  logs         Return logs from a job.
  mount        Mount pfs locally. This command blocks.
  port-forward Forward a port on the local machine to pachd. This command blocks.
  resume       Resume a stopped task.
  run          Manually run a Pachyderm resource.
  shell        Run the pachyderm shell.
  unmount      Unmount pfs.
  version      Print Pachyderm version information.

Additional help topics:
  branch       Docs for branches.
  commit       Docs for commits.
  datum        Docs for datums.
  file         Docs for files.
  job          Docs for jobs.
  object       Docs for objects.
  pipeline     Docs for pipelines.
  repo         Docs for repos.
  transaction  Docs for transactions.

Use "pachctl [command] --help" for more information about a command.
ajeetraina@Docker-Ajeet-Singh-Rainas-MacBook-Pro ddextension % 

I can even access it via Extension when I directly click "Console" button

image

But when I try to click "Install" button it complains that pachctl is not installed

image

Quick Suggestions:

The console button works great but it should open up the console in the Docker Desktop rather than redirecting it to an external Web URL.

from ddextension.

nitinjainsj avatar nitinjainsj commented on July 20, 2024

@ajeetraina The extension will deploy everything you need... pachd, pachctl, console, notebook. If you type in kubectl get pods, you'll see all the pods running. The issue you are running into is a tricky one... pachctl needs to be installed on the user host machine (Mac, Linux, Windows). Every user has a slightly different setup and has different levels of permissions to install new software, different shells, etc. In your case, you are using zsh. The script running the install is a bash script. Hence in your env. it is not finding the right paths to check and/or install new software (pachctl) -- hence the failures. Our goal is to install the binary in the least privileged mode, so when we release it any user can install it on their system.

On the suggestion of opening Console in docker desktop -- since docker desktop has its native UI (i.e. not a browser) it will make porting any webapp (like Console) to DD a significant project (which is likely not worth the overall effort).

Based on your updates, seems like you've got everything running on your machine. Please join our community slack channel to ask for any help. Our team will be happy to assist you.

from ddextension.

Related Issues (1)

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.