Skip to content

Create JupyterLab operation fails with AttributeError #13

@mboglesby

Description

@mboglesby

Running a 'create jupyterlab' operation with the NetApp DataOps Toolkit for Kubernetes fails with the following error:

(dtk-bug) moglesby@moglesby-mac-1 ~ % netapp_dataops_k8s_cli.py create jupyterlab -w ws1 -s 10Gi
Set workspace password (this password will be required in order to access the workspace):
Re-enter password:
Traceback (most recent call last):
  File "/Users/moglesby/venv/dtk-bug/bin/netapp_dataops_k8s_cli.py", line 787, in <module>
    create_jupyter_lab(workspace_name=workspaceName, workspace_size=workspaceSize, storage_class=storageClass,
  File "/Users/moglesby/venv/dtk-bug/lib/python3.9/site-packages/netapp_dataops/k8s/__init__.py", line 638, in create_jupyter_lab
    hashedPassword = IPython.lib.passwd(workspace_password)
AttributeError: module 'IPython.lib' has no attribute 'passwd'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions