Project

Profile

Help

Story #1896

Updated by bmbouter almost 8 years ago

If you want This command should cause a request to remove all units of the server but instead fails due to a specific type from a specific repo (for instance langpacks) you might try to do: validation problem: 

 <pre> 
 pulp-admin rpm repo remove langpacks --repo-id repo_8 
 </pre> 

 The above command should cause a request to the server, but it instead fails due to a validation problem. To get around that validation issue, you have to add one of the filtering parameters. For example the --str-eq parameter. If you add that then this will work: 

 
 <pre> 
 pulp-admin rpm repo remove langpacks --repo-id repo_8 --str-eq="repo_id=repo_8" 
 </pre> 

 Instead I expect the first command listed here should work because other commands (such as content search) have the same filtering interface, but if only --repo-id is specified assumes all content units of having to form a --str-eq field, it would be great if the --all could be used like this: that type are removed. For example this works: 

 <pre> 
 pulp-admin rpm repo remove content langpacks --repo-id repo_8 --all 
 </pre>

Back