Description of problem: While 'pcs booth ticket add' validates a new ticket, 'pcs constraint ticket add' does not. This may lead to situations where a constraint is created for a ticket which cannot be added to booth configuration. Moreover, when creating a ticket constraint, a ticket is used as a part of the constraint id unsanitized. This may lead to an invalid CIB being dumped to the terminal. Version-Release number of selected component (if applicable): pcs-0.10.11-1 pcs-0.11.1-4 How reproducible: always, easily Steps to Reproduce: 1. pcs constraint ticket add "my super ticket" d1 Actual results: Error: Unable to update cib Call cib_apply_diff failed (-203): Update does not conform to the configured schema Expected results: An error message informing the user that the ticket name is not valid. Additional info: # pcs booth ticket add "my super ticket" Error: booth ticket name 'my super ticket' is not valid, use alphanumeric chars or dash
*** This bug has been marked as a duplicate of bug 2053177 ***