microsoft / microsoft/pai

Using relative path in `quick-start-kubespray.sh` will cause error

Open
#4,518 1 comment 0 reactions 1 assignee View on GitHub

@hzy46 is already working on this.

Since Jul 9, 2020.

C-SHAIIC
Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

In quick start script:

/bin/bash quick-start-kubespray.sh -m /path/to/master.csv -w /path/to/worker.csv -c /path/to/config

If /path/to/master.csv or other path is a relative path, k8s-generator.py will report an error:

image

After this error, the script doesn't stop. It will end up with an error saying it cannot find hosts.yml

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.