Imaging - symptoms
Here are some symptoms and their possible causes
The computer boots over the network but nothing happens
The computer cannot load ipxe from the Imaging server.
Check the status of the tftp-hpa service on the affected server.
The computer displays a menu, but nothing happens when an entry is selected
This issue occurs when information is missing during menu generation. For example, the path to the davos image to be loaded is incomplete, etc.
- Check the contents of the default menu via the URL (replace <srv> with the IP address or DNS of the package-server):
https://<srv>/mmc/imaging/bootmenu.php?debug=1(see an example of a functional menu). -
Verify that the URLs are properly formatted. Example of an incorrectly formatted URL
:register set url_path http://${next-server}/downloads//Should be::register set url_path http://${next-server}/downloads/davos/ - Check the contents of the computer-specific menu:
https://<srv>/mmc/imaging/bootmenu.php?debug=1&srv=<ip_public>&uuid=<uuid_machine>&srvuuid=<uuid_package_server>(see an example of a computer-specific menu).- <srv> = server to contact
- <uuid> = computer UUID; this can be found in the inventory. If the computer is not registered, its UUID is not available.
- <srvuuid> = package-server UUID. This UUID is available in the file:
/etc/mmc/pulse2/package-server/package-server.ini.local
Server information not found: The package-server UUID may have been changed.
The computer initiates the register action but does not show up.
This is one of the most complicated scenarios to handle because this error can be caused by any link in the inventory transfer chain, whether during transmission or reception.
- davos generates inventory
- The inventory is not generated
- davos pushes the inventory to <srv>/var/lib/pulse2/imaging/inventories
- The inventory is not saved in <srv>/var/lib/pulse2/imaging/inventories/<mac>.xml
=> Follow the imaging davos debug documentation
pulse2-register-pxeintercepts the inventory and sends it topulse2-package-serverpulse2-register-pxeis not runningpulse2-register-pxegenerates a tracebackpulse2-register-pxeis not sending the inventory topulse2-package-server
systemctl restart pulse2-register-pxe
pulse2-package-serversends the inventory tomessage-senderpulse2-package-serveris not running
systemctl restart pulse2-package-server
-
pulse2-package-servergenerates a traceback
Check the logs in mmc (on the main server): tail -f /var/log/mmc/mmc-agent.log
message-sendersends it to substitut-inventorymessage-senderis called but does not send the inventory
Check the [connection] section of the configuration files /etc/mmc/pulse2/package-server/package-server.ini and /etc/mmc/pulse2/package-server/package-server.ini.local
- substitut-inventory sends it to the inventory collector (glpi / itsm-ng/ ...)
- substitut-inventory is not running (main server)
systemctl restart pulse-xmpp-master-substitute-inventory.service
-
- substitut-inventory does not accept the inventory
For more information, feel free to visit this documentation.
My computer registers with the correct Imaging server but not in the correct entity
It is possible for a computer to register with the correct Imaging server but not in the correct entity. Check the entity association rules in GLPI.
For dedicated SaaS: In GLPI > Administration > Inventory > Default entity, verify that the default entity is the one to which the relay is attached. For example: The relay reports its information to Medulla, but the user has access to the Medulla > Sub entity.
In this specific case, the user cannot see their computers in the Medulla entity.
My Imaging server is properly associated but is not accessible in the interface
- This may be because the
pulse2-package-serverservice is stopped. - the package-server’s UUID has been changed
- xmlrpc communication cannot be established between the package-server and the main server
- the package-server has been associated with another entity
I’m trying to create a backup, but it fails
- Check disk space
- Check the image creation logs in src:/var/lib/pulse2/imaging/masters/<uuid_master>/davos.log for more details
I’m restoring an image, but my sysprep isn’t running
To run a sysprep after restoring an image, you must create a post-installation script and associate it with the master on the computer’s menu. The script must copy the sysprep file you created.