Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Files do not show up under Allocation Info > Files #562

Open
metroidprototype opened this issue Apr 16, 2020 · 0 comments
Open

Files do not show up under Allocation Info > Files #562

metroidprototype opened this issue Apr 16, 2020 · 0 comments

Comments

@metroidprototype
Copy link

Seems to be possibly related to issue #398

HashiUI v1.3.8
Nomad v0.10.3

Screen Shot 2020-04-16 at 12 00 21 PM

The file listing has just stopped working in one of our environments and I am unsure why. In other environments this is still working with the same versions running.

Debug logs from hashi ui when this page is loaded:

time="2020-04-16T15:58:01Z" level=debug msg="transport: connection created" connection_id=dbc77fe6
time="2020-04-16T15:58:01Z" level=debug msg="Starting connection handler" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:01Z" level=debug msg="Starting keep-alive packer sender" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="Processing event NOMAD_FETCH_REGIONS (index 0)" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="Processing event NOMAD_WATCH_ALLOC (index 0)" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=info msg="Started watching /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=info msg="Started running /regions" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=info msg="Stopped running /regions" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info] Sending 1 replies" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="Processing event NOMAD_WATCH_ALLOCATION_HEALTH (index 0)" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=info msg="Started watching /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="Processing event NOMAD_WATCH_NODES (index 0)" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=info msg="Started watching /nodes/list" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/nodes/list] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520] Sending 1 replies" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:02Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:11Z" level=debug msg="Sending keep-alive packet" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:11Z" level=info msg="WaitGroups: 4 | Subscriptions: /internal/keep-alive, /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info, /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520, /nodes/list" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:19Z" level=error msg="No longer subscribed to /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520" connection_id=0800ee56 source=connection
time="2020-04-16T15:58:19Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520] Sending 1 replies" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:19Z" level=debug msg="[/allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520] Running task" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:21Z" level=debug msg="Sending keep-alive packet" connection_id=dbc77fe6 source=connection
time="2020-04-16T15:58:21Z" level=info msg="WaitGroups: 4 | Subscriptions: /internal/keep-alive, /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/info, /allocation/faaff8f7-929a-5300-17d1-d5bde6219bbc/health?client=c603a03d-5793-3b1a-ed33-9e911b926520, /nodes/list" connection_id=dbc77fe6 source=connection

debug logs on the nomad client when this page is loaded:

2020-04-16T16:03:21.349Z [DEBUG] http: request complete: method=GET path=/v1/agent/health?type=client duration=241.605µs

I never see the call for client/fs/ls on the allocation hit the client node in these cases. If I manually hit the nomad api directly from the hashi-ui container is does respond correctly to the fs/ls call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant