Diagnosis of ABORT and ERROR deployment errors
When a Medulla deployment ends with a status such as ABORT or ERROR, the status label usually helps identify the type of problem encountered.
This page outlines the main Medulla deployment errors, their meanings, and the initial checks to perform.
Note:
Before taking any action, review the deployment audit details. The message displayed in the audit often provides more specific information than the status alone.
1. Troubleshooting method
When a deployment fails, we recommend proceeding in the following order:
- identify the exact status of the deployment;
- review the associated message in the audit;
- determine whether the issue involves the computer, the relay, the package, or its execution;
- perform the checks corresponding to the status;
- correct the cause before restarting the deployment.
| Family | Examples |
|---|---|
| Computer unavailable | ABORT ON TIMEOUT, ABORT MACHINE DISAPPEARED |
| Medulla agent | ABORT MISSING AGENT |
| Relay server | ABORT RELAY DOWN, ABORT ALTERNATIVE RELAYS DOWN, ABORT INFO RELAY MISSING |
| Package | ABORT PACKAGE IDENTIFIER MISSING, ABORT PACKAGE NAME MISSING, ABORT PACKAGE VERSION MISSING, ABORT DESCRIPTOR MISSING |
| Workflow / execution | ABORT PACKAGE WORKFLOW ERROR, ABORT PACKAGE EXECUTION ERROR |
| Transfer | ABORT TRANSFER FAILED, ERROR TRANSFER FAILED |
| Dependency | ABORT MISSING DEPENDENCY |
| Duplicate computer | ABORT DUPLICATE MACHINE |
| Cancellation | ABORT DEPLOYMENT CANCELLED BY USER, ABORT PACKAGE EXECUTION CANCELLED |
2. ABORT ON TIMEOUT
The status:
ABORT ON TIMEOUT
indicates that the deployment could not be completed within the allotted time.
This behavior may occur, for example, when:
- the computer does not come back online despite Wake on LAN attempts;
- the computer remains unavailable until the end of the deployment window;
- the relays are busy and the deployment window is too short.
Verify that the computer is available
Start by verifying that the computer is actually accessible on the network.
ping MACHINE_IP
Check the computer’s last known status in Medulla
In the xmppmaster database, the computer’s last known status can be found in the uptime_machine table.
SELECT *
FROM uptime_machine
WHERE hostname = "MACHINE_NAME"
ORDER BY id DESC
LIMIT 1\G;
The status field indicates the known status:
1: computer considered to be online;0: computer is considered powered off.
The updowntime field provides an indication of how long the computer has been in that state.
A related message might be:
Deployment error in fifo: timed out
3. ABORT MISSING AGENT
The status:
ABORT MISSING AGENT
indicates that Medulla is attempting to deploy to a computer known in the inventory, but for which the Medulla agent has never been properly registered.
For example, the computer may be present in GLPI but has not been properly reported to Medulla.
Recommended actions
- verify that the Medulla agent is installed on the computer;
- verify that the Medulla service is running;
- check the agent logs;
- reinstall the agent if necessary.
Note:
If the computer appears in the inventory but is never reported via the Medulla agent, the issue must be resolved at the agent installation or registration level before restarting the deployment.
4. ABORT RELAY DOWN
The status:
ABORT RELAY DOWN
indicates that the relay server assigned to the computer is unavailable.
Check the relay
ping RELAY_IP
If SSH access is enabled:
ssh root@RELAY_IP
Check its status in Medulla
The last known status can be viewed in the uptime_machine table.
SELECT *
FROM uptime_machine
WHERE hostname = "RELAY_NAME"
ORDER BY id DESC
LIMIT 1\G;
Also check whether the relay is enabled:
SELECT id, nameserver, enabled
FROM relayserver;
The enabled field indicates whether the relay can still be offered to computers.
Caution:
Any direct modification to the Medulla database must be performed with caution and only after a backup has been made. An error during modification can cause the assignment of computers to relays to become inconsistent.
5. ABORT ALTERNATIVE RELAYS DOWN
The status:
ABORT ALTERNATIVE RELAYS DOWN
indicates that none of the alternative relay servers available for the computer are currently accessible.
It is recommended to check:
- the availability of the alternative relays;
- their network connectivity;
- their Medulla services;
- their presence and status in Medulla.
6. ABORT INFO RELAY MISSING
The status:
ABORT INFO RELAY MISSING
indicates that the relay associated with the computer is no longer correctly configured or no longer exists.
This situation may occur, for example, if a relay has been deleted or modified while computers are still associated with it.
Check the computer’s assignment
The computer’s groupdeploy field must contain the relay used for its deployment.
If this field is empty or points to a relay that no longer exists, the assignment must be corrected.
Caution:
Directly editing the groupdeploy field in the database should be reserved for administrators familiar with the Medulla architecture and the configuration of their relays.
7. ERROR UNKNOWN ERROR
The status:
ERROR UNKNOWN ERROR
indicates an error for which Medulla does not have a more specific cause listed in the status.
In this case, first check:
- the complete deployment audit;
- the deployment logs;
- the agent logs on the target computer;
- the logs of the relevant relay server.
Important:
The operations guide used as a reference does not provide a specific corrective procedure for ERROR UNKNOWN ERROR. The diagnosis must therefore be based on the audit and logs corresponding to the deployment in question.
8. ABORT PACKAGE IDENTIFIER MISSING
The status:
ABORT PACKAGE IDENTIFIER MISSING
indicates that the package’s UUID is missing.
The file to check is:
xmppdeploy.json
You can find the package’s UUID in the information available in the deployment audit, then verify its presence in the file:
grep -i "uuid" /var/lib/pulse2/packages/sharing/global/PACKAGE_UUID/xmppdeploy.json
If the UUID key is missing, it is recommended that you recreate the package.
9. ABORT PACKAGE NAME MISSING
The status:
ABORT PACKAGE NAME MISSING
indicates that the package name is missing.
This behavior may indicate, in particular, that the package was created incorrectly.
The package information is stored in:
xmppdeploy.json
If this file is missing or incomplete, it is recommended that you recreate the package.
10. ABORT PACKAGE VERSION MISSING
The status:
ABORT PACKAGE VERSION MISSING
indicates that the package version is missing.
As with ABORT PACKAGE NAME MISSING, check the contents of:
xmppdeploy.json
If the package information is incomplete, it is recommended that you recreate the package.
11. ABORT PACKAGE WORKFLOW ERROR
The status:
ABORT PACKAGE WORKFLOW ERROR
indicates an inconsistency or error in the package’s workflow.
This issue can occur, for example:
- when a workflow step is missing;
- if the
xmppdeploy.jsonfile is incorrect; - if the expected operating system descriptor is missing;
- if the execution graph cannot be initialized.
The associated documented messages include:
Package error: descriptor for OS %s missing
Descriptor inconsistency error
Error initializing grafcet
In this case, check the package and its workflow.
If the package was created or modified incorrectly, it is recommended that you recreate it.
12. ABORT DESCRIPTOR MISSING
The status:
ABORT DESCRIPTOR MISSING
indicates that the package descriptor is missing.
Check the package’s contents, particularly the information in:
xmppdeploy.json
Note:
The provided Medulla operations guide identifies this status but does not document a more detailed corrective procedure. If the descriptor is missing or if the package is inconsistent, recreating the package is the recommended action in similar documented cases.
13. ABORT MACHINE DISAPPEARED
The status:
ABORT MACHINE DISAPPEARED
indicates that the computer was initially online but became unavailable during deployment.
Check the agent logs
On a Windows computer, check:
C:\Program Files\Medulla\var\log\xmpp-agent-machine.log
A message such as:
INFO -(LAUNCHER)We start a reconfiguration of the medulla agent
indicates that the Medulla agent has just started or is initiating a reconfiguration.
Check the following in particular:
- whether the computer has restarted;
- whether the MedullaAgent service has restarted;
- whether the agent is repeatedly reconfiguring itself;
- whether network connectivity has been interrupted.
14. ABORT DEPLOYMENT CANCELLED BY USER
The status:
ABORT DEPLOYMENT CANCELLED BY USER
indicates that the deployment was intentionally canceled by a user.
Therefore, this is not necessarily a technical error.
Note:
Before performing a technical diagnosis, verify whether the cancellation was intentional.
15. ABORT PACKAGE EXECUTION ERROR
The status:
ABORT PACKAGE EXECUTION ERROR
indicates that one of the commands executed by the package failed.
The issue therefore primarily concerns the execution of the package’s contents on the target computer.
For example, a command may work on one computer but fail on another depending on:
- the system version;
- local configuration;
- permissions;
- whether a file or program is present;
- the runtime environment.
View the command output
It is recommended to display the complete command output in the deployment audit to identify the error returned by the computer.
Documented messages include, among others:
Package execution error
Package delayed execution error
Deployment aborted: inventory error
Recommendation:
When creating or editing a package, enable the display of the full output when you need to troubleshoot a command. The output will then appear in the deployment audit.
16. ABORT DUPLICATE MACHINE
The status:
ABORT DUPLICATE MACHINE
indicates that multiple computers have the same identifier.
This issue can occur, for example, after remastering or duplicating a computer when the old entry still exists in Medulla.
Search for duplicates in Medulla
SELECT uuid_inventorymachine, hostname, COUNT(*) AS machine_count
FROM machines
GROUP BY uuid_inventorymachine
HAVING COUNT(*) > 1;
To search for a hostname only:
SELECT uuid_inventorymachine, hostname, COUNT(*) AS machine_count
FROM machines
WHERE hostname = 'MACHINE_NAME'
GROUP BY uuid_inventorymachine
HAVING COUNT(*) > 1;
Search for duplicates in GLPI
SELECT id, name AS hostname, COUNT(*) AS machine_count
FROM glpi_computers
GROUP BY name
HAVING machine_count > 1;
In the process described in the operations guide, the GLPI identifier corresponds to the uuid_inventorymachine field in the xmppmaster database.
Caution:
Do not delete a computer directly from the database without first positively identifying the duplicate entry and verifying that it matches the entry in GLPI.
17. ABORT TRANSFER FAILED
The status:
ABORT TRANSFER FAILED
indicates that the package files could not be transferred to the target computer.
The operations guide specifically mentions possible issues with:
rsynctransfer;curldownloads;- package availability;
- the relay server.
A related message might be:
Transfer error: curl download
Refer to the detailed message available in the audit to identify the specific cause.
Note:
A transfer failure occurs before the package commands are executed. Therefore, you should first diagnose the package’s transfer path rather than its contents.
18. ERROR TRANSFER FAILED
The status or message:
ERROR TRANSFER FAILED
may be associated with the following message:
Transfer error: Package Server does not have this package
This message indicates that the package server used for deployment does not have the requested package.
Check:
- that the package still exists;
- that it is available on the expected package server;
- that it has been successfully synchronized to the relevant relay.
19. ABORT PACKAGE EXECUTION CANCELLED
The status:
ABORT PACKAGE EXECUTION CANCELLED
indicates that the package execution has been canceled.
The operations guide states that this situation may occur, in particular, during a deferred deployment when the expected conditions are not met.
An associated message may be:
Package delayed execution cancelled
20. ABORT MISSING DEPENDENCY
The status:
ABORT MISSING DEPENDENCY
indicates that a dependency required by the package is missing.
In particular, the package may reference another package that has since been deleted.
The associated message may be:
Deployment error: missing dependency
Recommended action
Check the dependencies configured in the package and make sure that all required packages still exist.
21. Quick diagnostic table
| Error | Main cause | Initial check |
|---|---|---|
ABORT ON TIMEOUT |
Computer unavailable or window expired | Check that the computer is online |
ABORT MISSING AGENT |
Agent absent or not registered | Check the Medulla agent |
ABORT RELAY DOWN |
Relay unavailable | Test the relay |
ABORT ALTERNATIVE RELAYS DOWN |
No alternative relay available | Check the alternative relays |
ABORT INFO RELAY MISSING |
Relay assignment missing or invalid | Check the relay assignment |
ERROR UNKNOWN ERROR |
Unidentified error | Check audit and logs |
ABORT PACKAGE IDENTIFIER MISSING |
Missing UUID | Check xmppdeploy.json |
ABORT PACKAGE NAME MISSING |
Missing package name | Check the package |
ABORT PACKAGE VERSION MISSING |
Version missing | Check the package |
ABORT PACKAGE WORKFLOW ERROR |
Incorrect workflow | Check xmppdeploy.json and the steps |
ABORT DESCRIPTOR MISSING |
Descriptor missing | Check the package |
ABORT MACHINE DISAPPEARED |
Computer became unavailable | Check the agent logs |
ABORT DEPLOYMENT CANCELLED BY USER |
Intentional cancellation | Check the deployment history |
ABORT PACKAGE EXECUTION ERROR |
Package command error | Read the command output in the audit |
ABORT DUPLICATE MACHINE |
Duplicate computer | Check Medulla and GLPI |
ABORT TRANSFER FAILED |
Transfer failed | Read the detailed message in the audit |
ERROR TRANSFER FAILED |
Package missing from the package server | Check package availability |
ABORT PACKAGE EXECUTION CANCELLED |
Execution canceled | Check deployment conditions |
ABORT MISSING DEPENDENCY |
Missing dependency | Check the package’s dependencies |
22. Information to gather before opening a support ticket
If the problem persists, note at least the following:
- the name of the affected computer;
- the exact deployment status;
- the full message available in the audit;
- the package name;
- the relay server used;
- the date and time of the deployment;
- the agent logs when the issue involves the computer;
- the server logs corresponding to the affected component.
Recommendation:
Troubleshooting a Medulla deployment should always begin by checking the exact status and the message available in the audit. Most errors can then be classified into four main categories: computer, relay, transfer, or package. This classification allows you to quickly focus your checks on the correct component.