Personal tools
     DOCUMENTATION

TECHTIP:How to Troubleshoot Entitlement-related Problems

From rPath Wiki

Jump to: navigation, search
TECHTIP
Topic: Entitlement Service Applies to: Conary 1.1.28 and previous


If an entitlement is set wrong, Conary 1.1.28 (and previous versions) returns:

conary.repository.errors.OpenError: Error occurred opening repository <url>: Insufficient permission to access server <server>.

The exception type is the same as returned when the client cannot connect to the server for any other reason, such as host not found. In Python, the client must now parse the error string to determine whether it's an entitlement/permissions problem.

This has been fixed in Conary 1.1.29 and subsequent versions by displaying a unique exception for entitlement/permissions problems. It is now easier to differentiate between a network problem and an entitlement/permissions problem.