-
Notifications
You must be signed in to change notification settings - Fork 150
Fleet Adapter Troubleshooting
The following are some tips to help debug any issues encountered with the Panamax Remote Agent and Adapters. You will also find tips on how to verify your running applications post-deployment.
If you encounter an error on the GUI, its not always obvious what the underlying issue it. We are working to bubble up more useful error messages and warnings, but for the time being, here are some tips.
First off, check out the caveats for each supported adapter and orchestrator. Consideration needs to be taken when creating and launching a template in Panamax as to which Adapter you will ultimately be deploying to. Certain behaviors and rules apply that will affect your base template creation, including image configuration and docker options.
Currently, errors can appear on the GUI without much explanation of the underlying issue/error. Viewing the docker logs on the PMX-Agent and PMX-Adapter containers can provide some insight into the problem. Here are the steps to view these:
- SSH into your Remote Agent node (the node you have installed the remote agent and adapter on)
- Switch to root:
$ sudo su
- Run:
$ docker logs pmx_agent
to output the logs of the PMX Agent - Run:
$ docker logs pmx_adapter
to output the logs of the PMX Adapter
The Panamax client GUI provides statuses for your running services, passing the "raw" status messages from your orchestrator in the deployment detail page. You can also view these and other useful information in the orchestrator directly.
To manually check your service statuses and other orchestrator specific data, following these steps:
- SSH into one of your CoreOS nodes in your cluster
- Run:
$ fleetctl list-units
- You should see similar output:
UNIT MACHINE ACTIVE SUB
[email protected] b457792b.../10.240.xxx.xxx active running
[email protected] 61eaf19d.../10.240.xxx.xxx active running
[email protected] 3f38918e.../10.240.xxx.xxx active running
mysql.service 3f38918e.../10.240.xxx.xxx active running
###Accessing your application with Fleet Fleet does not have a built in proxy, so you can access each node using the IP assigned for the service. A separate proxy, like centurylink/haproxy-etcd is required for load balancing. Since the `fleetctl list-units' command shows private IPs, you need to find the publicly exposed IP for that node. You can typically find this info in your cloud providers console.
NOTE: Make sure you have this node in your cluster available to the internet, including the correct port. The port should match the container to host port binding found in your Panamax template
- The Panamax project is provided under the Apache 2.0 license by CenturyLink