Repository navigation
Replies: 1 comment
Not on the server, no. However, on the client side having a network printer disappear and then reappear with a new UUID will cause problems. cups-browsed adds a layer of complexity and will happily delete local queues (and any local jobs) as soon as the remote queues go away...
See above.
You may not be able to using cups-browsed.
That would be a question for the cups-browsed project... |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Do print jobs in CUPS rely on printer UUID or ID, and what happens if they change after pod restart using cups-browsed with PVC?
We are running a CUPS setup inside Kubernetes using cups-browsed for printer discovery and auto-configuration. Our setup uses Persistent Volume Claims (PVCs) to retain the following data across pod restarts:
/etc/cups/printers.conf
/var/spool/cups
We observed that when the client pod is deleted and recreated:
The printer ID or UUID changes (as seen in the printers.conf file).
The previously queued print jobs (which were in the var/spool/cups directory) do not resume printing or get reassigned to the new printer instance, even though the printer name appears the same.
Do print jobs in CUPS get associated internally with the printer's UUID or ID instead of just the printer name?
If yes, does changing the printer UUID or ID (which can happen via cups-browsed on pod recreation) break the link between existing print jobs and their destination printer?
How can we ensure print jobs persist correctly and continue printing after pod restarts when using cups-browsed for discovery?
Is there a way to force cups-browsed to maintain the same UUID/ID or preserve mapping to resume jobs reliably?
Any insights on how to handle this in a Kubernetes environment with cups-browsed and persistent storage would be appreciated.
All reactions