You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nomad nodes-status [node] should return a better formatted output if values are not found or not-applicable.
For example, if the AWS instance running the client does not contain a public IP it currently returns:
$ nomad node-status [node]
ID = 27b007ac-6271-f166-f2c1-9e16be923e6e
Name = 0baca28c8653
...
Attributes =
...
platform.aws.public-hostname:<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>404 - Not Found</title></head><body><h1>404 - Not Found</h1></body></html>, platform.aws.public-ipv4:<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>404 - Not Found</title></head><body><h1>404 - Not Found</h1></body></html>
...
The output could be much cleaner if it showed platform.aws.public-hostname:n/a and platform.aws.public-ipv4:n/a instead, and same for any applicable fields that can't fetch a valid value.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
nomad nodes-status [node]
should return a better formatted output if values are not found or not-applicable.For example, if the AWS instance running the client does not contain a public IP it currently returns:
The output could be much cleaner if it showed
platform.aws.public-hostname:n/a
andplatform.aws.public-ipv4:n/a
instead, and same for any applicable fields that can't fetch a valid value.The text was updated successfully, but these errors were encountered: