-
Notifications
You must be signed in to change notification settings - Fork 46
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
Equinix recklessly EOLing APIs without providing an alternative #277
Comments
Talking with some good folks on the equinix Slack, it seems that this is the API incorrectly reporting the error to |
The Equinix Metal API is returning Deprecation + Sunset headers as a way to inform users of usage patterns that will be affected by scheduled (or already applied) changes. The relevant deprecation (per the warnings printed in the PR description):
Updates such as these can be found in the Equinix Metal console on the notification bell: Metal CLI (and other Equinix Metal tools) have been taking advantage of this feature to report those errors in a user-visible way. If From this report, I can see a need for metal-cli to suppress these messages. This can be done by the user by redirecting stderr elsewhere, but that risks missing other warnings and status responses. In the case of this specific API Deprecation notice, I do not believe we should be seeing that from For new Equinix Metal users who have metro provisioning features alone, this API call ( I'll report this back to the engineering team that can address this concern. |
Related to this |
This has been addressed upstream. In some cases, the API was reporting deprecation even when |
What happened?
Using the metal cli client, when I call
metal virtual-network get -p <project>
I get an error that the interface is deprecated and will be removed soon. The URL that it references does not explain what alternative API exists or I should be using.The "by facilities hello again metros" document does not provide any guidance about what to do with
virtual-network
.How can we reproduce it?
Run
metal virtual-network get -p <project>
.CLI version (
metal --version
):] metal --version
metal version v0.14.1
I'm trying to update my code to use metros instead of facilities, but I'm being told that what I'm doing is wrong without any guidance for an alternative.
The VLAN API documentation (https://deploy.equinix.com/developers/api/metal/#tag/VLANs) does not indicate in any way that the API endpoint is deprecated, nor does it suggest any alternative.
The text was updated successfully, but these errors were encountered: