Skip to content

List endpoint does not return status #16

@peterjaap

Description

@peterjaap

When I run hypernode-brancher --list on the Hypernode itself, I get;

app@pup1zl-clientname-magweb-cmbl:~$ hypernode-brancher --list
+-----------------+----------+------------------------------+---------+
|       Name      |    IP    |             Host             | Minutes |
+-----------------+----------+------------------------------+---------+
| clientname-ephm7idlb | Creating | clientname-ephm7idlb.hypernode.io |    2    |
+-----------------+----------+------------------------------+---------+

Here it says "Creating", but when I request it through the API, I get this;

+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+
| Id    | Name            | Cost | Created                          | Ip | End_time | Elapsed_time | Labels           |
+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+
| 15806 | clientname-ephm7idlb | 3    | 2023-03-27T17:01:38.760548+02:00 |    |          | 139          | 34-test-dit-eens |
+-------+-----------------+------+----------------------------------+----+----------+--------------+------------------+

It doesn't say "Creating" anywhere. Are you just assuming that it is "Creating" when no IP has been found yet? Or is it a separate value that isn't disclosed through the API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions