Skip to content

az ml does not work for normal user, but works for super user #519

Open
@Mangaleshwar

Description

Describe the bug
A clear and concise description of what the bug is.
az ml --help does not work for normal user in MSML RHEL VM. But running the command with sudo works.

[azureuser@MLRHEL72 ~]$ az ml admin --help
az: error: argument _command_package: invalid choice: ml
usage: az [-h] [--verbose] [--debug] [--output {tsv,table,json,jsonc}]
[--query JMESPATH]

      {aks,backup,redis,network,cosmosdb,batch,iot,dla,group,webapp,acr,dls,storage,mysql,vm,reservations,account,keyvault,sql,vmss,eventgrid,managedapp,ad,advisor,postgres,container,policy,lab,batchai,functionapp,identity,role,cognitiveservices,monitor,sf,resource,cdn,tag,feedback,snapshot,disk,extension,acs,provider,cloud,lock,image,find,billing,appservice,login,consumption,feature,logout,configure,interactive}
      ...

[azureuser@MLRHEL72 ~]$ sudo az ml admin --help

Group
az ml admin: Configure Machine Learning Server.
Perform administration tasks to configure nodes, set up the system, and run diagnostic and
capacity tests for Machine Learning Server. To get started run 'az ml admin bootstrap' for a
convenient all in one command which prepares a one-box installation and runs basic
diagnostics operations to assess the general health of the configuration. To reset the
machine back to the default install state run 'az ml admin node reset'.

To Reproduce
Steps to reproduce the behavior.

  1. Deploy "Microsoft Machine Learning Server 9.3.0 on Red Hat Enterprise Linux 7.2" from Azure marketplace
  2. Run az ml --help as normal user and sudo user

Expected behavior
A clear and concise description of what you expected to happen.
az ml should work for normal user as well.

Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
Microsoft Machine Learning Server 9.3.0 on Red Hat Enterprise Linux 7.2 deployed from Azure marketplace. But the OS version shows as RHEL 7.4 after logging in.

Additional context
Add any other context about the problem here.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions