We are aware of the following issues using Data Science & AI Workbench. If you’re experiencing other unexpected behavior, consider checking our Support Knowledge Base.
Project is stuck in loading state on creation when email address is used as username
You cannot use an email address for a username in Workbench. If your username is an email address and you attempt to create a project, it will appear to be stuck in a loading state. The project will disappear when you refresh the page.WorkaroundLog in to your Keycloak admin console and update the username to some other entry that is not an email address. Usernames cannot be all numeric entries.
Subsequent Jobs using the “Run Now” schedule do not consume GPU resources
When scheduling a job using the “Run Now” schedule, the first run will consume GPU resources if a GPU resource profile is used. Each subsequent job after the first will not consume a GPU resource when the Run schedule button is used.Please note that this only occurs when the Run schedule button is selected multiple times for a job that is scheduled using the “Run Now” schedule. This does not affect any job scheduled with a cron expression.WorkaroundDo not run the same job multiple times on the “Run Now” schedule, using the Run schedule button. Instead, schedule the job with a cron expression.
Unable to obtain Zeppelin credentials
After selecting Credential and clicking the question mark icon in the Zeppelin editor, the user should be redirected to Zeppelin documentation explaining the process for obtaining credentials. However, that link is broken.WorkaroundRather than committing something sensitive in your code/repository through Zeppelin, create a Kubernetes secret in JSON format.
Attempting to install new PyViz packages in JupyterLab results in error
The new PyViz libraries aren’t compatible with the version of JupyterLab used in Workbench. For more information on PyViz compatibility, see pyviz/pyviz_comms.WorkaroundOpen the project in Jupyter Notebook.
Unable to download files when running JupyterLab in Chrome browser
If you attempt to download a file from within a JupyterLab project running on Chrome, you may see a Failed/Forbidden error, preventing you from being unable to download the file.WorkaroundOpen the project in Jupyter Notebook or another supported browser, such as Firefox or Safari, and download the file.
Unexpected metadata in a package breaks Workbench channel
The cspice and spiceypy packages mirrored from conda-forge include incompatible metadata, which causes a channeldata.json build failure, and makes the entire channel inaccessible.WorkaroundRemove these packages from the Workbench channel, or update your conda-forge mirror to pull in the latest packages.
Custom conda configuration file may be overwritten
If you add a custom .condarc file to your project using the anaconda-enterprise-cli spark-config command, it may get overwritten with the default config options when you deploy the project.WorkaroundPlace the .condarc file in a directory other than your home directory (/opt/continuum/.condarc).Note that the conda config settings are loaded from all of the files on the conda config search path. The config settings are merged together, with keys from higher priority files taking precedence over keys from lower priority files. If you need extra settings, start by adding the .condarc file to a lower priority file first and see if this works for you.For more information on how directory locations are prioritized, see this blog post.Starting in Workbench 5.3.1, you can also set global config variables via a config map, as an alternative to using the Workbench CLI.
Incorrect information in command output
When running the anaconda-enterprise-cli spark-config command to connect to a remote Hadoop Spark cluster from within a project, the output says you need to specify the namespace by including -n anaconda-enterprise.WorkaroundYou must omit -n anaconda-enterprise from the command, as Workbench is installed in the default namespace.
Error creating an environment immediately after installation
At least one project must exist on the platform before you can create an environment. If you attempt to create an environment first, the logs will say that the associated job is running, and the container isn’t ready.WorkaroundCreate a project first. The environment creation process will continue and successfully complete after a few minutes.
Cluster performance may degrade after extended use
The default limit for max_user_watches may be insufficient, and can be increased to improve cluster longevity.WorkaroundRun the following command on each node in the cluster, to help the cluster remain active:
Copy
Ask AI
sysctl -w fs.inotify.max_user_watches=1048576
To ensure this change persists across reboots, you’ll also need to run the following command:
Invalid issuer URL causes library to get stuck in a sync loop
When using the Workbench Operations Center to create an OIDC Auth Connector, if you enter an invalid issuer URL in the spec, the go-oidc library can get stuck in a sync loop. This will affect all connectors.WorkaroundOn a single node cluster, you’ll need to do the following to shut down gravity:
Find the gravity services:
Copy
Ask AI
systemctl list-units | grep gravity
You will see output like this:
Copy
Ask AI
# systemctl list-units | grep gravitygravity__gravitational.io__planet-master__0.1.87-1714.service loaded active running Auto-generated service for the gravitational.io/planet-master:0.1.87-1714 packagegravity__gravitational.io__teleport__2.3.5.service loaded active running Auto-generated service for the gravitational.io/teleport:2.3.5 package
GPU affinity setting reverts to default during upgrade
When upgrading Workbench from a version that supports the ability to reserve GPU nodes to a newer version (for example, 5.2.x > 5.2.3), the nodeAffinity setting reverts to the default value, thus allowing CPU sessions and deployments to run on GPU nodes.WorkaroundIf you had commented out the nodeAffinity section of the Config map in your previous installation, you’ll need to do so again after completing the upgrade process. See Setting resource limits for more information.
Install and post-install problems
Failed installationsIf an installation fails, you can view the failed logs as part of the support bundle in the failed installation UI.After executing sudo gravity enter you can check /var/log/messages to troubleshoot a failed installation or these types of errors.After executing sudo gravity enter you can run journalctl to look at logs to troubleshoot a failed installation or these types of errors:
Copy
Ask AI
journalctl -u gravity-23423lkqjfefqpfh2.service
Replace gravity-23423lkqjfefqpfh2.service with the name of your gravity service.
You may see messages in /var/log/messages related to errors such as “etcd cluster is misconfigured” and “etcd has no leader” from one of the installation jobs, particularly gravity-site. This usually indicates that etcd needs more compute power, needs more space, or is on a slow disk.Workbench is very sensitive to disk latency, so we usually recommend using a better disk for /var/lib/gravity on target machines and/or putting etcd data on a separate disk. For example, you can mount etcd under /var/lib/gravity/planet/etcd on the hosts.After a failed installation, you can uninstall Workbench and start over with a fresh installation.Failed on pulling gravitational/rbacIf the node refuses to install and fails on pulling gravitational/rbac, create a new directory TMPDIR before installing and provide write access to user 1000.“Cannot continue” error during installThis bug is caused by a previous failure of a kernel module check or other preflight check and subsequent attempt to reinstall.Stop the install, make sure the preflight check failure is resolved, and restart the install again.Problems during post-install or post-upgrade stepsPost-install and post-upgrade steps run as Kubernetes jobs. When they finish running, the pods used to run them are not removed. These and other stopped pods can be found using:
Copy
Ask AI
kubectl get pods -A
The logs in each of these three pods will be helpful for diagnosing issues in the following steps:
Pod
Issues in this step
ae-wagonwheel
post-install UI
install
installation step
postupdate
post-update steps
Post-install configuration doesn’t completeAfter completing the post-install steps, clicking FINISH SETUP may not close the screen, and prevent you from continuing.WorkaroundYou can complete the process by running the following commands within gravity:To determine the site name:
Copy
Ask AI
SITE_NAME=$(gravity status --output=json | jq '.cluster.token.site_domain' -r)
To complete the post-install process:
Copy
Ask AI
gravity --insecure site complete
Re-starting the post-install configurationTo reinitialize the post-install configuration UI—to regenerate temporary (self-signed) SSL certificates or reconfigure the platform based on your domain name—you must re-create and re-expose the service on a new port.First, export the deployment’s resource manifest:
Kernel parameters may be overwritten and cause networking errors
If networking starts to fail in Workbench, it may be because a kernel parameter related to networking was inadvertently overwritten.WorkaroundOn the master node running Workbench, run gravity status and verify that all kernel parameters are set correctly. If the Status for a particular parameter is degraded, follow the instructions here to reset the kernel parameter.
Removing collaborator from project with open session generates error
If you remove a collaborator from a project while they have a session open for that project, they might see a 500 Internal Server Error message.WorkaroundAdd the user as a collaborator to the project, have them stop their notebook session, then remove them as a collaborator. For more information, see how to share a project.To prevent collaborators from seeing this error, ask them to close their running session before you remove them from the project.Affected versions5.2.x
Workbench auth pod throws OutOfMemory Error
If you see an exception similar to the following, Workbench has exceeded the maximum heap size for the JVM:
Copy
Ask AI
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "default task-248"2018-08-29 23:13:26.327 UTC ERROR XNIO001007: A channel event listener threw an exception: java.lang.OutOfMemoryError: Java heap space (default I/O-36) [org.xnio.listener]2018-08-29 23:12:32.823 UTC ERROR UT005023: Exception handling request to /auth/realms/AnacondaPlatform/protocol/openid-connect/token: java.lang.OutOfMemoryError: Java heap space (default task-86) [io.undertow.request]2018-08-29 23:13:01.353 UTC ERROR XNIO001007: A channel event listener threw an exception: java.lang.OutOfMemoryError: Java heap space
WorkaroundIncrease the JVM max heap size by doing the following:
Open the anaconda-enterprise-ap-auth deployment spec by running the following command in a terminal:
Fetch changes behavior in Apache Zeppelin may not be obvious to new users
A Fetch changes notification appears, but the changes do not get applied to the editor. This is how Zeppelin works, but users unfamiliar with the editor may find it confusing.If a collaborator makes changes to a notebook that’s also open by another user, the user needs to pull the changes that the collaborator made AND click the small reload arrows to refresh their notebook with the changes (see below).
Affected versions5.2.2
Apache Zeppelin can’t locate conflicted files or non-Zeppelin notebook files
If you need to access files other than Apache Zeppelin notebooks within a project, you can use the %sh interpreter from within a Zeppelin notebook to work with files via bash commands, or use the Settings tab to change the default editor to Jupyter Notebooks or JupyterLab and use the file browser or terminal.Affected versions5.2.2
Create and Installer buttons are not visible on Channels page
When the Channels page is viewed initially, the Create and Installers buttons are not visible on the top right section of the screen. This prevents the user from creating channels or viewing a list of installers.WorkaroundTo make the Create and Installer buttons visible on the Channels page, perform one of the following steps:
Click on the top-level Channels navigation link again when viewing the Channels page.
Click on a specific channel to view its detail page, then return to the Channels page.
Affected versions5.2.1
Updating a package from the Anaconda metapackage
When updating a package dependency of a project, if that dependency is part of the Anaconda metapackage, the package will be installed once but a subsequent anaconda-project call will uninstall the upgraded package.WorkaroundWhen updating a package dependency, remove the anaconda metapackage from the list of dependencies at the same time you add the new version of the dependency that you want to update.Affected versions5.1.0, 5.1.1, 5.1.2, 5.1.3
File size limit when uploading files
Unable to upload new files inside of a project that are larger than the current restrictions:
IE 11 compatibility issue when using Bokeh in projects (including sample projects)
Bokeh plots and applications have had a number of issues with Internet Explorer 11, which typically result in the user seeing a blank screen.WorkaroundUpgrade to the latest version of Bokeh available. On Anaconda 4.4, the latest version is 0.12.7. On Anaconda 5.0, the latest version is 0.12.13. If you are still having issues, consult the Bokeh team or support.Affected versions5.1.0, 5.1.1, 5.1.2, 5.1.3
IE 11 compatibility issue when downloading custom Anaconda installers
Unable to download a custom Anaconda installer from the browser when using Internet Explorer 11 on Windows 7. Attempting to download a custom installer with this setup will result in an error that “This page can’t be displayed”.WorkaroundCustom installers can be downloaded by refreshing the page with the error message, clicking the “Fix Connection Error” button, or using a different browser.Affected versions5.1.0, 5.1.1, 5.1.2, 5.1.3
Project names over 40 characters may prevent JupyterLab launch
If a project name is more than 40 characters long, launching the project in JupyterLab may fail.WorkaroundRename the project to a name less than 40 characters long and launch the project in JupyterLab again.Affected versions5.1.1, 5.1.2, 5.1.3
Long-running jobs may falsely report failure
If a job (such as an installer, parcel, or management pack build) runs for more than 10 minutes, the UI may falsely report that the job has failed. The apparent job failure occurs because the session/access token in the UI has expired.However, the job will continue to run in the background. The job run history will indicate a status of “running job” or “finished job,” and the job logs will be accessible.WorkaroundTo prevent false reports of failed jobs from occurring in the UI, you can extend the access token lifespan (default: 10 minutes).To extend the access token lifespan, log in to the Workbench Authentication Center, navigate to Realm Settings > Tokens, then increase the Access Token Lifespan to be at least as long as the jobs being run (for example, 30 minutes).Affected versions5.1.0, 5.1.1, 5.1.2, 5.1.3
New Notebook not found on IE11
On Internet Explorer 11, creating a new Notebook in a Classic Notebook editing session may produce the error “404: Not Found”. This is an artifact of the way that Internet Explorer 11 locates files.WorkaroundIf you see this error, click “Back to project,” then click “Return to Session.” This refreshes the file list and allows IE11 to find the file. You should see the new notebook in the file list. Click on it to open the notebook.Affected versions5.0.4, 5.0.5
Disk pressure errors on AWS
If your Workbench instance is on Amazon Web Services (AWS), overloading the system with reads and writes to the directory /opt/anaconda can cause disk pressure errors, which may result in the following:
Slow project starts.
Project failures.
Slow deployment completions.
Deployment failures.
To verify whether disk pressure is the cause, check the logs:
List all nodes:
Copy
Ask AI
kubectl get node
Identify the node experiencing issues and view its log:
Copy
Ask AI
kubectl describe node <master-node-name>
If there is disk pressure, the log will display an error message similar to the following:
WorkaroundTo relieve disk pressure, you can add disks to the instance by adding another Elastic Block Store (EBS) volume. If the disk pressure is caused by a backup, move the backup files elsewhere (for example, to an NFS mount). See Backing up and restoring Workbench for more information.Steps to add disks:
Open the AWS console and add a new EBS volume provisioned to 3000 IOPS (for example, 500 GB).
If a disk pressure error occurs while backing up your configuration, the amount of data being backed up has likely exceeded the available storage space. This triggers the Kubernetes eviction policy and causes the backup to fail.To check your eviction policy, run the following commands on the master node:
Copy
Ask AI
sudo gravity entersystemctl status | grep "/usr/bin/kubelet"
WorkaroundRestart the backup process, specifying a location with sufficient space (for example, an NFS mount). See Backing up and restoring Workbench for more information.
General diagnostic and troubleshooting steps
Entering a Gravity Workbench environmentTo enter the Workbench environment and gain access to kubectl and
other commands within Workbench, use the command:
Copy
Ask AI
sudo gravity enter
Moving files and dataOccasionally you may need to move files and data from the host machine to the
Workbench environment. If so, there are two shared mounts to pass data back and
forth between the two environments:
If data is written to either of the locations, that data will be available on both
the host machine and within the Workbench environmentDebuggingAWS Traffic needs to handle the public IPs and ports. You should either use a
canonical security group with the proper ports opened or manually add the
specific ports listed in Network Requirements.Problems during air gap project migrationThe command anaconda-project lock over-specifies the channel list
resulting in a conda bug where it adds defaults from the internet
to the list of channels.Solution:Add to the .condarc: “default_channels”. This way, when conda adds
“defaults” to the command it is adding the internal repo server
and not the repo.continuum.io URLs.EXAMPLE:
LDAP error in ap-auth[LDAP: error code 12 - Unavailable Critical Extension]; remaining name 'dc=acme, dc=com'This error can be caused when pagination is turned on. Pagination is a server side extension and is
not supported by some LDAP servers, notably the Sun Directory server.Session startup errorsIf you need to troubleshoot session startup, you can use a terminal to view the
session startup logs. When session startup begins the output of the
anaconda-project prepare command is written to /opt/continuum/preparing,
and when the command completes the log is moved to
/opt/continuum/prepare.log.