Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiup-cluster: auto-detect architecture #1397

Open
kolbe opened this issue Jun 3, 2021 · 3 comments
Open

tiup-cluster: auto-detect architecture #1397

kolbe opened this issue Jun 3, 2021 · 3 comments
Assignees
Labels
type/feature-request Categorizes issue as related to a new feature.

Comments

@kolbe
Copy link
Contributor

kolbe commented Jun 3, 2021

Feature Request

Is your feature request related to a problem? Please describe:

Why do we require administrators to manually specify the architecture for each host in the cluster definition?

Describe the feature you'd like:

We should auto-detect the architecture by default.

If an explicit architecture is given, we should use that architecture instead of auto-detecting (in case there's some reason to want the OS to emulate/translate execution).

Why the featue is needed:

It is much easier for TiUP to execute uname -m or the equivalent after connecting to each host than for the administrator to have to manually configure the architecture.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@kolbe kolbe added the type/feature-request Categorizes issue as related to a new feature. label Jun 3, 2021
@9547
Copy link
Contributor

9547 commented Jun 7, 2021

Technically, this is a good feature request, but currently, we need to download the binary packages first, especially in the offline scenario, if the CPU architecture is not specified, then we need to download all the CPU arch packages, maybe huge and slow? On the other hand, I'm not sure whether or not with mixed deployments of different CPUs are currently supported(not related to this issue).

@kolbe
Copy link
Contributor Author

kolbe commented Jun 7, 2021

TiUP downloads all kinds of stuff "automatically" when some local package is missing, why not just do that at the time that it connects to each node during the cluster deploy phase?

@9547
Copy link
Contributor

9547 commented Jun 12, 2021

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants