Philip MacMenamin
08/10/2021, 1:57 PMprefect agent local start --api http://<server_IP>:4200
Philip MacMenamin
08/10/2021, 1:58 PMKevin Kho
prefect backend server
?Philip MacMenamin
08/10/2021, 2:05 PMKevin Kho
Philip MacMenamin
08/10/2021, 3:06 PMPhilip MacMenamin
08/10/2021, 3:10 PMPhilip MacMenamin
08/10/2021, 3:14 PMPhilip MacMenamin
08/10/2021, 3:15 PMKevin Kho
config.toml
to point to <VM-IP>:4200 instead of localhost:4200? This would be done for all machines trying to reach that server (agent or flow registration)Philip MacMenamin
08/10/2021, 3:49 PM$ cat .prefect/config.toml
api = "http://<server_IP>:4200"
Kevin Kho
config.toml
Philip MacMenamin
08/10/2021, 3:59 PM# cat ~/.prefect/config.toml
[server]
[server.ui]
apollo_url="http://<server_IP>:4200/graphql"
I stared the agent with
prefect agent local start --api http://<server_IP>:4200
I deleted the project with the CLI (on the machine running the agent), created the project and registered a flow to that project.
The agent is visible to the server, but there are no flows visible.Kevin Kho
Philip MacMenamin
08/10/2021, 4:16 PMKevin Kho
Kevin Kho
prefect diagnostics
?Philip MacMenamin
08/10/2021, 4:18 PMPhilip MacMenamin
08/10/2021, 4:19 PMroot@ip-172-20-10-198:/lib/python3.8/nih_3d_resource_workflows# prefect create project "NIH_3D"
NIH_3D created
root@ip-172-20-10-198:/lib/python3.8/nih_3d_resource_workflows# prefect register --project "NIH_3D" -p chimera_x_flow/
Collecting flows...
Processing 'chimera_x_flow/flow.py':
Building `Local` storage...
Registering 'ChimeraX_Flow'... Done
└── ID: 64c7c841-20ec-4d46-95a8-545485271344
└── Version: 1
======================== 1 registered ========================
Philip MacMenamin
08/10/2021, 4:22 PMroot@ip-172-20-10-198:~# prefect diagnostics
{
"config_overrides": {
"server": {
"ui": {
"apollo_url": true
}
}
},
"env_vars": [],
"system_information": {
"platform": "Linux-5.8.0-1035-aws-x86_64-with-glibc2.29",
"prefect_backend": "server",
"prefect_version": "0.15.3",
"python_version": "3.8.10"
}
}
Philip MacMenamin
08/10/2021, 4:24 PMKevin Kho
--use-volume
to persist the state. This all looks good though. Can I see a screenshot of your UI? Like the dashboard?Kevin Kho
[server]
endpoint = "<http://XX.XXX.XXX.XX:4200/graphql>"
Philip MacMenamin
08/10/2021, 7:22 PM