Project

General

Profile

Bug #16307

Updated by Chris Duryee about 3 years ago

If you specify a product with the product's name instead of ID, it will fail. For example, after creating a product "AA" and adding a single yum repo named 'ee':

<pre>

```
$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand'
Could not update the repository:
Error: Could not find organization. Some search options were missing, please see --help.
</pre> ```

However, specifying the organization fails:

<pre> ```
$ hammer --username admin --password changeme repository update --name ee --product 'AA' --download-policy 'on_demand' --organization-id 1
Could not update the repository:
Error: Unrecognised option '--organization-id'
</pre> ```

Back