Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Notebooks on Vertex AI Workbench prompts for password when using sudo #1992

Closed
gomrinal opened this issue Feb 22, 2023 · 8 comments
Closed
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.

Comments

@gomrinal
Copy link

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

If you are still having issues, please be sure to include as much information as possible:

Environment details

  • OS type and version:
  • Python version: python --version
  • pip version: pip --version
  • google-cloud-aiplatform version: pip show google-cloud-aiplatform

Steps to reproduce

  1. Create any managed notebook on vertex ai workbench using GUI
  2. Try installing any library for ex sudo apt install iputils-ping
  3. It asks for a password. What would be the password if the notebooks are created via service account?

Can you provide sudo permissions by default when somebody spins up vertex ai notebook?

It seems like a long standing issue people are facing in Vertex AI workbench. In this following some people have tried with CLI however it would be better if either root access is given by default or UI has option to select it as well as most of our users prefer UI for spinning notebooks rather than CLI.

https://stackoverflow.com/questions/66994050/how-do-i-get-root-access-to-ai-platform-notebook-within-gcp

Code example

Not using code. Just using GUI to spin up managed and user managed notebooks
@product-auto-label product-auto-label bot added the api: vertex-ai Issues related to the googleapis/python-aiplatform API. label Feb 22, 2023
@nchien2
Copy link

nchien2 commented Mar 9, 2023

I am also running into this issue. Did you ever find a workaround or fix?

@gomrinal
Copy link
Author

No workaround as of now! Only option I see is by creating a notebook on workbench using cli? (Haven't tried yet)

@gomrinal
Copy link
Author

gomrinal commented May 9, 2023

Screenshot 2023-05-09 at 12 46 42 PM
Finally It's here folks! @nchien2

@gomrinal gomrinal closed this as completed May 9, 2023
@WarrenGreen
Copy link

@gomrinal Where is this option?

@mzhou-mailchimp
Copy link

The checkbox is in the advanced options (during the creation of your notebook) -> IAM & Security section.

@jedi4ever
Copy link

The option is only for User Managed Notebook Instances

@happyeungin
Copy link

The option is only for User Managed Notebook Instances

There is no such option under security.

@GameboyColor32
Copy link

The option is only for User Managed Notebook Instances

There is no such option under security.

There is, but only for user manager notebooks, under advanced options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.
Projects
None yet
Development

No branches or pull requests

7 participants