Azure / Azure/azure-cli

az ml job stream does not work

Open
#27,363 6 comments 0 reactions 1 assignee Claimed by @banibrata View on GitHub
act-codegen-extensibility-squad Auto-Assign bug customer-reported Machine Learning Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

I have a job running on Azure ML. I can see the logs on ml.azure.com, but I wish to see live logs on the terminal.

I tried running `az ml job stream`, but I don't see any outputs.

```shell
$ az ml job stream --name --resource-group --workspace-name
Class WorkspaceHubOperations: This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
RunId: gray_pig_knyllgjbkl
Web View: https://ml.azure.com/runs/?wsid=/subscriptions//resourcegroups//workspaces/
```

### Related command

`az ml job stream`

### Errors

The command does not fail. It just outputs nothing.

### Issue script & Debug output

The output is huge with a lot of sensitive data, Can provide later if needed.

### Expected behavior

I should be able to see the logs in real time. Ideally I should be able to choose which logs to stream

### Environment Summary

```
azure-cli 2.52.0

core 2.52.0
telemetry 1.1.0

Extensions:
ml 2.20.0

Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2

Python location '/opt/az/bin/python3'
Extensions directory '/home/ubuntu/.azure/cliextensions'

Python (Linux) 3.10.10 (main, Aug 31 2023, 09:13:53) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.
```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.