Skip to content

[Bug Bash] quota_check.md documentation missing instructions. #374

Closed
@nitya

Description

@nitya

File: quota_check.md

The repo README.md instructs us to check quota with this script.

Problem 1: Script location

  1. The quota_check.md asks us to run ./quota_check_params.sh.
  2. It should ask us to run ./scripts/quota_check_params.sh since we are in root of repo.

Enhancement 2: Azure login

  1. Neither repo nor quota_check.md specify that you should be logged into Azure before running the script.
  2. This means your first run will always result in an error (especially if using Codespaces). Here is the sample input from my run
./scripts/quota_check_params.sh 
🔄 Fetching available Azure subscriptions...
WARNING: Please run "az login" to access your accounts.
❌ ERROR: No active Azure subscriptions found. Please log in using 'az login' and ensure you have an active subscription.

Suggestion:

  1. Add a step before asking user to login using az login
  2. Make a note that if this is run in Codespaces, it will automatically use the device code auth flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions