hammer os list fails with default organization set
Description of problem:
When a default organization is set `hammer os list` returns "Association not found for organization. Removing the organization default results in the OS list returning.
Version-Release number of selected component (if applicable): 6.4.0-15
Steps to Reproduce:
1. Execute `hammer defaults add --param-name organization_id --param-value 1
2. Execute `hammer os list`
Command returns with "Association not found for organization"
List of operating systems:
The expected result is returned if the default organization id is removed; however, this results in a change in behavior from 6.2.15, the previous release we used. Alternatively, if there is an argument to pass to hammer to either specify an organization-id of null or to ignore defaults.yml, it would allow us to avoid significantly rewriting our deployment automation.
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|28331a3d532b596ede3d303efc4ba818c4a7e33c.